mirror of https://github.com/AlexeyAB/darknet.git
Fixed cfg: yolov4-p5.cfg, yolov4-p6.cfg. Added new Weights-files, for: yolov4-csp, yolov4-p5, yolov4-p6, yolov4x-mish
This commit is contained in:
parent
795474f0ed
commit
28952006b0
|
@ -1737,7 +1737,7 @@ resize=1.5
|
||||||
iou_thresh=0.2
|
iou_thresh=0.2
|
||||||
iou_normalizer=0.05
|
iou_normalizer=0.05
|
||||||
cls_normalizer=0.5
|
cls_normalizer=0.5
|
||||||
obj_normalizer=0.4
|
obj_normalizer=1.0
|
||||||
iou_loss=ciou
|
iou_loss=ciou
|
||||||
nms_kind=diounms
|
nms_kind=diounms
|
||||||
beta_nms=0.6
|
beta_nms=0.6
|
||||||
|
@ -1782,7 +1782,7 @@ resize=1.5
|
||||||
iou_thresh=0.2
|
iou_thresh=0.2
|
||||||
iou_normalizer=0.05
|
iou_normalizer=0.05
|
||||||
cls_normalizer=0.5
|
cls_normalizer=0.5
|
||||||
obj_normalizer=0.4
|
obj_normalizer=1.0
|
||||||
iou_loss=ciou
|
iou_loss=ciou
|
||||||
nms_kind=diounms
|
nms_kind=diounms
|
||||||
beta_nms=0.6
|
beta_nms=0.6
|
||||||
|
@ -1827,7 +1827,7 @@ resize=1.5
|
||||||
iou_thresh=0.2
|
iou_thresh=0.2
|
||||||
iou_normalizer=0.05
|
iou_normalizer=0.05
|
||||||
cls_normalizer=0.5
|
cls_normalizer=0.5
|
||||||
obj_normalizer=0.4
|
obj_normalizer=1.0
|
||||||
iou_loss=ciou
|
iou_loss=ciou
|
||||||
nms_kind=diounms
|
nms_kind=diounms
|
||||||
beta_nms=0.6
|
beta_nms=0.6
|
||||||
|
|
|
@ -2143,17 +2143,22 @@ mask = 0,1,2,3
|
||||||
anchors = 13,17, 31,25, 24,51, 61,45, 61,45, 48,102, 119,96, 97,189, 97,189, 217,184, 171,384, 324,451, 324,451, 545,357, 616,618, 1024,1024
|
anchors = 13,17, 31,25, 24,51, 61,45, 61,45, 48,102, 119,96, 97,189, 97,189, 217,184, 171,384, 324,451, 324,451, 545,357, 616,618, 1024,1024
|
||||||
classes=80
|
classes=80
|
||||||
num=16
|
num=16
|
||||||
jitter=.3
|
jitter=.1
|
||||||
|
scale_x_y = 2.0
|
||||||
|
objectness_smooth=1
|
||||||
ignore_thresh = .7
|
ignore_thresh = .7
|
||||||
truth_thresh = 1
|
truth_thresh = 1
|
||||||
random=1
|
#random=1
|
||||||
scale_x_y = 1.05
|
resize=1.5
|
||||||
iou_thresh=0.213
|
iou_thresh=0.2
|
||||||
cls_normalizer=1.0
|
iou_normalizer=0.05
|
||||||
iou_normalizer=0.07
|
cls_normalizer=0.5
|
||||||
|
obj_normalizer=1.0
|
||||||
iou_loss=ciou
|
iou_loss=ciou
|
||||||
nms_kind=greedynms
|
nms_kind=diounms
|
||||||
beta_nms=0.6
|
beta_nms=0.6
|
||||||
|
new_coords=1
|
||||||
|
max_delta=2
|
||||||
|
|
||||||
|
|
||||||
# YOLO-4
|
# YOLO-4
|
||||||
|
@ -2193,7 +2198,7 @@ resize=1.5
|
||||||
iou_thresh=0.2
|
iou_thresh=0.2
|
||||||
iou_normalizer=0.05
|
iou_normalizer=0.05
|
||||||
cls_normalizer=0.5
|
cls_normalizer=0.5
|
||||||
obj_normalizer=0.4
|
obj_normalizer=1.0
|
||||||
iou_loss=ciou
|
iou_loss=ciou
|
||||||
nms_kind=diounms
|
nms_kind=diounms
|
||||||
beta_nms=0.6
|
beta_nms=0.6
|
||||||
|
@ -2238,7 +2243,7 @@ resize=1.5
|
||||||
iou_thresh=0.2
|
iou_thresh=0.2
|
||||||
iou_normalizer=0.05
|
iou_normalizer=0.05
|
||||||
cls_normalizer=0.5
|
cls_normalizer=0.5
|
||||||
obj_normalizer=0.4
|
obj_normalizer=1.0
|
||||||
iou_loss=ciou
|
iou_loss=ciou
|
||||||
nms_kind=diounms
|
nms_kind=diounms
|
||||||
beta_nms=0.6
|
beta_nms=0.6
|
||||||
|
@ -2283,7 +2288,7 @@ resize=1.5
|
||||||
iou_thresh=0.2
|
iou_thresh=0.2
|
||||||
iou_normalizer=0.05
|
iou_normalizer=0.05
|
||||||
cls_normalizer=0.5
|
cls_normalizer=0.5
|
||||||
obj_normalizer=0.4
|
obj_normalizer=1.0
|
||||||
iou_loss=ciou
|
iou_loss=ciou
|
||||||
nms_kind=diounms
|
nms_kind=diounms
|
||||||
beta_nms=0.6
|
beta_nms=0.6
|
||||||
|
|
|
@ -2,10 +2,22 @@ rem Download weights for - DenseNet201, ResNet50 and ResNet152 by this link: htt
|
||||||
rem Download Yolo/Tiny-yolo: https://pjreddie.com/darknet/yolo/
|
rem Download Yolo/Tiny-yolo: https://pjreddie.com/darknet/yolo/
|
||||||
rem Download Yolo9000: http://pjreddie.com/media/files/yolo9000.weights
|
rem Download Yolo9000: http://pjreddie.com/media/files/yolo9000.weights
|
||||||
|
|
||||||
|
darknet.exe partial cfg/yolov4-csp.cfg yolov4-csp.weights yolov4-csp.conv.142 142
|
||||||
|
|
||||||
|
darknet.exe partial cfg/yolov4x-mish.cfg yolov4x-mish.weights yolov4x-mish.conv.166 166
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
rem darknet.exe partial cfg/yolov4-p5.cfg yolov4-p5.weights yolov4-p5.conv.232 232
|
||||||
|
|
||||||
|
rem darknet.exe partial cfg/yolov4-p6.cfg yolov4-p6.weights yolov4-p6.conv.289 289
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
rem darknet.exe partial cfg/tiny-yolo-voc.cfg tiny-yolo-voc.weights tiny-yolo-voc.conv.13 13
|
rem darknet.exe partial cfg/tiny-yolo-voc.cfg tiny-yolo-voc.weights tiny-yolo-voc.conv.13 13
|
||||||
|
|
||||||
darknet.exe partial cfg/yolov4-tiny.cfg yolov4-tiny.weights yolov4-tiny.conv.29 29
|
rem darknet.exe partial cfg/yolov4-tiny.cfg yolov4-tiny.weights yolov4-tiny.conv.29 29
|
||||||
|
|
||||||
|
|
||||||
rem darknet.exe partial cfg/yolov4-sam-mish.cfg cfg/yolov4-sam-mish.weights cfg/yolov4-sam-mish.conv.137 137
|
rem darknet.exe partial cfg/yolov4-sam-mish.cfg cfg/yolov4-sam-mish.weights cfg/yolov4-sam-mish.conv.137 137
|
||||||
|
|
|
@ -1737,7 +1737,7 @@ resize=1.5
|
||||||
iou_thresh=0.2
|
iou_thresh=0.2
|
||||||
iou_normalizer=0.05
|
iou_normalizer=0.05
|
||||||
cls_normalizer=0.5
|
cls_normalizer=0.5
|
||||||
obj_normalizer=0.4
|
obj_normalizer=1.0
|
||||||
iou_loss=ciou
|
iou_loss=ciou
|
||||||
nms_kind=diounms
|
nms_kind=diounms
|
||||||
beta_nms=0.6
|
beta_nms=0.6
|
||||||
|
@ -1782,7 +1782,7 @@ resize=1.5
|
||||||
iou_thresh=0.2
|
iou_thresh=0.2
|
||||||
iou_normalizer=0.05
|
iou_normalizer=0.05
|
||||||
cls_normalizer=0.5
|
cls_normalizer=0.5
|
||||||
obj_normalizer=0.4
|
obj_normalizer=1.0
|
||||||
iou_loss=ciou
|
iou_loss=ciou
|
||||||
nms_kind=diounms
|
nms_kind=diounms
|
||||||
beta_nms=0.6
|
beta_nms=0.6
|
||||||
|
@ -1827,7 +1827,7 @@ resize=1.5
|
||||||
iou_thresh=0.2
|
iou_thresh=0.2
|
||||||
iou_normalizer=0.05
|
iou_normalizer=0.05
|
||||||
cls_normalizer=0.5
|
cls_normalizer=0.5
|
||||||
obj_normalizer=0.4
|
obj_normalizer=1.0
|
||||||
iou_loss=ciou
|
iou_loss=ciou
|
||||||
nms_kind=diounms
|
nms_kind=diounms
|
||||||
beta_nms=0.6
|
beta_nms=0.6
|
||||||
|
|
|
@ -2143,17 +2143,22 @@ mask = 0,1,2,3
|
||||||
anchors = 13,17, 31,25, 24,51, 61,45, 61,45, 48,102, 119,96, 97,189, 97,189, 217,184, 171,384, 324,451, 324,451, 545,357, 616,618, 1024,1024
|
anchors = 13,17, 31,25, 24,51, 61,45, 61,45, 48,102, 119,96, 97,189, 97,189, 217,184, 171,384, 324,451, 324,451, 545,357, 616,618, 1024,1024
|
||||||
classes=80
|
classes=80
|
||||||
num=16
|
num=16
|
||||||
jitter=.3
|
jitter=.1
|
||||||
|
scale_x_y = 2.0
|
||||||
|
objectness_smooth=1
|
||||||
ignore_thresh = .7
|
ignore_thresh = .7
|
||||||
truth_thresh = 1
|
truth_thresh = 1
|
||||||
random=1
|
#random=1
|
||||||
scale_x_y = 1.05
|
resize=1.5
|
||||||
iou_thresh=0.213
|
iou_thresh=0.2
|
||||||
cls_normalizer=1.0
|
iou_normalizer=0.05
|
||||||
iou_normalizer=0.07
|
cls_normalizer=0.5
|
||||||
|
obj_normalizer=1.0
|
||||||
iou_loss=ciou
|
iou_loss=ciou
|
||||||
nms_kind=greedynms
|
nms_kind=diounms
|
||||||
beta_nms=0.6
|
beta_nms=0.6
|
||||||
|
new_coords=1
|
||||||
|
max_delta=2
|
||||||
|
|
||||||
|
|
||||||
# YOLO-4
|
# YOLO-4
|
||||||
|
@ -2193,7 +2198,7 @@ resize=1.5
|
||||||
iou_thresh=0.2
|
iou_thresh=0.2
|
||||||
iou_normalizer=0.05
|
iou_normalizer=0.05
|
||||||
cls_normalizer=0.5
|
cls_normalizer=0.5
|
||||||
obj_normalizer=0.4
|
obj_normalizer=1.0
|
||||||
iou_loss=ciou
|
iou_loss=ciou
|
||||||
nms_kind=diounms
|
nms_kind=diounms
|
||||||
beta_nms=0.6
|
beta_nms=0.6
|
||||||
|
@ -2238,7 +2243,7 @@ resize=1.5
|
||||||
iou_thresh=0.2
|
iou_thresh=0.2
|
||||||
iou_normalizer=0.05
|
iou_normalizer=0.05
|
||||||
cls_normalizer=0.5
|
cls_normalizer=0.5
|
||||||
obj_normalizer=0.4
|
obj_normalizer=1.0
|
||||||
iou_loss=ciou
|
iou_loss=ciou
|
||||||
nms_kind=diounms
|
nms_kind=diounms
|
||||||
beta_nms=0.6
|
beta_nms=0.6
|
||||||
|
@ -2283,7 +2288,7 @@ resize=1.5
|
||||||
iou_thresh=0.2
|
iou_thresh=0.2
|
||||||
iou_normalizer=0.05
|
iou_normalizer=0.05
|
||||||
cls_normalizer=0.5
|
cls_normalizer=0.5
|
||||||
obj_normalizer=0.4
|
obj_normalizer=1.0
|
||||||
iou_loss=ciou
|
iou_loss=ciou
|
||||||
nms_kind=diounms
|
nms_kind=diounms
|
||||||
beta_nms=0.6
|
beta_nms=0.6
|
||||||
|
|
Loading…
Reference in New Issue