Kushagra07
commited on
Commit
•
6121f88
1
Parent(s):
d1e6d2c
Training in progress, epoch 0
Browse files
config.json
ADDED
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/beit-base-patch16-224-pt22k-ft22k",
|
3 |
+
"add_fpn": false,
|
4 |
+
"architectures": [
|
5 |
+
"BeitForImageClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.0,
|
8 |
+
"auxiliary_channels": 256,
|
9 |
+
"auxiliary_concat_input": false,
|
10 |
+
"auxiliary_loss_weight": 0.4,
|
11 |
+
"auxiliary_num_convs": 1,
|
12 |
+
"drop_path_rate": 0.1,
|
13 |
+
"hidden_act": "gelu",
|
14 |
+
"hidden_dropout_prob": 0.0,
|
15 |
+
"hidden_size": 768,
|
16 |
+
"id2label": {
|
17 |
+
"0": "AadhaarBack",
|
18 |
+
"1": "AadhaarBackMasked",
|
19 |
+
"10": "PanCard",
|
20 |
+
"11": "PassportFirst",
|
21 |
+
"12": "PassportLast",
|
22 |
+
"13": "PassportRegular",
|
23 |
+
"14": "VoterCardBack",
|
24 |
+
"15": "VoterCardFront",
|
25 |
+
"16": "VoterCardRegular",
|
26 |
+
"2": "AadhaarFront",
|
27 |
+
"3": "AadhaarFrontMasked",
|
28 |
+
"4": "AadhaarRegular",
|
29 |
+
"5": "AadhaarRegularMasked",
|
30 |
+
"6": "AadhaarSelfGenerated",
|
31 |
+
"7": "DrivingLicenseNew",
|
32 |
+
"8": "DrivingLicenseOld",
|
33 |
+
"9": "MultipleOVDs"
|
34 |
+
},
|
35 |
+
"image_size": 224,
|
36 |
+
"initializer_range": 0.02,
|
37 |
+
"intermediate_size": 3072,
|
38 |
+
"label2id": {
|
39 |
+
"AadhaarBack": "0",
|
40 |
+
"AadhaarBackMasked": "1",
|
41 |
+
"AadhaarFront": "2",
|
42 |
+
"AadhaarFrontMasked": "3",
|
43 |
+
"AadhaarRegular": "4",
|
44 |
+
"AadhaarRegularMasked": "5",
|
45 |
+
"AadhaarSelfGenerated": "6",
|
46 |
+
"DrivingLicenseNew": "7",
|
47 |
+
"DrivingLicenseOld": "8",
|
48 |
+
"MultipleOVDs": "9",
|
49 |
+
"PanCard": "10",
|
50 |
+
"PassportFirst": "11",
|
51 |
+
"PassportLast": "12",
|
52 |
+
"PassportRegular": "13",
|
53 |
+
"VoterCardBack": "14",
|
54 |
+
"VoterCardFront": "15",
|
55 |
+
"VoterCardRegular": "16"
|
56 |
+
},
|
57 |
+
"layer_norm_eps": 1e-12,
|
58 |
+
"layer_scale_init_value": 0.1,
|
59 |
+
"model_type": "beit",
|
60 |
+
"num_attention_heads": 12,
|
61 |
+
"num_channels": 3,
|
62 |
+
"num_hidden_layers": 12,
|
63 |
+
"out_features": [
|
64 |
+
"stage12"
|
65 |
+
],
|
66 |
+
"out_indices": [
|
67 |
+
12
|
68 |
+
],
|
69 |
+
"patch_size": 16,
|
70 |
+
"pool_scales": [
|
71 |
+
1,
|
72 |
+
2,
|
73 |
+
3,
|
74 |
+
6
|
75 |
+
],
|
76 |
+
"problem_type": "single_label_classification",
|
77 |
+
"reshape_hidden_states": true,
|
78 |
+
"semantic_loss_ignore_index": 255,
|
79 |
+
"stage_names": [
|
80 |
+
"stem",
|
81 |
+
"stage1",
|
82 |
+
"stage2",
|
83 |
+
"stage3",
|
84 |
+
"stage4",
|
85 |
+
"stage5",
|
86 |
+
"stage6",
|
87 |
+
"stage7",
|
88 |
+
"stage8",
|
89 |
+
"stage9",
|
90 |
+
"stage10",
|
91 |
+
"stage11",
|
92 |
+
"stage12"
|
93 |
+
],
|
94 |
+
"torch_dtype": "float32",
|
95 |
+
"transformers_version": "4.40.1",
|
96 |
+
"use_absolute_position_embeddings": false,
|
97 |
+
"use_auxiliary_head": true,
|
98 |
+
"use_mask_token": false,
|
99 |
+
"use_mean_pooling": true,
|
100 |
+
"use_relative_position_bias": true,
|
101 |
+
"use_shared_relative_position_bias": false,
|
102 |
+
"vocab_size": 8192
|
103 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:685cf517e053732bf0c3a69a440e890534fd2337e86e4209f3130b79a44b69f2
|
3 |
+
size 343126468
|
preprocessor_config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"segmentation_maps",
|
5 |
+
"do_resize",
|
6 |
+
"size",
|
7 |
+
"resample",
|
8 |
+
"do_center_crop",
|
9 |
+
"crop_size",
|
10 |
+
"do_rescale",
|
11 |
+
"rescale_factor",
|
12 |
+
"do_normalize",
|
13 |
+
"image_mean",
|
14 |
+
"image_std",
|
15 |
+
"do_reduce_labels",
|
16 |
+
"return_tensors",
|
17 |
+
"data_format",
|
18 |
+
"input_data_format"
|
19 |
+
],
|
20 |
+
"crop_size": {
|
21 |
+
"height": 224,
|
22 |
+
"width": 224
|
23 |
+
},
|
24 |
+
"do_center_crop": false,
|
25 |
+
"do_normalize": true,
|
26 |
+
"do_reduce_labels": false,
|
27 |
+
"do_rescale": true,
|
28 |
+
"do_resize": true,
|
29 |
+
"image_mean": [
|
30 |
+
0.5,
|
31 |
+
0.5,
|
32 |
+
0.5
|
33 |
+
],
|
34 |
+
"image_processor_type": "BeitImageProcessor",
|
35 |
+
"image_std": [
|
36 |
+
0.5,
|
37 |
+
0.5,
|
38 |
+
0.5
|
39 |
+
],
|
40 |
+
"resample": 2,
|
41 |
+
"rescale_factor": 0.00392156862745098,
|
42 |
+
"size": {
|
43 |
+
"height": 224,
|
44 |
+
"width": 224
|
45 |
+
}
|
46 |
+
}
|
runs/May02_04-22-58_60f4804cf903/events.out.tfevents.1714623780.60f4804cf903.3194.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa89cbf8e247f9df563b8a2fbe0a5cc15337cc787d332a7a1e009c09dc883c31
|
3 |
+
size 13153
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b494facaabf492e4ede69df07dcaf175cbe9068dc49bfd7a9f5ee7427be309e4
|
3 |
+
size 5176
|