monodepth
monodepth copied to clipboard
Can't run test models on windows
Hello!
I configured everything, as properly as I could imagine.
Tensorflow keeps saying that:
DataLossError (see above for traceback): Unable to open table file models\model_ cityscapes: Unknown: NewRandomAccessFile failed to Create/Open: models\model_cit yscapes : Access is denied. ; Input/output error [[node save/RestoreV2 (defined at monodepth_simple.py:66) ]]
Even though, I'm running my anaconda as an admin, on win7. It spits the same for model_kitti. I also tried with absolute paths, or relative paths.
The error is the same for all of the above situations, but here is what I tried last:
(tensorflow) C:\monodepth>python monodepth_simple.py --image_path test.jpg --checkpoint_path models\model_cityscapes
Not sure what's the problem here :(
As far as I know , tensorflow 1.0 is not supported on windows. You might want to get a ubuntu 16 and CUDA 8 to run this code
or
it is due to linux path separator , check content of input file list in utils/filenames/
offtopic WOW! Just got it running, amazed by this thing to be honest. Anyway I did as you suggested: Ubuntu 18.04 LTS But, even like this, it wouldn't work as it should I had to do the following command:
python monodepth_simple.py --image_path /home/spacewalkingninja/test.jpg --checkpoint_path /home/spacewalkingninja/monodepth/models/model_cityscapes/model_cityscapes.data-00000-of-00001
AND MAGIC!
Why is tf so hard to use?
I think this is why so many people turn to pytorch.