TensorRT_yolo3 icon indicating copy to clipboard operation
TensorRT_yolo3 copied to clipboard

remainder.split('\n\n',1) ValueError: need more than 1 value to unpack

Open kunyao2015 opened this issue 6 years ago • 1 comments

python yolov3_to_onnx.py Error

I don't know how to solve it

kunyao2015 avatar Sep 02 '19 03:09 kunyao2015

To solver the error, it just input a blank line in cfg file. e.g: for a original yolo.cfg like this:

[net]
# Testing
# batch=1
# subdivisions=1
# Training
batch=64
subdivisions=16
width=608
height=608
channels=3
momentum=0.9
decay=0.0005
angle=0
saturation = 1.5
exposure = 1.5
hue=.1

learning_rate=0.001
burn_in=1000
max_batches = 500200
policy=steps
steps=400000,450000
scales=.1,.1

after hue=0.1 type a blank line have fun!

RitchieHuang11 avatar Sep 03 '19 15:09 RitchieHuang11