photosynthesis-team / piq

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

Tests fail for some metrics due to mismatch between tensor devices #363

Closed denproc closed 1 year ago

denproc commented 1 year ago

Describe the bug Following tests fail when GPU is used.

To Reproduce Steps to reproduce the behavior:

  1. Clone Repo to machine with CUDA
  2. Run pytest tests
  3. Observe errors

Expected behavior No errors.

Screenshots image

Additional context Related to #362