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