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