Replies: 3 comments 1 reply
-
It works fine locally on my end. I have not tried docker. https://samgeo.gishub.org/examples/automatic_mask_generator_hq/ |
Beta Was this translation helpful? Give feedback.
-
Thanks for checking ukraine_sample.tif! I need to fetch the model weights during build time because the environment I am in does not allow calls to external resources when the container is running. |
Beta Was this translation helpful? Give feedback.
-
Hi @giswqs ! Did you get a chance to check out the Docker image? I am mainly pinging you because I am using your image from DockerHub and the code is straight from the satellite image segmentation section of the segment-geospatial doc page. I tried running the docker image with the model weights part taken out and it's constantly failing about 20-30% through downloading the weights with this error
See -> |
Beta Was this translation helpful? Give feedback.
-
Context
I am attempting to segment a very small sample of harmonized Sentinel-Landsat imagery. I have included this GeoTIFF inside my container:
https://github.com/easierdata/Ukraine_E2E_App/blob/main/ukraine_sample.tif
Here is my dockerfile on DockerHub and the whole repo with all the files and code is here.
Here is the Python Script that is running
When I run it with:
The output stays stuck at 0% 0/64. I let it run for 15 mins and it stayed at 0% the whole time while maxing out my machine's resources. I am on an M1 MacBook Pro with a GPU, so this very small amount of imagery, (84,240 pixels)
Thoughts
I've tried this docker container with many different kinds of imagery, but they all stay stuck at 0%. Since this used to work, I am at a loss to what is wrong. If someone can try out my Docker Image with their imagery, it would help me narrow down the issue!
To create the imagery to pass into the model, I followed this process to mosaic the imagery and make sure the values were between 0-255.
Beta Was this translation helpful? Give feedback.
All reactions