Skip to content

Working Real-ESRGAN Demo as of 21/4/2025 – Fix BasicsR Compatibility #911

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DataTalesByAgos
Copy link

Problem fixed on colab: ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor'

This pull request updates the setup instructions for Real-ESRGAN to ensure compatibility as of 21/04/2025.

  • Uninstalls existing torch, torchvision, and basicsr versions.

  • Installs torch==1.13.0 and torchvision==0.14.0 compatible with CUDA 12.1.

  • Installs basicsr using a known working commit: 8d56e3a045f9fb3e1d8872f92ee4a4f07f886b0a from XPixelGroup/BasicSR.

✅ Working demo tested on Google Colab (https://colab.research.google.com/drive/1s14s55W5MIMIY051fwzCzkCIyjDkBEFx?usp=sharing)

This pull request updates the setup instructions for Real-ESRGAN to ensure compatibility as of 21/04/2025.

- Uninstalls existing torch, torchvision, and basicsr versions.

- Installs torch==1.13.0 and torchvision==0.14.0 compatible with CUDA 12.1.

- Installs basicsr using a known working commit: 8d56e3a045f9fb3e1d8872f92ee4a4f07f886b0a from XPixelGroup/BasicSR.

✅ Working demo tested on Google Colab
@DataTalesByAgos
Copy link
Author

Let me know if there's any feedback or if you'd prefer a different commit/version for basicsr. I’m happy to adjust it. Thanks for maintaining this great project!

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