munnae commited on
Commit
8cf7cd3
·
verified ·
1 Parent(s): 90526ac

Upload 4 files

Browse files

model finetuned on food 101 and then my own dataset

Files changed (4) hide show
  1. config.json +104 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +23 -0
  4. training_args.bin +3 -0
config.json ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SwinForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "depths": [
7
+ 2,
8
+ 2,
9
+ 18,
10
+ 2
11
+ ],
12
+ "drop_path_rate": 0.1,
13
+ "embed_dim": 128,
14
+ "encoder_stride": 32,
15
+ "hidden_act": "gelu",
16
+ "hidden_dropout_prob": 0.0,
17
+ "hidden_size": 1024,
18
+ "id2label": {
19
+ "0": "aloo_gobi",
20
+ "1": "biryani",
21
+ "2": "carbonara",
22
+ "3": "dosa",
23
+ "4": "jalebi",
24
+ "5": "lotus_root",
25
+ "6": "mapo_tofu",
26
+ "7": "miso",
27
+ "8": "naan",
28
+ "9": "pani_puri",
29
+ "10": "pesto",
30
+ "11": "pizza",
31
+ "12": "polenta",
32
+ "13": "ramen",
33
+ "14": "roti",
34
+ "15": "samosa",
35
+ "16": "sashimi",
36
+ "17": "spiced_mushroom",
37
+ "18": "sushi",
38
+ "19": "takoyaki",
39
+ "20": "tiramisu",
40
+ "21": "tripe",
41
+ "22": "vada_pav",
42
+ "23": "yam"
43
+ },
44
+ "image_size": 224,
45
+ "initializer_range": 0.02,
46
+ "label2id": {
47
+ "aloo_gobi": 0,
48
+ "biryani": 1,
49
+ "carbonara": 2,
50
+ "dosa": 3,
51
+ "jalebi": 4,
52
+ "lotus_root": 5,
53
+ "mapo_tofu": 6,
54
+ "miso": 7,
55
+ "naan": 8,
56
+ "pani_puri": 9,
57
+ "pesto": 10,
58
+ "pizza": 11,
59
+ "polenta": 12,
60
+ "ramen": 13,
61
+ "roti": 14,
62
+ "samosa": 15,
63
+ "sashimi": 16,
64
+ "spiced_mushroom": 17,
65
+ "sushi": 18,
66
+ "takoyaki": 19,
67
+ "tiramisu": 20,
68
+ "tripe": 21,
69
+ "vada_pav": 22,
70
+ "yam": 23
71
+ },
72
+ "layer_norm_eps": 1e-05,
73
+ "mlp_ratio": 4.0,
74
+ "model_type": "swin",
75
+ "num_channels": 3,
76
+ "num_heads": [
77
+ 4,
78
+ 8,
79
+ 16,
80
+ 32
81
+ ],
82
+ "num_layers": 4,
83
+ "out_features": [
84
+ "stage4"
85
+ ],
86
+ "out_indices": [
87
+ 4
88
+ ],
89
+ "patch_size": 4,
90
+ "path_norm": true,
91
+ "problem_type": "single_label_classification",
92
+ "qkv_bias": true,
93
+ "stage_names": [
94
+ "stem",
95
+ "stage1",
96
+ "stage2",
97
+ "stage3",
98
+ "stage4"
99
+ ],
100
+ "torch_dtype": "float32",
101
+ "transformers_version": "4.51.3",
102
+ "use_absolute_embeddings": false,
103
+ "window_size": 7
104
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbcafb38594ef2de6548990a0ffd72636e10cf87135a00609fe5a0983bffc71d
3
+ size 347589016
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "ViTImageProcessor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:661160b7b40e1e7abbe869426b4fa27a98f1eac2612f1e209ed8e3b90331eb28
3
+ size 5304