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

Help with issue to prepare dataset #223

Closed
diegola123 opened this issue Jan 24, 2024 · 3 comments
Closed

Help with issue to prepare dataset #223

diegola123 opened this issue Jan 24, 2024 · 3 comments

Comments

@diegola123
Copy link

Hello All,

I will appreciate any help you can provide me.

When I am trying to prepare the dataset, I am receiving the following error:

> root@diego-Amd-Am5:/nuscenes/BEVFormer# python tools/create_data.py nuscenes --root-path ./data/nuscenes --out-dir ./data/nuscenes --extra-tag nuscenes --version v1.0 --canbus ./data
> Traceback (most recent call last):
>   File "tools/create_data.py", line 10, in <module>
>     from data_converter import indoor_converter as indoor
>   File "/nuscenes/BEVFormer/tools/data_converter/indoor_converter.py", line 6, in <module>
>     from tools.data_converter.s3dis_data_utils import S3DISData, S3DISSegData
> ModuleNotFoundError: No module named 'tools.data_converter'
> root@diego-Amd-Am5:/nuscenes/BEVFormer# 

I tried to run the following command to include a new input in the Environment Variables, but so far, no luck.

export PYTHONPATH=$PYTHONPATH:"./"

Thanks for any help

Best Regards
Diego

@wuhen777
Copy link

indoor_converter.py 修改

from .s3dis_data_utils import S3DISData, S3DISSegData
from .scannet_data_utils import ScanNetData, ScanNetSegData
from .sunrgbd_data_utils import SUNRGBDData
#from tools.data_converter.s3dis_data_utils import S3DISData, S3DISSegData
#from tools.data_converter.scannet_data_utils import ScanNetData, ScanNetSegData
#from tools.data_converter.sunrgbd_data_utils import SUNRGBDData

改完之后试一遍,如果不行就像下面去加路径
export PYTHONPATH="/root/autodl-tmp/BEVFormer:$PYTHONPATH"

@lix19937
Copy link

see #241 (comment)

@diegola123
Copy link
Author

rom .s3dis_data_utils import S3DISData, S3DISSegData
from .scannet_data_utils import ScanNetData, ScanNetSegData
from .sunrgbd_data_utils import SUNRGBDData

Sorry, I forgot to say Thank you. It did work.

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