diff --git a/embeddings/Dockerfile b/embeddings/Dockerfile index 7c591517..eb532ab7 100644 --- a/embeddings/Dockerfile +++ b/embeddings/Dockerfile @@ -36,6 +36,8 @@ RUN pip install \ wandb==0.17.5 \ rio_stac~=0.10.0 +RUN git pull && git checkout ceecb6138705cb28a5f4d3f61f22b19a2f625edb + # Move file to home directory so that relative imports work RUN cp embeddings/all-naip.py . RUN cp embeddings/all-sentinel.py . diff --git a/embeddings/all-sentinel.py b/embeddings/all-sentinel.py index 4015e090..2e5b70d9 100644 --- a/embeddings/all-sentinel.py +++ b/embeddings/all-sentinel.py @@ -124,7 +124,7 @@ def process_scene(clay, path, batchsize): kwargs = dict( bboxs=all_bboxs, datestr=str(item.datetime.date()), - gsd=gsd, + gsd=GSD, destination_bucket=EMBEDDINGS_BUCKET, path=path, source_bucket="sentinel-cogs",