self-supervised-depth-completion icon indicating copy to clipboard operation
self-supervised-depth-completion copied to clipboard

AttributeError

Open RohDong opened this issue 4 years ago • 8 comments

'Namespace' object has no attribute 'data_folder'

The above error occurred during the test.

What should be fixed?

RohDong avatar Jul 15 '19 03:07 RohDong

Please provide more details.

fangchangma avatar Jul 16 '19 07:07 fangchangma

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.

gautamjain1009 avatar Sep 30 '19 17:09 gautamjain1009

@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.

fangchangma avatar Sep 30 '19 17:09 fangchangma

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.

gautamjain1009 avatar Sep 30 '19 18:09 gautamjain1009

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.

fangchangma avatar Sep 30 '19 18:09 fangchangma

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.

gautamjain1009 avatar Sep 30 '19 18:09 gautamjain1009

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

fangchangma avatar Oct 01 '19 18:10 fangchangma

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

fangchangma avatar Oct 02 '19 20:10 fangchangma