diff --git a/CHANGELOG.md b/CHANGELOG.md index 01efd54..b101e49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,16 @@ - S3 downloads are now always performed in the main thread, to prevent `RuntimeError: cannot schedule new futures after interpreter shutdown`. +- `S3Storage` and `storage_factory()` now use the parameter name `bucket_name` instead of `bucketname` to be consistent with other usages in pyspacer (by @yeelauren). + +- `URLStorage` downloads and existence checks now have an explicit timeout of 20 seconds (this is a timeout for continuous unresponsiveness, not for the whole response). + +- EfficientNet feature extraction now uses CUDA if available (by @yeelauren). + +- Updates to pip-install dependencies: + + - Pillow: >=10.0.1 to >=10.2.0 + ## 0.7.0 - `TrainClassifierMsg` labels arguments have changed. Instead of `train_labels` and `val_labels`, it now takes a single argument `labels`, which is a `TrainingTaskLabels` object (basically a set of 3 `ImageLabels` objects: training set, reference set, and validation set). diff --git a/Dockerfile b/Dockerfile index ecbb543..8bc381a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -97,7 +97,7 @@ FROM caffe AS spacer RUN pip3 install coverage==7.0.5 RUN pip3 install tqdm==4.65.0 RUN pip3 install fire==0.5.0 -RUN pip3 install Pillow==10.1.0 +RUN pip3 install Pillow==10.2.0 RUN pip3 install scikit-learn==1.1.3 RUN pip3 install torch==1.13.1 RUN pip3 install torchvision==0.14.1 diff --git a/pyproject.toml b/pyproject.toml index 5e979f3..d044413 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ description = "Spatial image analysis with pytorch and caffe backends." readme = "README.md" requires-python = ">=3.8" dependencies = [ - "Pillow>=10.0.1", + "Pillow>=10.2.0", "numpy>=1.19", "scikit-learn==1.1.3", "torch==1.13.1", diff --git a/requirements.txt b/requirements.txt index 8adce3f..6224e37 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,7 @@ tqdm==4.65.0 fire==0.5.0 # https://pillow.readthedocs.io/en/stable/releasenotes/index.html -Pillow==10.1.0 +Pillow==10.2.0 # https://numpy.org/devdocs/release.html numpy==1.24.1