-
Notifications
You must be signed in to change notification settings - Fork 386
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
Pretrained model: TypeError: 'NoneType' object is not subscriptable #705
Comments
You'll need to use the |
Thanks, that works. |
Correction, now the xView and COWC models work, but not others. I tried running all models on the same JPEG and I get: rastervision predict /app/packages/ISPRS_Potsdam.zip example.jpg output.json
rastervision predict /app/packages/Spacenet_Vegas_Roads.zip example.jpg output.json
or
rastervision predict /app/packages/Spacenet_Vegas_Buildings.zip example.jpg output.json
|
The reason it crashed using the Potsdam package was because that was trained using a A separate issue is that saving predictions for semantic segmentation with non-georeferenced imagery (like a JPG file) is broken. This PR #708 should fix that issue. Thanks for hitting some edge cases that we normally don't run up against! |
I tried the most basic experiment, with the latest docker version:
And ran:
as an example image for quick testing:
And: (I tried multiple models)
I get:
Why? How can I fix this?
The text was updated successfully, but these errors were encountered: