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