Working Real-ESRGAN Demo as of 21/4/2025 – Fix BasicsR Compatibility#911
Working Real-ESRGAN Demo as of 21/4/2025 – Fix BasicsR Compatibility#911DataTalesByAgos wants to merge 1 commit intoxinntao:masterfrom
Conversation
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
|
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! |
|
seems the issue is still happening .On running the code on colab i am getting the error |
I had the same issue before, but fixed it by pinning these versions: That functional_tensor error usually comes from using an incompatible torchvision version. Make sure you're not using a newer one. |
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)