vuongnhathien
commited on
Commit
•
ddfc05b
1
Parent(s):
ae779a6
Training in progress, epoch 1
Browse files
config.json
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "vuongnhathien/SwinV2-30VNFood",
|
3 |
+
"architectures": [
|
4 |
+
"Swinv2ForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"depths": [
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
6,
|
11 |
+
2
|
12 |
+
],
|
13 |
+
"drop_path_rate": 0.1,
|
14 |
+
"embed_dim": 96,
|
15 |
+
"encoder_stride": 32,
|
16 |
+
"hidden_act": "gelu",
|
17 |
+
"hidden_dropout_prob": 0.0,
|
18 |
+
"hidden_size": 768,
|
19 |
+
"id2label": {
|
20 |
+
"0": 0,
|
21 |
+
"1": 1,
|
22 |
+
"2": 2,
|
23 |
+
"3": 3,
|
24 |
+
"4": 4,
|
25 |
+
"5": 5,
|
26 |
+
"6": 6,
|
27 |
+
"7": 7
|
28 |
+
},
|
29 |
+
"image_size": 256,
|
30 |
+
"initializer_range": 0.02,
|
31 |
+
"label2id": {
|
32 |
+
"0": 0,
|
33 |
+
"1": 1,
|
34 |
+
"2": 2,
|
35 |
+
"3": 3,
|
36 |
+
"4": 4,
|
37 |
+
"5": 5,
|
38 |
+
"6": 6,
|
39 |
+
"7": 7
|
40 |
+
},
|
41 |
+
"layer_norm_eps": 1e-05,
|
42 |
+
"mlp_ratio": 4.0,
|
43 |
+
"model_type": "swinv2",
|
44 |
+
"num_channels": 3,
|
45 |
+
"num_heads": [
|
46 |
+
3,
|
47 |
+
6,
|
48 |
+
12,
|
49 |
+
24
|
50 |
+
],
|
51 |
+
"num_layers": 4,
|
52 |
+
"out_features": [
|
53 |
+
"stage4"
|
54 |
+
],
|
55 |
+
"out_indices": [
|
56 |
+
4
|
57 |
+
],
|
58 |
+
"patch_size": 4,
|
59 |
+
"path_norm": true,
|
60 |
+
"pretrained_window_sizes": [
|
61 |
+
0,
|
62 |
+
0,
|
63 |
+
0,
|
64 |
+
0
|
65 |
+
],
|
66 |
+
"problem_type": "single_label_classification",
|
67 |
+
"qkv_bias": true,
|
68 |
+
"stage_names": [
|
69 |
+
"stem",
|
70 |
+
"stage1",
|
71 |
+
"stage2",
|
72 |
+
"stage3",
|
73 |
+
"stage4"
|
74 |
+
],
|
75 |
+
"torch_dtype": "float32",
|
76 |
+
"transformers_version": "4.39.3",
|
77 |
+
"use_absolute_embeddings": false,
|
78 |
+
"window_size": 16
|
79 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f4c8271eeab32e2e931ccb6aedc0276c6c6f3ccd70a582f3db28db0d5ea2538c
|
3 |
+
size 110368600
|
preprocessor_config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"resample",
|
7 |
+
"do_rescale",
|
8 |
+
"rescale_factor",
|
9 |
+
"do_normalize",
|
10 |
+
"image_mean",
|
11 |
+
"image_std",
|
12 |
+
"return_tensors",
|
13 |
+
"data_format",
|
14 |
+
"input_data_format"
|
15 |
+
],
|
16 |
+
"do_normalize": true,
|
17 |
+
"do_rescale": true,
|
18 |
+
"do_resize": true,
|
19 |
+
"image_mean": [
|
20 |
+
0.485,
|
21 |
+
0.456,
|
22 |
+
0.406
|
23 |
+
],
|
24 |
+
"image_processor_type": "ViTImageProcessor",
|
25 |
+
"image_std": [
|
26 |
+
0.229,
|
27 |
+
0.224,
|
28 |
+
0.225
|
29 |
+
],
|
30 |
+
"resample": 3,
|
31 |
+
"rescale_factor": 0.00392156862745098,
|
32 |
+
"size": {
|
33 |
+
"height": 256,
|
34 |
+
"width": 256
|
35 |
+
}
|
36 |
+
}
|
runs/May21_06-46-06_e1e7962a67c6/events.out.tfevents.1716273990.e1e7962a67c6.34.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5c249cc3dd4474bc6e20099229b875b7fc952f39f79653a3d7281d56b26c5998
|
3 |
+
size 5505
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d0d2424346c1feaf1b1618b21749fcc54c8c4d568ba798c49e3f1726d62d3ad0
|
3 |
+
size 4920
|