BasicSR
BasicSR copied to clipboard
Google Colab Unespected Error
just opened the colab version after some months and I got this when start inference:
Traceback (most recent call last):
File "/content/Real-ESRGAN/inference_realesrgan_video.py", line 10, in
I also found this on Update degradations.py #624 :
"Fix #533 functional_tensor not found
The torchvision.transforms.functional_tensor module is deprecated since torchvision 0.15, and it will be no longer available in 0.17
Change import source of rgb_to_grayscale from torchvision.transforms.functional_tensor to torchvision.transforms.functional, so as to avoid the deprecation warning."
Since I'm using Real Esrgan on Colab I can't find "degradation.py" so I don't know how to solve this problem (assuming that this will solve the problem).