yjh0410 před 2 roky
rodič
revize
6569be7f95
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      models/detectors/rtcdet_v2/rtcdet_v2_head.py

+ 1 - 1
models/detectors/rtcdet_v2/rtcdet_v2_head.py

@@ -76,7 +76,7 @@ class MultiLevelHead(nn.Module):
             [SingleLevelHead(
                 in_dims[level],
                 max(out_dim, num_classes),   # cls head dim
-                max(out_dim//4, 4*reg_max),  # reg head dim
+                max(out_dim, 4*reg_max),  # reg head dim
                 cfg['num_cls_head'],
                 cfg['num_reg_head'],
                 cfg['head_act'],