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 'training' #31

Open
LYL-hub-source opened this issue May 10, 2023 · 2 comments
Open

ModuleNotFoundError:No module named 'training' #31

LYL-hub-source opened this issue May 10, 2023 · 2 comments

Comments

@LYL-hub-source
Copy link

Hello, thank you very much for your contribution. I encountered the following error when I was debugging. When I run the bash tools/prepare_places_val.sh command I get No module named 'training'
2023-05-10 10-32-06 的屏幕截图
Thank you very much for your reply!!!

@charliezjw
Copy link

Did you run this command?
export TORCH_HOME=$(pwd) && export PYTHONPATH=.

@namirahrasul
Copy link

me too, ran ''' export TORCH_HOME=$(pwd) && export PYTHONPATH=.''' ,added .init.py to rootmproject folder and also tried to call..training.data.gen_loader
then I get relative import but parenrt package unknown

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