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

ImportError: No module named hdrnet.metrics #45

Open
SP251 opened this issue Aug 13, 2019 · 2 comments
Open

ImportError: No module named hdrnet.metrics #45

SP251 opened this issue Aug 13, 2019 · 2 comments

Comments

@SP251
Copy link

SP251 commented Aug 13, 2019

Please help me for the below issue
After running this command from hdrnet directory, I am getting the below error :
python ./bin/train.py /pretrained_models/ /sample_data/identity/input/ /sample_data/identity/filelist.txt

Traceback (most recent call last):
File "./bin/train.py", line 26, in
import hdrnet.metrics as metrics
ImportError: No module named hdrnet.metrics

@rockeyben
Copy link

you can do this in root dir:
export PYTHONPATH=$PYTHONPATH:hdrnet

@TCBocean
Copy link

I have used the command line to run, this problem will also occur, then I use pycharm to build the project, running in pycharm will not give an error.

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