I'm attempting to follow the quick-start instructions on the front page. After numerous problems using the latest versions of TensorFlow, I've carefully tried to match your test environment listed at the bottom of the page. After successfully converting all of the models. When I try to use the default model with the call:
python yolo.py --image
I get the following error:
AttributeError: 'str' object has no attribute 'decode'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "yolo.py", line 437, in <module>
main()
File "yolo.py", line 409, in main
yolo = YOLO_np(**vars(args))
File "yolo.py", line 69, in __init__
self.yolo_model = self._generate_model()
File "yolo.py", line 104, in _generate_model
assert yolo_model.layers[-1].output_shape[-1] == \
UnboundLocalError: local variable 'yolo_model' referenced before assignment
It seems like the requirements.txt could use some updating to force appropriate versions. I'd do the PR myself but I can't figure out what version I have wrong.
I'm attempting to follow the quick-start instructions on the front page. After numerous problems using the latest versions of TensorFlow, I've carefully tried to match your test environment listed at the bottom of the page. After successfully converting all of the models. When I try to use the default model with the call:
python yolo.py --image
I get the following error:
My package versions are:
It seems like the requirements.txt could use some updating to force appropriate versions. I'd do the PR myself but I can't figure out what version I have wrong.