polejowska
commited on
Commit
•
a2bfbd3
1
Parent(s):
3df4894
Training in progress, epoch 1
Browse files- .gitignore +1 -0
- config.json +157 -0
- preprocessor_config.json +25 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
config.json
ADDED
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": null,
|
3 |
+
"_name_or_path": "jozhang97/deta-swin-large",
|
4 |
+
"activation_dropout": 0.0,
|
5 |
+
"activation_function": "relu",
|
6 |
+
"architectures": [
|
7 |
+
"DetaForObjectDetection"
|
8 |
+
],
|
9 |
+
"assign_first_stage": true,
|
10 |
+
"attention_dropout": 0.0,
|
11 |
+
"auxiliary_loss": false,
|
12 |
+
"backbone": "swin-large",
|
13 |
+
"backbone_config": {
|
14 |
+
"_name_or_path": "",
|
15 |
+
"add_cross_attention": false,
|
16 |
+
"architectures": null,
|
17 |
+
"bad_words_ids": null,
|
18 |
+
"begin_suppress_tokens": null,
|
19 |
+
"bos_token_id": null,
|
20 |
+
"chunk_size_feed_forward": 0,
|
21 |
+
"cross_attention_hidden_size": null,
|
22 |
+
"decoder_start_token_id": null,
|
23 |
+
"depths": [
|
24 |
+
3,
|
25 |
+
4,
|
26 |
+
6,
|
27 |
+
3
|
28 |
+
],
|
29 |
+
"diversity_penalty": 0.0,
|
30 |
+
"do_sample": false,
|
31 |
+
"downsample_in_first_stage": false,
|
32 |
+
"early_stopping": false,
|
33 |
+
"embedding_size": 64,
|
34 |
+
"encoder_no_repeat_ngram_size": 0,
|
35 |
+
"eos_token_id": null,
|
36 |
+
"exponential_decay_length_penalty": null,
|
37 |
+
"finetuning_task": null,
|
38 |
+
"forced_bos_token_id": null,
|
39 |
+
"forced_eos_token_id": null,
|
40 |
+
"hidden_act": "relu",
|
41 |
+
"hidden_sizes": [
|
42 |
+
256,
|
43 |
+
512,
|
44 |
+
1024,
|
45 |
+
2048
|
46 |
+
],
|
47 |
+
"id2label": {
|
48 |
+
"0": "LABEL_0",
|
49 |
+
"1": "LABEL_1"
|
50 |
+
},
|
51 |
+
"is_decoder": false,
|
52 |
+
"is_encoder_decoder": false,
|
53 |
+
"label2id": {
|
54 |
+
"LABEL_0": 0,
|
55 |
+
"LABEL_1": 1
|
56 |
+
},
|
57 |
+
"layer_type": "bottleneck",
|
58 |
+
"length_penalty": 1.0,
|
59 |
+
"max_length": 20,
|
60 |
+
"min_length": 0,
|
61 |
+
"model_type": "resnet",
|
62 |
+
"no_repeat_ngram_size": 0,
|
63 |
+
"num_beam_groups": 1,
|
64 |
+
"num_beams": 1,
|
65 |
+
"num_channels": 3,
|
66 |
+
"num_return_sequences": 1,
|
67 |
+
"out_features": [
|
68 |
+
"stage2",
|
69 |
+
"stage3",
|
70 |
+
"stage4"
|
71 |
+
],
|
72 |
+
"out_indices": [
|
73 |
+
2,
|
74 |
+
3,
|
75 |
+
4
|
76 |
+
],
|
77 |
+
"output_attentions": false,
|
78 |
+
"output_hidden_states": false,
|
79 |
+
"output_scores": false,
|
80 |
+
"pad_token_id": null,
|
81 |
+
"prefix": null,
|
82 |
+
"problem_type": null,
|
83 |
+
"pruned_heads": {},
|
84 |
+
"remove_invalid_values": false,
|
85 |
+
"repetition_penalty": 1.0,
|
86 |
+
"return_dict": true,
|
87 |
+
"return_dict_in_generate": false,
|
88 |
+
"sep_token_id": null,
|
89 |
+
"stage_names": [
|
90 |
+
"stem",
|
91 |
+
"stage1",
|
92 |
+
"stage2",
|
93 |
+
"stage3",
|
94 |
+
"stage4"
|
95 |
+
],
|
96 |
+
"suppress_tokens": null,
|
97 |
+
"task_specific_params": null,
|
98 |
+
"temperature": 1.0,
|
99 |
+
"tf_legacy_loss": false,
|
100 |
+
"tie_encoder_decoder": false,
|
101 |
+
"tie_word_embeddings": true,
|
102 |
+
"tokenizer_class": null,
|
103 |
+
"top_k": 50,
|
104 |
+
"top_p": 1.0,
|
105 |
+
"torch_dtype": null,
|
106 |
+
"torchscript": false,
|
107 |
+
"transformers_version": "4.28.0",
|
108 |
+
"typical_p": 1.0,
|
109 |
+
"use_bfloat16": false
|
110 |
+
},
|
111 |
+
"bbox_cost": 5.0,
|
112 |
+
"bbox_loss_coefficient": 5.0,
|
113 |
+
"class_cost": 1.0,
|
114 |
+
"d_model": 256,
|
115 |
+
"decoder_attention_heads": 4,
|
116 |
+
"decoder_ffn_dim": 2048,
|
117 |
+
"decoder_layerdrop": 0.0,
|
118 |
+
"decoder_layers": 4,
|
119 |
+
"decoder_n_points": 4,
|
120 |
+
"dice_loss_coefficient": 1,
|
121 |
+
"dilation": false,
|
122 |
+
"dropout": 0.1,
|
123 |
+
"encoder_attention_heads": 4,
|
124 |
+
"encoder_ffn_dim": 2048,
|
125 |
+
"encoder_layerdrop": 0.0,
|
126 |
+
"encoder_layers": 4,
|
127 |
+
"encoder_n_points": 4,
|
128 |
+
"eos_coefficient": 0.1,
|
129 |
+
"eos_loss_coefficient": 0.1,
|
130 |
+
"focal_alpha": 0.25,
|
131 |
+
"giou_cost": 2.0,
|
132 |
+
"giou_loss_coefficient": 2.0,
|
133 |
+
"id2label": {
|
134 |
+
"0": "leukocyte"
|
135 |
+
},
|
136 |
+
"init_std": 0.02,
|
137 |
+
"init_xavier_std": 1.0,
|
138 |
+
"is_encoder_decoder": true,
|
139 |
+
"label2id": {
|
140 |
+
"leukocyte": 0
|
141 |
+
},
|
142 |
+
"mask_loss_coefficient": 1,
|
143 |
+
"max_position_embeddings": 2048,
|
144 |
+
"model_type": "deta",
|
145 |
+
"num_classes": 1,
|
146 |
+
"num_feature_levels": 5,
|
147 |
+
"num_queries": 100,
|
148 |
+
"output_attentions": true,
|
149 |
+
"position_embedding_type": "sine",
|
150 |
+
"positional_embedding_type": "sine",
|
151 |
+
"torch_dtype": "float32",
|
152 |
+
"transformers_version": null,
|
153 |
+
"two_stage": true,
|
154 |
+
"two_stage_num_proposals": 300,
|
155 |
+
"use_pretrained_backbone": true,
|
156 |
+
"with_box_refine": true
|
157 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_pad": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"feature_extractor_type": "DetrFeatureExtractor",
|
7 |
+
"format": "coco_detection",
|
8 |
+
"image_mean": [
|
9 |
+
0.485,
|
10 |
+
0.456,
|
11 |
+
0.406
|
12 |
+
],
|
13 |
+
"image_processor_type": "DetrFeatureExtractor",
|
14 |
+
"image_std": [
|
15 |
+
0.229,
|
16 |
+
0.224,
|
17 |
+
0.225
|
18 |
+
],
|
19 |
+
"resample": 2,
|
20 |
+
"rescale_factor": 0.00392156862745098,
|
21 |
+
"size": {
|
22 |
+
"longest_edge": 1333,
|
23 |
+
"shortest_edge": 800
|
24 |
+
}
|
25 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:87a91b6328d1e1c711bfae79b776f4a2644557f77ddb862005c58262ce920c39
|
3 |
+
size 165527989
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f5a4e6537beef99541cb490bbcc8f915a25d331bb32e7df13e5a9e91dd4c24e9
|
3 |
+
size 3579
|