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 trained model with 2000 images . but when i run it saying if HumanNames[best_class_indices[0]] == H_i: IndexError: list index out of range
Result Indices: 1872
HumanNames: ['Akshay Kumar', 'Nawazuddin Siddiqui', 'Salman Khan', 'Shahrukh Khan', 'Sunil Shetty', 'Sunny Deol']
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/abhishekkumar/Downloads/face/test_image.py", line 130, in
if HumanNames[best_class_indices[0]] == H_i:
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
i trained model with 2000 images . but when i run it saying if HumanNames[best_class_indices[0]] == H_i: IndexError: list index out of range
Result Indices: 1872
HumanNames: ['Akshay Kumar', 'Nawazuddin Siddiqui', 'Salman Khan', 'Shahrukh Khan', 'Sunil Shetty', 'Sunny Deol']
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/abhishekkumar/Downloads/face/test_image.py", line 130, in
if HumanNames[best_class_indices[0]] == H_i:
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: