PerceptualSimilarity
PerceptualSimilarity copied to clipboard
Update for TorchVision 0.13
This PR updates lpips/pretrained_networks.py to become compatible with the new Multi-weights API of TorchVision 0.13. This fixes the warnings mentioned in #108. Backward compatibility with previous TorchVision versions is also maintained, as in this example.