Closed sjg918 closed 1 year ago
You have to add your current directory to PYTHONPATH
.
One way to do so is to add the following lines at the beginning of tools/test.py
.
import sys
sys.path.insert(0, "{your_current_absolute_path}")
Also you can try this:
export PYTHONPATH=$PYTHONPATH:{your_current_absolute_path}
Thank you for your answer. I solved the problem !
Hi. I am trying without using Docker..... I installed it by entering the command below.
(using python==3.8.17)
I successfully installed and entered the command below.
python tools/test.py configs/clrernet/culane/clrernet_culane_dla34_ema.py checkpoints/clrernet_culane_dla34_ema.pth
And got the following error message:
I commented out custom_imports in clrnet_culane_dla34_ema.py to track down the error. And got the error below:
I think this is a simple import error. how can i solve it?