Tianxiaomo / pytorch-YOLOv4

PyTorch ,ONNX and TensorRT implementation of YOLOv4
Apache License 2.0
4.48k stars 1.49k forks source link

KeyError: 'scale_x_y' #356

Open zlaom opened 3 years ago

zlaom commented 3 years ago

image

bainro commented 3 years ago

Experiencing the same. Will report back if I fix it.

bainro commented 3 years ago

Add "scale_x_y = 1.00" to each [yolo] layer in the cfg file. This is implicit for yolov3, but the parser doesn't know that currently.

https://github.com/ultralytics/yolov3/issues/1121 https://github.com/AlexeyAB/darknet/blob/master/cfg/yolov4-tiny-3l.cfg https://github.com/Tianxiaomo/pytorch-YOLOv4/issues/313

13281306705 commented 3 years ago

Hello, may I ask, have you solved this problem or do you know the reason for the error?

zlaom commented 3 years ago

I use another project to finish my objective =。= https://github.com/ultralytics/yolov5