image-quality-assessment
image-quality-assessment copied to clipboard
Oserror: cannot open file
I get the following error, trying to evaluate an image.
2020-03-14 13:46:36.250641: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2020-03-14 13:46:36.296629: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 1596305000 Hz
2020-03-14 13:46:36.300492: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x439bda0 executing computations on platform Host. Devices:
2020-03-14 13:46:36.304989: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): Host, Default Version
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/src/evaluater/predict.py", line 73, in
I could solve the error by removing spaces from my directory path.
I had this path:
/Users/peterpeter/Documents/_ Code/_nima/image-quality-assessment-master
After removing the space in _ Code
and changing it to _Code
I successfully could run the predict command.