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
No module named 'hyper_seg' #12
Comments
You need to add the parent directory of the repository to PYTHONPATH. |
Dear doctor Nirkin, thank you for your reply on this question. And I just tried to add run the test order Looking forward to your reply! |
Dear doctor Nirkin, I found the error after reading the code. The test command you gave in the README.md file does not require an underscore. |
I fixed the README, thanks! |
Hi, I have the same problem, how did you add the directory to the PythonPath, please? |
Because the training failed, I tried to download cityscapes_efficientnet_b1_hyperseg-m.pth to hyperseg/weights, and renamed it to model_best.pth,
I try
python test.py 'weights'
-td "hyper_seg.datasets.cityscapes.CityscapesDataset('data/cityscapes',split='val',mode='fine')"\ -it "seg_transforms.LargerEdgeResize([512,1024])"
--gpus 0
Looking forward to your reply!
The text was updated successfully, but these errors were encountered: