yjh0410 1 年之前
父節點
當前提交
4c739faee6
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      dataset/data_augment/rtdetr_augment.py

+ 3 - 0
dataset/data_augment/rtdetr_augment.py

@@ -150,8 +150,11 @@ class RandomSampleCrop(object):
             # sample a patch s.t. MIN jaccard w/ obj in .1,.3,.4,.7,.9
             (0.1, None),
             (0.3, None),
+            (0.5, None),
             (0.7, None),
             (0.9, None),
+            # randomly sample a patch
+            (None, None),
         )
 
     def intersect(self, box_a, box_b):