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

DW2TF/util/reader.py fails when it runs out of lines #55

Open
crsumiran opened this issue Oct 10, 2020 · 1 comment
Open

DW2TF/util/reader.py fails when it runs out of lines #55

crsumiran opened this issue Oct 10, 2020 · 1 comment

Comments

@crsumiran
Copy link

The application fails when it runs out of lines inside the cfg file. I have added the following lines fix it.

try:
line = next(line_getter)
except:
return

@ROBYER1
Copy link

ROBYER1 commented Dec 18, 2020

The application fails when it runs out of lines inside the cfg file. I have added the following lines fix it.

try:
line = next(line_getter)
except:
return

Why did you suggest those lines when they don't work?

File "/mnt/g/Git_General/Darknet2TensorFlow/util/reader.py", line 86 except: ^ SyntaxError: invalid syntax

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