-
Notifications
You must be signed in to change notification settings - Fork 52
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
How can I run inference on a sample of images? #50
Comments
Just replace |
@bohare Hi were you able to test using test.py? Can you please share your test.py command? I am trying the following but it is not working: I get the following error:
|
The dataset is hardcoded by Line 16 in fc4b854
You must replace icboard with args.dataset . The list of available dataset names is in this fileby available keys in FCHarDNet/ptsemseg/loader/__init__.py Line 18 in fc4b854
|
This is only part of the problem. The argument of Line 18 in fc4b854
None to the Cityscapes data directory combined with your suggestion, I was able to test the script.
|
@bohare @cao-nv Thanks for the reply. I am a little confused. You mentioned I need to point root to the Cityscapes data directory. So does FCHarDNet/test.py require the Cityscape data directory to operate even if I am testing/inferring on my own images? Also is there a specific Cityscape dataset that it requires? There are quite a few cityscapes dataset at their download site. And is a specific directory structure required? |
Actually, the test code requires the dataset name to decode segmentation outputs to the proper color map. However, you still have to point to the folder of the specified dataset. |
Hello, thanks for your work.
I would like to use
test.py
to run inference on a folder of images without having to download entire Cityscapes dataset. Is it possible to do this?Currently, when I try to do it, I get the following error:
Thanks for your help.
The text was updated successfully, but these errors were encountered: