hdrnet_legacy icon indicating copy to clipboard operation
hdrnet_legacy copied to clipboard

ImportError: No module named hdrnet.metrics

Open SP251 opened this issue 5 years ago • 2 comments

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

SP251 avatar Aug 13 '19 19:08 SP251

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

rockeyben avatar Aug 16 '19 07:08 rockeyben

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.

TCBocean avatar Sep 29 '19 07:09 TCBocean