RaphaelBfr commited on
Commit
81924de
·
verified ·
1 Parent(s): df34f25

Upload config/Latin_accent.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. config/Latin_accent.py +116 -0
config/Latin_accent.py ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ _base_ = ['coco_transformer.py']
2
+
3
+ num_classes=174+1
4
+ num_fine_classes = 2
5
+ lr = 1e-5 #1e-6
6
+ max_iterations = 2500
7
+ param_dict_type = 'default'
8
+ lr_backbone = 1e-10#1e-05
9
+ lr_backbone_names = ['backbone.0']
10
+ lr_linear_proj_names = ['reference_points', 'sampling_offsets']
11
+ lr_linear_proj_mult = 0.1
12
+ ddetr_lr_param = False
13
+ batch_size = 4 # I chqnged it
14
+ weight_decay = 0#0.0001
15
+ epochs = 700*4
16
+ lr_drop = 11
17
+ save_checkpoint_interval = 100
18
+ clip_max_norm = 0.01
19
+ onecyclelr = False
20
+ multi_step_lr = False
21
+ lr_drop_list = [33, 45]
22
+
23
+
24
+ modelname = 'dino'
25
+ frozen_weights = None
26
+ backbone = 'resnet50'
27
+ use_checkpoint = False
28
+
29
+ dilation = False
30
+ position_embedding = 'sine'
31
+ pe_temperatureH = 20
32
+ pe_temperatureW = 20
33
+ return_interm_indices = [1, 2, 3]
34
+ backbone_freeze_keywords = None
35
+ enc_layers = 6
36
+ dec_layers = 6
37
+ unic_layers = 0
38
+ pre_norm = False
39
+ dim_feedforward = 2048
40
+ hidden_dim = 256
41
+ dropout = 0.0
42
+ nheads = 8
43
+ num_queries = 900
44
+ query_dim = 4
45
+ num_patterns = 0
46
+ pdetr3_bbox_embed_diff_each_layer = False
47
+ pdetr3_refHW = -1
48
+ random_refpoints_xy = False
49
+ fix_refpoints_hw = -1
50
+ dabdetr_yolo_like_anchor_update = False
51
+ dabdetr_deformable_encoder = False
52
+ dabdetr_deformable_decoder = False
53
+ use_deformable_box_attn = False
54
+ box_attn_type = 'roi_align'
55
+ dec_layer_number = None
56
+ num_feature_levels = 4
57
+ enc_n_points = 4
58
+ dec_n_points = 4
59
+ decoder_layer_noise = False
60
+ dln_xy_noise = 0.2
61
+ dln_hw_noise = 0.2
62
+ add_channel_attention = False
63
+ add_pos_value = False
64
+ two_stage_type = 'standard'
65
+ two_stage_pat_embed = 0
66
+ two_stage_add_query_num = 0
67
+ two_stage_bbox_embed_share = False
68
+ two_stage_class_embed_share = False
69
+ two_stage_learn_wh = False
70
+ two_stage_default_hw = 0.05
71
+ two_stage_keep_all_tokens = False
72
+ num_select = 300
73
+ transformer_activation = 'relu'
74
+ batch_norm_type = 'FrozenBatchNorm2d'
75
+ masks = False
76
+ aux_loss = True
77
+ CTC_loss_coef = 1
78
+ set_cost_class = 2.0
79
+ set_cost_bbox = 5.0
80
+ set_cost_giou = 2.0
81
+ cls_loss_coef = 1.0
82
+ mask_loss_coef = 1.0
83
+ dice_loss_coef = 1.0
84
+ bbox_loss_coef = 5.0
85
+ giou_loss_coef = 2.0
86
+ enc_loss_coef = 1.0
87
+ interm_loss_coef = 1.0
88
+ no_interm_box_loss = False
89
+ focal_alpha = 0.25
90
+
91
+ decoder_sa_type = 'sa' # ['sa', 'ca_label', 'ca_content']
92
+ matcher_type = 'HungarianMatcher' # or SimpleMinsumMatcher
93
+ decoder_module_seq = ['sa', 'ca', 'ffn']
94
+ nms_iou_threshold = -1
95
+
96
+ dec_pred_bbox_embed_share = True
97
+ dec_pred_class_embed_share = True
98
+
99
+ # for dn
100
+ use_dn = False
101
+ dn_number = 100
102
+ dn_box_noise_scale = 0.4
103
+ dn_label_noise_ratio = 0.5
104
+ embed_init_tgt = True
105
+ dn_labelbook_size = num_classes +1
106
+
107
+ match_unstable_error = True
108
+
109
+ # for ema
110
+ use_ema = False
111
+ ema_decay = 0.9997
112
+ ema_epoch = 0
113
+
114
+ use_detached_boxes_dec_out = False
115
+ mode_chr = True
116
+ eval_epoch = 10