-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run "python demo.py" issue #2
Comments
Hi Jaypancool |
I'm facing following error when I run the demo.py script |
The solution is to create a results directory inside the pyseqslam directory and then run demo. It will automatically take care of the rest. |
Hi, Ahmedest61. |
When I run:
Python demo.py
it traceback:
Warning: Environment variable DATASET_1_PATH not found! Trying '../datasets/nordland/64x32-grayscale-1fps/spring'
Warning: Environment variable DATASET_2_PATH not found! Trying '../datasets/nordland/64x32-grayscale-1fps/winter'
Preprocessing dataset spring, indices 1 - 35601 ...
/home/jaypan/projects/SeqSLAM/pySeqSLAM/pyseqslam/seqslam.py:139: RuntimeWarning: invalid value encountered in divide
img[n[i]:n[i+1], m[j]:m[j+1]] = 127+np.reshape(np.round((pp-np.mean(pp))/np.std(pp, ddof=1)), (s, s))
Traceback (most recent call last):
File "demo.py", line 99, in
demo()
File "demo.py", line 82, in demo
results = ss.run()
File "/home/jaypan/projects/SeqSLAM/pySeqSLAM/pyseqslam/seqslam.py", line 22, in run
results = self.doPreprocessing()
File "/home/jaypan/projects/SeqSLAM/pySeqSLAM/pyseqslam/seqslam.py", line 60, in doPreprocessing
savemat(filename, {'results_preprocessing': results_preprocessing})
File "/usr/local/lib/python2.7/dist-packages/scipy/io/matlab/mio.py", line 204, in savemat
file_stream = open(file_name, 'wb')
IOError: [Errno 2] No such file or directory: 'results/preprocessing-spring-1-100-35601.mat'
What's the wrong?
The text was updated successfully, but these errors were encountered: