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

Not able to generate correct result #62

Open
imashu opened this issue Apr 30, 2023 · 1 comment
Open

Not able to generate correct result #62

imashu opened this issue Apr 30, 2023 · 1 comment
Labels
question Further information is requested

Comments

@imashu
Copy link

imashu commented Apr 30, 2023

After running the predict_test.py from semantic segmentation code, I get a output of Validation data images in the /out directory. But to submit for evaluation scores on CodaLab we need results for the Tese data not the Val data. Please clarify what is wrong in this case.

This output is after running ./script/predict_test.sh. We can see clearly it is taking Val images as input to produce the ./out images
INFO:numexpr.utils:NumExpr defaulting to 2 threads.
Load model!
INFO:data.loveda:./LoveDA/Val/Urban/images_png -- Dataset images: 677
INFO:data.loveda:./LoveDA/Val/Rural/images_png -- Dataset images: 992
Downloading: "https://download.openmmlab.com/pretrain/third_party/hrnetv2_w32-dc9eeb4f.pth" to /root/.cache/torch/hub/checkpoints/hrnetv2_w32-dc9eeb4f.pth
100% 158M/158M [00:06<00:00, 25.6MB/s]
INFO:ever.core.logger:HRNetEncoder: pretrained = True
100% 417/417 [11:06<00:00, 1.60s/it]

@Junjue-Wang
Copy link
Owner

You can revise the config paths to generate test masks.

@Junjue-Wang Junjue-Wang added the question Further information is requested label May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants