Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug with limit version of torchvision because of basicsr and gfpgan.archs #858

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wladradchenko
Copy link

Hi! I encountered an issue with compatibility in issue #768 and wanted to share a solution that avoids limiting the torchvision version. Instead of enforcing a version constraint, we can make the code more flexible by dynamically adding any missing functions from torchvision.transforms.functional_tensor. This approach maintains compatibility across versions, allowing the code to benefit from performance and optimizations in newer versions of Torch and TorchVision as they become available.

Hope this helps streamline version handling in the project!

fix bug with version torchvision limit
fix bug with version torch limit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant