Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: not enough values to unpack (expected 2, got 1) #8

Open
17702513221 opened this issue Feb 25, 2020 · 1 comment
Open

ValueError: not enough values to unpack (expected 2, got 1) #8

17702513221 opened this issue Feb 25, 2020 · 1 comment

Comments

@17702513221
Copy link

when i use yolov3.cfg and yolov3.weights in python3 create_onnx.py --reso 416 ,i get a error:
Traceback (most recent call last):
File "create_onnx.py", line 772, in
main()
File "create_onnx.py", line 740, in main
layer_configs = parser.parse_cfg_file(cfg_file_path)
File "create_onnx.py", line 45, in parse_cfg_file
layer_dict, layer_name, remainder = self._next_layer(remainder)
File "create_onnx.py", line 86, in _next_layer
layer_param_block, remainder = remainder.split('\n\n', 1)
ValueError: not enough values to unpack (expected 2, got 1)

@dfomin
Copy link

dfomin commented May 18, 2020

Put the new line at the end of the yolov3.cfg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants