소스 검색

release YOLOv2

yjh0410 1 년 전
부모
커밋
7baf8b2382
3개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 2 2
      yolo/config/yolov1_config.py
  2. 1 1
      yolo/config/yolov2_config.py
  3. 3 3
      yolo/models/yolov2/README.md

+ 2 - 2
yolo/config/yolov1_config.py

@@ -35,8 +35,8 @@ class Yolov1BaseConfig(object):
         self.val_topk = 1000
         self.val_topk = 1000
         self.val_conf_thresh = 0.001
         self.val_conf_thresh = 0.001
         self.val_nms_thresh  = 0.7
         self.val_nms_thresh  = 0.7
-        self.test_topk = 100
-        self.test_conf_thresh = 0.3
+        self.test_topk = 300
+        self.test_conf_thresh = 0.4
         self.test_nms_thresh  = 0.5
         self.test_nms_thresh  = 0.5
 
 
         # ---------------- Assignment config ----------------
         # ---------------- Assignment config ----------------

+ 1 - 1
yolo/config/yolov2_config.py

@@ -37,7 +37,7 @@ class Yolov2BaseConfig(object):
         self.val_conf_thresh = 0.001
         self.val_conf_thresh = 0.001
         self.val_nms_thresh  = 0.7
         self.val_nms_thresh  = 0.7
         self.test_topk = 300
         self.test_topk = 300
-        self.test_conf_thresh = 0.3
+        self.test_conf_thresh = 0.4
         self.test_nms_thresh  = 0.5
         self.test_nms_thresh  = 0.5
 
 
         # ---------------- Assignment config ----------------
         # ---------------- Assignment config ----------------

+ 3 - 3
yolo/models/yolov2/README.md

@@ -8,9 +8,9 @@
 
 
 - COCO
 - COCO
 
 
-| Model  |  Backbone  | Batch | Scale | AP<sup>val<br>0.5:0.95 | AP<sup>val<br>0.5 | FLOPs<br><sup>(G) | Params<br><sup>(M) | Weight |
-|--------|------------|-------|-------|------------------------|-------------------|-------------------|--------------------|--------|
-| YOLOv2 | ResNet-18  | 1xb16 |  640  |                    |               |   38.0            |   21.5             | [ckpt](https://github.com/yjh0410/RT-ODLab/releases/download/yolo_tutorial_ckpt/yolov2_coco.pth) |
+| Model  |  Backbone  | Batch | Scale | AP<sup>val<br>0.5:0.95 | AP<sup>val<br>0.5 | FLOPs<br><sup>(G) | Params<br><sup>(M) | Weight | Logs |
+|--------|------------|-------|-------|------------------------|-------------------|-------------------|--------------------|--------|------|
+| YOLOv2 | ResNet-18  | 1xb16 |  640  |         28.4           |       47.4        |   38.0            |   21.5             | [ckpt](https://github.com/yjh0410/YOLO-Tutorial-v2/releases/download/yolo_tutorial_ckpt/yolov2_r18_coco.pth) | [log](https://github.com/yjh0410/YOLO-Tutorial-v2/releases/download/yolo_tutorial_ckpt/YOLOv2-R18-COCO.txt) |
 
 
 - For training, we train redesigned YOLOv2 with 150 epochs on COCO.
 - For training, we train redesigned YOLOv2 with 150 epochs on COCO.
 - For data augmentation, we use the SSD's augmentation, including the RandomCrop, RandomDistort, RandomExpand, RandomHFlip and so on.
 - For data augmentation, we use the SSD's augmentation, including the RandomCrop, RandomDistort, RandomExpand, RandomHFlip and so on.