PedroSampaio commited on
Commit
1b54070
1 Parent(s): 2c5ddb0

Training in progress, epoch 1

Browse files
config.json CHANGED
@@ -1,13 +1,21 @@
1
  {
2
- "_name_or_path": "google/vit-base-patch16-224-in21k",
3
  "architectures": [
4
- "ViTForImageClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.0,
7
- "encoder_stride": 16,
 
 
 
 
 
 
 
 
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.0,
10
- "hidden_size": 768,
11
  "id2label": {
12
  "0": "Apple Braeburn",
13
  "1": "Apple Crimson Snow",
@@ -125,7 +133,6 @@
125
  },
126
  "image_size": 224,
127
  "initializer_range": 0.02,
128
- "intermediate_size": 3072,
129
  "label2id": {
130
  "Apple Braeburn": 0,
131
  "Apple Crimson Snow": 1,
@@ -241,14 +248,36 @@
241
  "Walnut": 111,
242
  "Watermelon": 112
243
  },
244
- "layer_norm_eps": 1e-12,
245
- "model_type": "vit",
246
- "num_attention_heads": 12,
247
  "num_channels": 3,
248
- "num_hidden_layers": 12,
249
- "patch_size": 16,
 
 
 
 
 
 
 
 
 
 
 
 
 
250
  "problem_type": "single_label_classification",
251
  "qkv_bias": true,
 
 
 
 
 
 
 
252
  "torch_dtype": "float32",
253
- "transformers_version": "4.34.1"
 
 
254
  }
 
1
  {
2
+ "_name_or_path": "microsoft/swin-base-patch4-window7-224-in22k",
3
  "architectures": [
4
+ "SwinForImageClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.0,
7
+ "depths": [
8
+ 2,
9
+ 2,
10
+ 18,
11
+ 2
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "embed_dim": 128,
15
+ "encoder_stride": 32,
16
  "hidden_act": "gelu",
17
  "hidden_dropout_prob": 0.0,
18
+ "hidden_size": 1024,
19
  "id2label": {
20
  "0": "Apple Braeburn",
21
  "1": "Apple Crimson Snow",
 
133
  },
134
  "image_size": 224,
135
  "initializer_range": 0.02,
 
136
  "label2id": {
137
  "Apple Braeburn": 0,
138
  "Apple Crimson Snow": 1,
 
248
  "Walnut": 111,
249
  "Watermelon": 112
250
  },
251
+ "layer_norm_eps": 1e-05,
252
+ "mlp_ratio": 4.0,
253
+ "model_type": "swin",
254
  "num_channels": 3,
255
+ "num_heads": [
256
+ 4,
257
+ 8,
258
+ 16,
259
+ 32
260
+ ],
261
+ "num_layers": 4,
262
+ "out_features": [
263
+ "stage4"
264
+ ],
265
+ "out_indices": [
266
+ 4
267
+ ],
268
+ "patch_size": 4,
269
+ "path_norm": true,
270
  "problem_type": "single_label_classification",
271
  "qkv_bias": true,
272
+ "stage_names": [
273
+ "stem",
274
+ "stage1",
275
+ "stage2",
276
+ "stage3",
277
+ "stage4"
278
+ ],
279
  "torch_dtype": "float32",
280
+ "transformers_version": "4.34.1",
281
+ "use_absolute_embeddings": false,
282
+ "window_size": 7
283
  }
preprocessor_config.json CHANGED
@@ -3,17 +3,17 @@
3
  "do_rescale": true,
4
  "do_resize": true,
5
  "image_mean": [
6
- 0.5,
7
- 0.5,
8
- 0.5
9
  ],
10
  "image_processor_type": "ViTImageProcessor",
11
  "image_std": [
12
- 0.5,
13
- 0.5,
14
- 0.5
15
  ],
16
- "resample": 2,
17
  "rescale_factor": 0.00392156862745098,
18
  "size": {
19
  "height": 224,
 
3
  "do_rescale": true,
4
  "do_resize": true,
5
  "image_mean": [
6
+ 0.485,
7
+ 0.456,
8
+ 0.406
9
  ],
10
  "image_processor_type": "ViTImageProcessor",
11
  "image_std": [
12
+ 0.229,
13
+ 0.224,
14
+ 0.225
15
  ],
16
+ "resample": 3,
17
  "rescale_factor": 0.00392156862745098,
18
  "size": {
19
  "height": 224,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1cec28c9b79f14b0e9700a09a1171cb1dba6e11e9fb169c658fc03f9db8762c8
3
- size 343610602
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95fa2f1ee9f62cee1aadc409d83a4cfad8267505b44280055083a4e37cef9dd3
3
+ size 348055374
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:45b502d8a8729f313ae9c091160349d19ea2098b0828cbcb8d6a9f9d44d1ca9d
3
  size 4600
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:691c6973f34037a402ad7ce3180ccde794a88d50353c8961e9666a89aee7153d
3
  size 4600