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

ModuleNotFoundError: No module named 'tools.data_converter' #237

Open
hitbuyi opened this issue Mar 21, 2024 · 2 comments
Open

ModuleNotFoundError: No module named 'tools.data_converter' #237

hitbuyi opened this issue Mar 21, 2024 · 2 comments

Comments

@hitbuyi
Copy link

hitbuyi commented Mar 21, 2024

When I run command to create data, the error happened

(pt110) hitbuyi@hitbuyi-Dell-G15-5511:~/PycharmProjects/pytorch_project/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 "/home/hitbuyi/PycharmProjects/pytorch_project/BEVFormer/tools/data_converter/indoor_converter.py", line 7, in <module>
    from tools.data_converter.s3dis_data_utils import S3DISData, S3DISSegData
ModuleNotFoundError: No module named 'tools.data_converter'

my files' hierarchy as below

Screenshot from 2024-03-21 20-22-58

What caused this problem and how to solve it ?

pluveto added a commit to pluveto/BEVFormer that referenced this issue Mar 26, 2024
@Aurora-Legend
Copy link

export PYTHONPATH=./

@lix19937
Copy link

see #241 (comment)

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