SHI-Labs / FcF-Inpainting

[WACV 2023] Keys to Better Image Inpainting: Structure and Texture Go Hand in Hand
https://praeclarumjj3.github.io/fcf-inpainting/
Other
173 stars 13 forks source link

ModuleNotFoundError:No module named 'training' #31

Open LYL-hub-source opened 1 year ago

LYL-hub-source commented 1 year ago

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 commented 1 year ago

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

namirahrasul commented 6 months ago

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