thoth-station / ps-cv

This is a repository for a Predictive Stack for Computer Vision (CV)
GNU General Public License v3.0
0 stars 9 forks source link

ps-cv-pytorch -- pillow 8.3.0 has a bug #16

Closed ViitasaariVille closed 3 years ago

ViitasaariVille commented 3 years ago

Describe the bug Pytorch doesn't work correctly with pillow 8.3.0 (https://stackoverflow.com/questions/68223871/pytorch-cifar10-dataset-cannot-get-first-item). Downgrading pillow to 8.2.0 seems to solve the issue.

To Reproduce Steps to reproduce the behavior:

  1. train_data = torchvision.datasets.ImageFolder(root="data/...", transform=TRANSFORM_IMG).
pacospace commented 3 years ago

Related-To: https://github.com/python-pillow/Pillow/issues/5571

It seems Pillow team released a patch version that should resolve that issue as well: 8.3.1

goern commented 3 years ago

/triage accepted /assign @pacospace /lifecycle active

pacospace commented 3 years ago

@ViitasaariVille Thanks a lot for opening this issue, after PR linked is merged, we will make a new release of the image!

pacospace commented 3 years ago

@ViitasaariVille new image is available https://quay.io/repository/thoth-station/ps-cv-pytorch?tag=v0.1.2&tab=tags with v0.1.2 tag. Let us know if all works fine now! and thanks once again!

ViitasaariVille commented 3 years ago

@ViitasaariVille new image is available https://quay.io/repository/thoth-station/ps-cv-pytorch?tag=v0.1.2&tab=tags with v0.1.2 tag. Let us know if all works fine now! and thanks once again!

Works now, many thanks! :)