When I run 'python run_scene.py images/triple.jpg' it returns:
Traceback (most recent call last):
File "run_scene.py", line 54, in
print i, labels[k]
NameError: name 'labels' is not defined
Hot fix
add:
with open(LABELS, 'rb') as f:
labels = pickle.load(f)
before:
for i, k in enumerate(predictions):
print i, labels[k]
in 'run_scene.py'
When I run 'python run_scene.py images/triple.jpg' it returns:
Hot fix
add:
before:
in 'run_scene.py'