yjh0410 hai 1 ano
pai
achega
4c739faee6
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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):