KhangTruong commited on
Commit
ddc036d
·
verified ·
1 Parent(s): d3fff58

Upload ViTForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +103 -4
  2. model.safetensors +3 -0
config.json CHANGED
@@ -1,21 +1,120 @@
1
  {
2
- "_name_or_path": "KhangTruong/NWPU-Net",
3
  "architectures": [
4
- "ViTModel"
5
  ],
6
  "attention_probs_dropout_prob": 0.0,
 
 
7
  "hidden_act": "gelu",
8
  "hidden_dropout_prob": 0.0,
9
  "hidden_size": 768,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  "image_size": 224,
11
  "initializer_range": 0.02,
12
  "intermediate_size": 3072,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  "layer_norm_eps": 1e-12,
14
  "model_type": "vit",
15
  "num_attention_heads": 12,
16
  "num_channels": 3,
17
  "num_hidden_layers": 12,
18
  "patch_size": 16,
 
 
 
19
  "qkv_bias": true,
20
- "transformers_version": "4.13.0.dev0"
21
- }
 
 
1
  {
 
2
  "architectures": [
3
+ "ViTForImageClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.0,
6
+ "dtype": "float32",
7
+ "encoder_stride": 16,
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "airplane",
13
+ "1": "airport",
14
+ "10": "commercial area",
15
+ "11": "dense residential",
16
+ "12": "desert",
17
+ "13": "forest",
18
+ "14": "freeway",
19
+ "15": "golf course",
20
+ "16": "ground track field",
21
+ "17": "harbor",
22
+ "18": "industrial area",
23
+ "19": "intersection",
24
+ "2": "baseball diamond",
25
+ "20": "island",
26
+ "21": "lake",
27
+ "22": "meadow",
28
+ "23": "medium residential",
29
+ "24": "mobile home park",
30
+ "25": "mountain",
31
+ "26": "overpass",
32
+ "27": "palace",
33
+ "28": "parking lot",
34
+ "29": "railway",
35
+ "3": "basketball court",
36
+ "30": "railway station",
37
+ "31": "rectangular farmland",
38
+ "32": "river",
39
+ "33": "roundabout",
40
+ "34": "runway",
41
+ "35": "sea ice",
42
+ "36": "ship",
43
+ "37": "snowberg",
44
+ "38": "sparse residential",
45
+ "39": "stadium",
46
+ "4": "beach",
47
+ "40": "storage tank",
48
+ "41": "tennis court",
49
+ "42": "terrace",
50
+ "43": "thermal power station",
51
+ "44": "wetland",
52
+ "5": "bridge",
53
+ "6": "chaparral",
54
+ "7": "church",
55
+ "8": "circular farmland",
56
+ "9": "cloud"
57
+ },
58
  "image_size": 224,
59
  "initializer_range": 0.02,
60
  "intermediate_size": 3072,
61
+ "label2id": {
62
+ "airplane": "0",
63
+ "airport": "1",
64
+ "baseball diamond": "2",
65
+ "basketball court": "3",
66
+ "beach": "4",
67
+ "bridge": "5",
68
+ "chaparral": "6",
69
+ "church": "7",
70
+ "circular farmland": "8",
71
+ "cloud": "9",
72
+ "commercial area": "10",
73
+ "dense residential": "11",
74
+ "desert": "12",
75
+ "forest": "13",
76
+ "freeway": "14",
77
+ "golf course": "15",
78
+ "ground track field": "16",
79
+ "harbor": "17",
80
+ "industrial area": "18",
81
+ "intersection": "19",
82
+ "island": "20",
83
+ "lake": "21",
84
+ "meadow": "22",
85
+ "medium residential": "23",
86
+ "mobile home park": "24",
87
+ "mountain": "25",
88
+ "overpass": "26",
89
+ "palace": "27",
90
+ "parking lot": "28",
91
+ "railway": "29",
92
+ "railway station": "30",
93
+ "rectangular farmland": "31",
94
+ "river": "32",
95
+ "roundabout": "33",
96
+ "runway": "34",
97
+ "sea ice": "35",
98
+ "ship": "36",
99
+ "snowberg": "37",
100
+ "sparse residential": "38",
101
+ "stadium": "39",
102
+ "storage tank": "40",
103
+ "tennis court": "41",
104
+ "terrace": "42",
105
+ "thermal power station": "43",
106
+ "wetland": "44"
107
+ },
108
  "layer_norm_eps": 1e-12,
109
  "model_type": "vit",
110
  "num_attention_heads": 12,
111
  "num_channels": 3,
112
  "num_hidden_layers": 12,
113
  "patch_size": 16,
114
+ "pooler_act": "tanh",
115
+ "pooler_output_size": 768,
116
+ "problem_type": "single_label_classification",
117
  "qkv_bias": true,
118
+ "transformers_version": "5.0.0",
119
+ "use_cache": false
120
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cb37bd780bf03e17750aa49b38d0d38e823c985ec1305bc0a3d7e53b8447f6a
3
+ size 343356252