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
My name is Ben and I am a Masters student from UCSD. I am trying to use your UnDepthflow github code for my research thesis and am having some trouble running the code. I was wondering if you could help with trying to get the code running? I really appreciate it!
So far, I downloaded the raw KITTI data and the KITTI 2012/2015 training data. I am running on a Windows 10 computer with Python 3.6.8.
To run the code, I used the following command:
python main.py --data_dir=/Users/Benjamin Chang/Documents/X-Research/UnDepthflow/KITTI_Raw_Data/ --batch_size=4 --mode=depthflow --train_test=test --retrain=True --eval_pose=09,10 --pretrained_model=/Users/Benjamin Chang/Documents/X-Research/UnDepthflow/UnDepthflow-master/pretrained models/model-depth.data-00000-of-00001 --train_file=./filenames/kitti_train_files_png_4frames.txt --gt_2012_dir=/Users/Benjamin Chang/Documents/X-Research/UnDepthflow/KITTI_2012_Stereo_Flow_Data/ --gt_2015_dir=/Users/Benjamin Chang/Documents/X-Research/UnDepthflow/KITTI_2015_Stereo_Flow_Data/ --trace=/Users/Benjamin Chang/Documents/X-Research/UnDepthflow/store_models_and_logs/
... but am getting the following error no matter what I do:
"TypeError: 'Tensor' object is not iterable."
The main.py file is essentially getting stuck trying to create a 'model' object from the 'Model' class. One thing I'm unsure about is if my paths are correct. No matter how I change it, the code still runs and gives the same error, but I'm not sure. Could you let me know if my paths look correct?
Really appreciate your time. Thanks!
The text was updated successfully, but these errors were encountered:
My name is Ben and I am a Masters student from UCSD. I am trying to use your UnDepthflow github code for my research thesis and am having some trouble running the code. I was wondering if you could help with trying to get the code running? I really appreciate it!
So far, I downloaded the raw KITTI data and the KITTI 2012/2015 training data. I am running on a Windows 10 computer with Python 3.6.8.
To run the code, I used the following command:
python main.py --data_dir=/Users/Benjamin Chang/Documents/X-Research/UnDepthflow/KITTI_Raw_Data/ --batch_size=4 --mode=depthflow --train_test=test --retrain=True --eval_pose=09,10 --pretrained_model=/Users/Benjamin Chang/Documents/X-Research/UnDepthflow/UnDepthflow-master/pretrained models/model-depth.data-00000-of-00001 --train_file=./filenames/kitti_train_files_png_4frames.txt --gt_2012_dir=/Users/Benjamin Chang/Documents/X-Research/UnDepthflow/KITTI_2012_Stereo_Flow_Data/ --gt_2015_dir=/Users/Benjamin Chang/Documents/X-Research/UnDepthflow/KITTI_2015_Stereo_Flow_Data/ --trace=/Users/Benjamin Chang/Documents/X-Research/UnDepthflow/store_models_and_logs/
... but am getting the following error no matter what I do:
"TypeError: 'Tensor' object is not iterable."
The main.py file is essentially getting stuck trying to create a 'model' object from the 'Model' class. One thing I'm unsure about is if my paths are correct. No matter how I change it, the code still runs and gives the same error, but I'm not sure. Could you let me know if my paths look correct?
Really appreciate your time. Thanks!
The text was updated successfully, but these errors were encountered: