mujammil131 commited on
Commit
05c8a4c
1 Parent(s): cee185e

Upload ConvNextForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +64 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/convnext-base-224-22k",
3
+ "architectures": [
4
+ "ConvNextForImageClassification"
5
+ ],
6
+ "depths": [
7
+ 3,
8
+ 3,
9
+ 27,
10
+ 3
11
+ ],
12
+ "drop_path_rate": 0.0,
13
+ "hidden_act": "gelu",
14
+ "hidden_sizes": [
15
+ 128,
16
+ 256,
17
+ 512,
18
+ 1024
19
+ ],
20
+ "id2label": {
21
+ "0": "AMD",
22
+ "1": "Cataract",
23
+ "2": "Diabetes",
24
+ "3": "Glaucoma",
25
+ "4": "Hypertension",
26
+ "5": "Myopia",
27
+ "6": "Normal",
28
+ "7": "Other"
29
+ },
30
+ "image_size": 224,
31
+ "initializer_range": 0.02,
32
+ "label2id": {
33
+ "AMD": 0,
34
+ "Cataract": 1,
35
+ "Diabetes": 2,
36
+ "Glaucoma": 3,
37
+ "Hypertension": 4,
38
+ "Myopia": 5,
39
+ "Normal": 6,
40
+ "Other": 7
41
+ },
42
+ "layer_norm_eps": 1e-12,
43
+ "layer_scale_init_value": 1e-06,
44
+ "model_type": "convnext",
45
+ "num_channels": 3,
46
+ "num_stages": 4,
47
+ "out_features": [
48
+ "stage4"
49
+ ],
50
+ "out_indices": [
51
+ 4
52
+ ],
53
+ "patch_size": 4,
54
+ "problem_type": "single_label_classification",
55
+ "stage_names": [
56
+ "stem",
57
+ "stage1",
58
+ "stage2",
59
+ "stage3",
60
+ "stage4"
61
+ ],
62
+ "torch_dtype": "float32",
63
+ "transformers_version": "4.34.1"
64
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c199840fc64b582c590ad7678188d9ee5254f477fc5b01761c76990cec9e4f3f
3
+ size 350417325