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

runtime error,i use windows pycharm to run this #48

Open
hexin6688 opened this issue Apr 15, 2020 · 3 comments
Open

runtime error,i use windows pycharm to run this #48

hexin6688 opened this issue Apr 15, 2020 · 3 comments

Comments

@hexin6688
Copy link

Traceback (most recent call last):
File "G:\darknet_to_tensorflow\DW2TF-1.2\util\reader.py", line 84, in get_block
line = next(line_getter)
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "G:/darknet_to_tensorflow/DW2TF-1.2/main.py", line 116, in
main(args)
File "G:/darknet_to_tensorflow/DW2TF-1.2/main.py", line 57, in main
parse_net(args.layers, args.cfg, args.weights, args.training)
File "G:/darknet_to_tensorflow/DW2TF-1.2/main.py", line 25, in parse_net
for ith, layer in enumerate(cfg_walker):
RuntimeError: generator raised StopIteration

@pshwetank
Copy link

Even I got the same issue while using it to convert YOLO V4 to TF graph.

@pshwetank
Copy link

It seems like there are some layers in the darknet that the script is not able to convert into tensorflow. Let me know which version of Yolo you implemented. It will help me debug the issue.

@yudharisandy
Copy link

@pshwetank i also got the same issue while converting YOLOv4 to TF graph. how can you solve the issues?

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

3 participants