소스 검색

modify rtdetr_r18 config

yjh0410 1 년 전
부모
커밋
5216af98a8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      utils/misc.py

+ 1 - 1
utils/misc.py

@@ -22,7 +22,7 @@ class SmoothedValue(object):
     window or the global series average.
     """
 
-    def __init__(self, window_size=1, fmt=None):
+    def __init__(self, window_size=20, fmt=None):
         if fmt is None:
             fmt = "{median:.4f} ({global_avg:.4f})"
         self.deque = deque(maxlen=window_size)