yjh0410 1 жил өмнө
parent
commit
4c739faee6

+ 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):