goodcasper commited on
Commit
5afbe87
·
verified ·
1 Parent(s): 27047d9

Training in progress, epoch 1

Browse files
Files changed (4) hide show
  1. config.json +141 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +26 -0
  4. training_args.bin +3 -0
config.json ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "silu",
4
+ "anchor_image_size": null,
5
+ "architectures": [
6
+ "RTDetrForObjectDetection"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "auxiliary_loss": true,
10
+ "backbone": null,
11
+ "backbone_config": {
12
+ "depths": [
13
+ 2,
14
+ 2,
15
+ 2,
16
+ 2
17
+ ],
18
+ "downsample_in_bottleneck": false,
19
+ "downsample_in_first_stage": false,
20
+ "embedding_size": 64,
21
+ "hidden_act": "relu",
22
+ "hidden_sizes": [
23
+ 64,
24
+ 128,
25
+ 256,
26
+ 512
27
+ ],
28
+ "layer_type": "basic",
29
+ "model_type": "rt_detr_resnet",
30
+ "num_channels": 3,
31
+ "out_features": [
32
+ "stage2",
33
+ "stage3",
34
+ "stage4"
35
+ ],
36
+ "out_indices": [
37
+ 2,
38
+ 3,
39
+ 4
40
+ ],
41
+ "stage_names": [
42
+ "stem",
43
+ "stage1",
44
+ "stage2",
45
+ "stage3",
46
+ "stage4"
47
+ ]
48
+ },
49
+ "backbone_kwargs": null,
50
+ "batch_norm_eps": 1e-05,
51
+ "box_noise_scale": 1.0,
52
+ "d_model": 256,
53
+ "decoder_activation_function": "relu",
54
+ "decoder_attention_heads": 8,
55
+ "decoder_ffn_dim": 1024,
56
+ "decoder_in_channels": [
57
+ 256,
58
+ 256,
59
+ 256
60
+ ],
61
+ "decoder_layers": 3,
62
+ "decoder_n_points": 4,
63
+ "disable_custom_kernels": true,
64
+ "dropout": 0.0,
65
+ "encode_proj_layers": [
66
+ 2
67
+ ],
68
+ "encoder_activation_function": "gelu",
69
+ "encoder_attention_heads": 8,
70
+ "encoder_ffn_dim": 1024,
71
+ "encoder_hidden_dim": 256,
72
+ "encoder_in_channels": [
73
+ 128,
74
+ 256,
75
+ 512
76
+ ],
77
+ "encoder_layers": 1,
78
+ "eos_coefficient": 0.0001,
79
+ "eval_size": null,
80
+ "feat_strides": [
81
+ 8,
82
+ 16,
83
+ 32
84
+ ],
85
+ "focal_loss_alpha": 0.75,
86
+ "focal_loss_gamma": 2.0,
87
+ "freeze_backbone_batch_norms": true,
88
+ "hidden_expansion": 0.5,
89
+ "id2label": {
90
+ "0": "Ampulla of Vater",
91
+ "1": "Angiectasia",
92
+ "2": "Blood - fresh",
93
+ "3": "Blood - hematin",
94
+ "4": "Erosion",
95
+ "5": "Erythema",
96
+ "6": "Foreign Body",
97
+ "7": "Lymphangiectasia",
98
+ "8": "Normal clean mucosa",
99
+ "9": "Polyp",
100
+ "10": "Ulcer"
101
+ },
102
+ "initializer_bias_prior_prob": null,
103
+ "initializer_range": 0.01,
104
+ "is_encoder_decoder": true,
105
+ "label2id": {
106
+ "Ampulla of Vater": 0,
107
+ "Angiectasia": 1,
108
+ "Blood - fresh": 2,
109
+ "Blood - hematin": 3,
110
+ "Erosion": 4,
111
+ "Erythema": 5,
112
+ "Foreign Body": 6,
113
+ "Lymphangiectasia": 7,
114
+ "Normal clean mucosa": 8,
115
+ "Polyp": 9,
116
+ "Ulcer": 10
117
+ },
118
+ "label_noise_ratio": 0.5,
119
+ "layer_norm_eps": 1e-05,
120
+ "learn_initial_query": false,
121
+ "matcher_alpha": 0.25,
122
+ "matcher_bbox_cost": 5.0,
123
+ "matcher_class_cost": 2.0,
124
+ "matcher_gamma": 2.0,
125
+ "matcher_giou_cost": 2.0,
126
+ "model_type": "rt_detr",
127
+ "normalize_before": false,
128
+ "num_denoising": 100,
129
+ "num_feature_levels": 3,
130
+ "num_queries": 300,
131
+ "positional_encoding_temperature": 10000,
132
+ "torch_dtype": "float32",
133
+ "transformers_version": "4.53.0.dev0",
134
+ "use_focal_loss": true,
135
+ "use_pretrained_backbone": false,
136
+ "use_timm_backbone": false,
137
+ "weight_loss_bbox": 5.0,
138
+ "weight_loss_giou": 2.0,
139
+ "weight_loss_vfl": 1.0,
140
+ "with_box_refine": true
141
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:799eb231a66fc70c542159e6c09f8c06f57bacda5f936a1dff442aec8f5c86fe
3
+ size 80549768
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_annotations": true,
3
+ "do_normalize": false,
4
+ "do_pad": false,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "format": "coco_detection",
8
+ "image_mean": [
9
+ 0.485,
10
+ 0.456,
11
+ 0.406
12
+ ],
13
+ "image_processor_type": "RTDetrImageProcessor",
14
+ "image_std": [
15
+ 0.229,
16
+ 0.224,
17
+ 0.225
18
+ ],
19
+ "pad_size": null,
20
+ "resample": 2,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "height": 512,
24
+ "width": 512
25
+ }
26
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39c84dea141e788f72870562ea166d8b9f4546ecc6176014646c23e9a6ee3cee
3
+ size 5713