shubhamWi91
commited on
Commit
•
5c66ecc
1
Parent(s):
747ad6e
Training in progress, epoch 1
Browse files- config.json +121 -0
- preprocessor_config.json +24 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "jozhang97/deta-swin-large-o365",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"DetaForObjectDetection"
|
7 |
+
],
|
8 |
+
"assign_first_stage": true,
|
9 |
+
"attention_dropout": 0.0,
|
10 |
+
"auxiliary_loss": false,
|
11 |
+
"backbone_config": {
|
12 |
+
"attention_probs_dropout_prob": 0.0,
|
13 |
+
"depths": [
|
14 |
+
2,
|
15 |
+
2,
|
16 |
+
18,
|
17 |
+
2
|
18 |
+
],
|
19 |
+
"drop_path_rate": 0.1,
|
20 |
+
"embed_dim": 192,
|
21 |
+
"encoder_stride": 32,
|
22 |
+
"hidden_act": "gelu",
|
23 |
+
"hidden_dropout_prob": 0.0,
|
24 |
+
"hidden_size": 1536,
|
25 |
+
"image_size": 224,
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"layer_norm_eps": 1e-05,
|
28 |
+
"mlp_ratio": 4.0,
|
29 |
+
"model_type": "swin",
|
30 |
+
"num_heads": [
|
31 |
+
6,
|
32 |
+
12,
|
33 |
+
24,
|
34 |
+
48
|
35 |
+
],
|
36 |
+
"num_layers": 4,
|
37 |
+
"out_features": [
|
38 |
+
"stage2",
|
39 |
+
"stage3",
|
40 |
+
"stage4"
|
41 |
+
],
|
42 |
+
"out_indices": [
|
43 |
+
2,
|
44 |
+
3,
|
45 |
+
4
|
46 |
+
],
|
47 |
+
"patch_size": 4,
|
48 |
+
"path_norm": true,
|
49 |
+
"qkv_bias": true,
|
50 |
+
"use_absolute_embeddings": false,
|
51 |
+
"window_size": 12
|
52 |
+
},
|
53 |
+
"bbox_cost": 5,
|
54 |
+
"bbox_loss_coefficient": 5,
|
55 |
+
"class_cost": 1,
|
56 |
+
"d_model": 256,
|
57 |
+
"decoder_attention_heads": 8,
|
58 |
+
"decoder_ffn_dim": 2048,
|
59 |
+
"decoder_layerdrop": 0.0,
|
60 |
+
"decoder_layers": 6,
|
61 |
+
"decoder_n_points": 4,
|
62 |
+
"dice_loss_coefficient": 1,
|
63 |
+
"dropout": 0.1,
|
64 |
+
"encoder_attention_heads": 8,
|
65 |
+
"encoder_ffn_dim": 2048,
|
66 |
+
"encoder_layerdrop": 0.0,
|
67 |
+
"encoder_layers": 6,
|
68 |
+
"encoder_n_points": 4,
|
69 |
+
"eos_coefficient": 0.1,
|
70 |
+
"focal_alpha": 0.25,
|
71 |
+
"giou_cost": 2,
|
72 |
+
"giou_loss_coefficient": 2,
|
73 |
+
"id2label": {
|
74 |
+
"0": "pet_bottle",
|
75 |
+
"1": "hm_ldpe",
|
76 |
+
"2": "pp_w",
|
77 |
+
"3": "ldpe_wrapper",
|
78 |
+
"4": "hdpe_bottle",
|
79 |
+
"5": "paper",
|
80 |
+
"6": "pp",
|
81 |
+
"7": "aluminium_foil",
|
82 |
+
"8": "multilayer_plastic",
|
83 |
+
"9": "ps",
|
84 |
+
"10": "cardboard",
|
85 |
+
"11": "blister_pack",
|
86 |
+
"12": "aluminium_can",
|
87 |
+
"13": "tetrapack",
|
88 |
+
"14": "others"
|
89 |
+
},
|
90 |
+
"init_std": 0.02,
|
91 |
+
"init_xavier_std": 1.0,
|
92 |
+
"is_encoder_decoder": true,
|
93 |
+
"label2id": {
|
94 |
+
"aluminium_can": 12,
|
95 |
+
"aluminium_foil": 7,
|
96 |
+
"blister_pack": 11,
|
97 |
+
"cardboard": 10,
|
98 |
+
"hdpe_bottle": 4,
|
99 |
+
"hm_ldpe": 1,
|
100 |
+
"ldpe_wrapper": 3,
|
101 |
+
"multilayer_plastic": 8,
|
102 |
+
"others": 14,
|
103 |
+
"paper": 5,
|
104 |
+
"pet_bottle": 0,
|
105 |
+
"pp": 6,
|
106 |
+
"pp_w": 2,
|
107 |
+
"ps": 9,
|
108 |
+
"tetrapack": 13
|
109 |
+
},
|
110 |
+
"mask_loss_coefficient": 1,
|
111 |
+
"max_position_embeddings": 2048,
|
112 |
+
"model_type": "deta",
|
113 |
+
"num_feature_levels": 5,
|
114 |
+
"num_queries": 900,
|
115 |
+
"position_embedding_type": "sine",
|
116 |
+
"torch_dtype": "float32",
|
117 |
+
"transformers_version": "4.32.1",
|
118 |
+
"two_stage": true,
|
119 |
+
"two_stage_num_proposals": 300,
|
120 |
+
"with_box_refine": true
|
121 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_pad": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"format": "coco_detection",
|
7 |
+
"image_mean": [
|
8 |
+
0.485,
|
9 |
+
0.456,
|
10 |
+
0.406
|
11 |
+
],
|
12 |
+
"image_processor_type": "DetaImageProcessor",
|
13 |
+
"image_std": [
|
14 |
+
0.229,
|
15 |
+
0.224,
|
16 |
+
0.225
|
17 |
+
],
|
18 |
+
"resample": 2,
|
19 |
+
"rescale_factor": 0.00392156862745098,
|
20 |
+
"size": {
|
21 |
+
"longest_edge": 1333,
|
22 |
+
"shortest_edge": 800
|
23 |
+
}
|
24 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:43ce9e84a7f4fc593b668507355c1cfcdecdeb64cdfa655b625bb62e4e4f1d5e
|
3 |
+
size 878823725
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:79d2b16441e21154495ff00882342303876670fa24f218e900ef64dd8b23a5c3
|
3 |
+
size 4091
|