fangchangma / self-supervised-depth-completion

ICRA 2019 "Self-supervised Sparse-to-Dense: Self-supervised Depth Completion from LiDAR and Monocular Camera"
MIT License
623 stars 135 forks source link

AttributeError #28

Open RohDong opened 5 years ago

RohDong commented 5 years ago

'Namespace' object has no attribute 'data_folder'

The above error occurred during the test.

What should be fixed?

fangchangma commented 5 years ago

Please provide more details.

gautamjain1009 commented 4 years ago

I have the same issue! everything is working fine but when i run main.py with the pretrained model argument i got this similar error like down below.

error_sp

I have the same folder structure as described by you in readme file.

Please help.

fangchangma commented 4 years ago

@gautamjain1009 Thanks for the screenshot. It turns out that the problem was due to a version difference in the code and the previously saved results. I just pushed a minor update, and it should fix the issue. Let me know if it works for you now.

gautamjain1009 commented 4 years ago

Thank you for your reply. @fangchangma That error is gone but still not working properly,

Screenshot from 2019-09-30 20-13-38

under kitti_depth in the data folder, i am using the "train" and "val" which i got from-" Download projected raw LiDaR scans data set (2 GB) " at KITTI depth completion benchmark.

The argument is not able to find anything in the data, i have rechecked the structure and the path again.

fangchangma commented 4 years ago

By default we use the ../data/kitti_depth/val_selection_cropped folder for validation. This is the "manually selected validation and test data sets (5 GB)" on the KITTI website.

I am not entirely sure if the current version of the code still supports loading the uncropped ../data/kitti_depth/val folder, but feel free to give it a shot by adding --val full to your command.

gautamjain1009 commented 4 years ago

I tried adding "--val full" while executing the main.py but still it gives the same issue, what should i do, to make it work.

fangchangma commented 4 years ago

It seems that the file structure of KITTI Depth has changed recently. I will update my code accordingly. Please stay tuned.

fangchangma commented 4 years ago

Just updated the code and the README for the latest file structure.