Kushagra07
commited on
Commit
•
c2e9053
1
Parent(s):
bf3919a
Training in progress, epoch 0
Browse files
config.json
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/swinv2-base-patch4-window8-256",
|
3 |
+
"architectures": [
|
4 |
+
"Swinv2ForImageClassification"
|
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": "AadhaarBack",
|
21 |
+
"1": "AadhaarBackMasked",
|
22 |
+
"10": "PanCard",
|
23 |
+
"11": "PassportFirst",
|
24 |
+
"12": "PassportLast",
|
25 |
+
"13": "PassportRegular",
|
26 |
+
"14": "VoterCardBack",
|
27 |
+
"15": "VoterCardFront",
|
28 |
+
"16": "VoterCardRegular",
|
29 |
+
"2": "AadhaarFront",
|
30 |
+
"3": "AadhaarFrontMasked",
|
31 |
+
"4": "AadhaarRegular",
|
32 |
+
"5": "AadhaarRegularMasked",
|
33 |
+
"6": "AadhaarSelfGenerated",
|
34 |
+
"7": "DrivingLicenseNew",
|
35 |
+
"8": "DrivingLicenseOld",
|
36 |
+
"9": "MultipleOVDs"
|
37 |
+
},
|
38 |
+
"image_size": 256,
|
39 |
+
"initializer_range": 0.02,
|
40 |
+
"label2id": {
|
41 |
+
"AadhaarBack": "0",
|
42 |
+
"AadhaarBackMasked": "1",
|
43 |
+
"AadhaarFront": "2",
|
44 |
+
"AadhaarFrontMasked": "3",
|
45 |
+
"AadhaarRegular": "4",
|
46 |
+
"AadhaarRegularMasked": "5",
|
47 |
+
"AadhaarSelfGenerated": "6",
|
48 |
+
"DrivingLicenseNew": "7",
|
49 |
+
"DrivingLicenseOld": "8",
|
50 |
+
"MultipleOVDs": "9",
|
51 |
+
"PanCard": "10",
|
52 |
+
"PassportFirst": "11",
|
53 |
+
"PassportLast": "12",
|
54 |
+
"PassportRegular": "13",
|
55 |
+
"VoterCardBack": "14",
|
56 |
+
"VoterCardFront": "15",
|
57 |
+
"VoterCardRegular": "16"
|
58 |
+
},
|
59 |
+
"layer_norm_eps": 1e-05,
|
60 |
+
"mlp_ratio": 4.0,
|
61 |
+
"model_type": "swinv2",
|
62 |
+
"num_channels": 3,
|
63 |
+
"num_heads": [
|
64 |
+
4,
|
65 |
+
8,
|
66 |
+
16,
|
67 |
+
32
|
68 |
+
],
|
69 |
+
"num_layers": 4,
|
70 |
+
"out_features": [
|
71 |
+
"stage4"
|
72 |
+
],
|
73 |
+
"out_indices": [
|
74 |
+
4
|
75 |
+
],
|
76 |
+
"patch_size": 4,
|
77 |
+
"path_norm": true,
|
78 |
+
"pretrained_window_sizes": [
|
79 |
+
0,
|
80 |
+
0,
|
81 |
+
0,
|
82 |
+
0
|
83 |
+
],
|
84 |
+
"problem_type": "single_label_classification",
|
85 |
+
"qkv_bias": true,
|
86 |
+
"stage_names": [
|
87 |
+
"stem",
|
88 |
+
"stage1",
|
89 |
+
"stage2",
|
90 |
+
"stage3",
|
91 |
+
"stage4"
|
92 |
+
],
|
93 |
+
"torch_dtype": "float32",
|
94 |
+
"transformers_version": "4.40.1",
|
95 |
+
"use_absolute_embeddings": false,
|
96 |
+
"window_size": 8
|
97 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1ae56c244e8d5549de50aaaaee7f4a1a4df808a0d205398a9cd84a5f23c6ac8c
|
3 |
+
size 347706996
|
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/May02_03-14-32_60f4804cf903/events.out.tfevents.1714619674.60f4804cf903.2170.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a032e1fe42737726242fee520fb2d1d5adaf936e2f2eb080cec4bfb7c9cd27c9
|
3 |
+
size 12750
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c9da89ad3f705c615e5fabf642ce123fb206e5ece2965cc99334da845dce7741
|
3 |
+
size 5112
|