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 run the "cd util && python prepare.py && cd -" in one terminal and "python main.py" in another terminal.
After that I try to upload the image of a car then there is an error :
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado-4.4.2-py2.7-linux-x86_64.egg/tornado/web.py", line 1467, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/home/nikhil/F Drive/MTP Test/py-cbir-master/apps/cbir.py", line 247, in post
phash_alg, index_alg = get_global_vars()
File "/home/nikhil/F Drive/MTP Test/py-cbir-master/apps/cbir.py", line 210, in get_global_vars
phash_alg = GlobalMatcher(SETNAME)
File "/home/nikhil/F Drive/MTP Test/py-cbir-master/apps/cbir.py", line 141, in init
self.load('conf/%s_gist.txt' % setname, self.gist)
File "/home/nikhil/F Drive/MTP Test/py-cbir-master/apps/cbir.py", line 144, in load
for line in open(pin):
IOError: [Errno 2] No such file or directory: 'conf/ferrari_gist.txt'
And in the terminal where i run main.py. Error is :
I run the "cd util && python prepare.py && cd -" in one terminal and "python main.py" in another terminal.
After that I try to upload the image of a car then there is an error :
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado-4.4.2-py2.7-linux-x86_64.egg/tornado/web.py", line 1467, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/home/nikhil/F Drive/MTP Test/py-cbir-master/apps/cbir.py", line 247, in post
phash_alg, index_alg = get_global_vars()
File "/home/nikhil/F Drive/MTP Test/py-cbir-master/apps/cbir.py", line 210, in get_global_vars
phash_alg = GlobalMatcher(SETNAME)
File "/home/nikhil/F Drive/MTP Test/py-cbir-master/apps/cbir.py", line 141, in init
self.load('conf/%s_gist.txt' % setname, self.gist)
File "/home/nikhil/F Drive/MTP Test/py-cbir-master/apps/cbir.py", line 144, in load
for line in open(pin):
IOError: [Errno 2] No such file or directory: 'conf/ferrari_gist.txt'
And in the terminal where i run main.py. Error is :
SyntaxError('unexpected EOF while parsing', ('', 1, 8957, '[0.10801810715592972, 0.002326306277452416, 0.002127562225475842, 0.0005990917825768668, 3.4315519765739386e-05, 0.0, 0.0, 0.0, 0.00547189558931186, 0.010420479502196192, 0.0015384791361639824, 0.0014970145497803806, 0.0010022991398243046, 0.00024735770497803805, 0.0, 0.0, 0.0008393004209370425, 0.001455549963396779, 0.0018701958272327964
Please help I am not able to figure out this error.
The text was updated successfully, but these errors were encountered: