Skip to content
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

AttributeError #28

Open
RohDong opened this issue Jul 15, 2019 · 8 comments
Open

AttributeError #28

RohDong opened this issue Jul 15, 2019 · 8 comments

Comments

@RohDong
Copy link

RohDong commented Jul 15, 2019

'Namespace' object has no attribute 'data_folder'

The above error occurred during the test.

What should be fixed?

@fangchangma
Copy link
Owner

Please provide more details.

@gautamjain1009
Copy link

gautamjain1009 commented Sep 30, 2019

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
Copy link
Owner

@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
Copy link

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
Copy link
Owner

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
Copy link

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
Copy link
Owner

fangchangma commented Oct 1, 2019

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

@fangchangma
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants