photosynthesis-team / piq

Measures and metrics for image2image tasks. PyTorch.
Apache License 2.0
1.32k stars 114 forks source link

Update tests for scikit-image > 0.20.0 #365

Open snk4tr opened 1 year ago

snk4tr commented 1 year ago

Is your feature request related to a problem? Please describe. The latest scikit-image release (v0.21.0) changed the default shape of loaded tensors, which broke at least tests for BRISQUE but presumably all image loading-related tests. Temporary solution in #348 is to freeze scikit-image==0.20.0 in the CI testing pipeline.

Describe the solution you'd like We may need to update tests to handle future scikit-image versions.

Describe alternatives you've considered We might leave it as is for now.

Additional context The failed job with scikit-image==0.21.0. The fixed job with lowerred scikit-image version to 0.20.0.