Open crsumiran opened 4 years ago
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
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