You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to evaluate the images via 'inception.015-0.27.hdf5' model.
I set test_data_num = 15 in order to check its working or not. i am getting following error.
before that i tried on while dataset and its running since 2017-12-09 10:01:09 and the process is not completed. i am getting upset if after so many days i will get an exception so that i tried with small amount of images but it gaves error.
Please help to get rid of this.
Traceback (most recent call last):
File "CNN_evaluate_testset.py", line 33, in
main()
File "CNN_evaluate_testset.py", line 27, in main
results = model.evaluate_generator(generator=test_generator, steps=test_data_num // batch_size)
File "/home/taimoor/anaconda3/envs/my_env/lib/python3.6/site-packages/keras/legacy/interfaces.py", line 88, in wrapper
return func(*args, **kwargs)
File "/home/taimoor/anaconda3/envs/my_env/lib/python3.6/site-packages/keras/engine/training.py", line 2038, in evaluate_generator
if not isinstance(outs, list):
UnboundLocalError: local variable 'outs' referenced before assignment
The text was updated successfully, but these errors were encountered:
I am trying to evaluate the images via 'inception.015-0.27.hdf5' model.
I set test_data_num = 15 in order to check its working or not. i am getting following error.
before that i tried on while dataset and its running since 2017-12-09 10:01:09 and the process is not completed. i am getting upset if after so many days i will get an exception so that i tried with small amount of images but it gaves error.
Please help to get rid of this.
Traceback (most recent call last):
File "CNN_evaluate_testset.py", line 33, in
main()
File "CNN_evaluate_testset.py", line 27, in main
results = model.evaluate_generator(generator=test_generator, steps=test_data_num // batch_size)
File "/home/taimoor/anaconda3/envs/my_env/lib/python3.6/site-packages/keras/legacy/interfaces.py", line 88, in wrapper
return func(*args, **kwargs)
File "/home/taimoor/anaconda3/envs/my_env/lib/python3.6/site-packages/keras/engine/training.py", line 2038, in evaluate_generator
if not isinstance(outs, list):
UnboundLocalError: local variable 'outs' referenced before assignment
The text was updated successfully, but these errors were encountered: