label-maker
label-maker copied to clipboard
While downloading images this error appears
`Downloading 239 tiles to data/tiles Traceback (most recent call last): File "rasterio/_base.pyx", line 213, in rasterio._base.DatasetBase.init File "rasterio/_shim.pyx", line 64, in rasterio._shim.open_dataset File "rasterio/_err.pyx", line 205, in rasterio._err.exc_wrap_pointer rasterio._err.CPLE_HttpResponseError: HTTP response code: 422 - Failed writing header
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/shubham/anaconda3/envs/bldgdet/bin/label-maker", line 11, in
Kindly help as Images could not be downloaded.
@shubhamsharma1609 what imagery are you using? It looks like something might be wrong with the file. If you have it available locally, and rasterio
installed, can you try running rio insp [filename]
?
I am just using through command line label-maker images
and I am getting this error .
I have installed label-maker through conda.
I tried downloading the tiles for mexico,that are given in this tutorial :
https://github.com/developmentseed/label-maker/blob/master/examples/walkthrough-tensorflow-object-detection.md
@shubhamsharma1609 which version of rasterio
do you have installed? There is a specific catch for this error here which should prevent the processing from stopping at this point. Not totally sure why that isn't the case
hey @drewbo - I'm also facing the same error for label-maker images
command. This is for the Togo dataset in a conda environment with rasterio 1.1.1
@ramyaragupathy @shubhamsharma1609 are you using a valid mapbox API access token?
yes - the first two steps - download and labels went through
@ramyaragupathy @shubhamsharma1609 because of a specific API issue that we haven't resolved for tiling yet, the library is pinned to a specific rasterio
verison (rasterio==1.0a12
). Can you try using that and see if it resolves? Also it might be worth clearing out the data
folder and starting from scratch: I've had trouble reproducing this one