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

What is the structure of the dataset? #1

Closed
yuyunlong2002 opened this issue Aug 24, 2022 · 4 comments
Closed

What is the structure of the dataset? #1

yuyunlong2002 opened this issue Aug 24, 2022 · 4 comments

Comments

@yuyunlong2002
Copy link

After I downloaded the code from the website, it did get an error. The reason is that the sequences folder under my data folder is empty. I didn't see the relevant content of the dataset from the README. I want to know that this error is due to me Is it caused by not preparing the data set, and what are the requirements for the data set of the code?

@xiaoaoran
Copy link
Owner

Thanks for your interest in our work.

You may download SemanticKITTI from the official website and change the dataset path in the config file.

@yuyunlong2002
Copy link
Author

yuyunlong2002 commented Sep 2, 2022

Hello, I have downloaded Kitti dataset and changed the path of myself.root to the storage path of the dataset in parser.py, but the following error appeared during the program running:
File "/home/yuyun/anaconda3/envs/FPSNet/lib/python3.7/site-packages/torch/utils/data/ sampler.py", line 66, in init
"value, but got num_samples={}".format(self.num_samples))
ValueError: num_samples should be a positive integer value, but got num_samples=0
I suspect I didn't read the Kitti dataset correctly, but I don't know what other places need to be changed based on my own path. Also, in the yaml file of the config folder I did not find the place where the data path is set, can I have more guidance?

@xiaoaoran
Copy link
Owner

Hi, you may need to change this line into your own path

https://github.com/xiaoaoran/FPS-Net/blob/main/train/tasks/semantic/dataset/kitti/parser.py#L9

Please feel free to contact me if any problems!

@yuyunlong2002
Copy link
Author

Thank you for your help! I solved the problem

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

2 participants