Open emmamusiari opened 2 weeks ago
Thank you for reporting this. It seems there is inconsistent use of the device in presto-worldcereal
code base when the inference demo runs on a system with access to a GPU. Simplest workaround at the moment would be if you run the notebook on a system without GPU or where you disable the GPU visibility to torch (or use the Terrascope option to run on a pre-configured system)
Meanwhile we'll work on a more permanent fix.
@emmamusiari we have fixed a bug in presto-worldcereal
that should solve your issue. You should re-install this package in your environment (specifically from its croptype
branch). Let us know if it is still not working!
I've tried to run the worldcereal_v1_demo_custom_cropland.ipynb notebook in the "notebooks" folder.
When running this cell:
I get the runtime error below. I tried to fix it locally in presto.py but immediatelly after got another similar error.