stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: FileNotFoundError: [Errno 2] No such file or directory: '/content/GFPGAN/results/restored_imgs'
Checklist
- [ ] The issue exists after disabling all extensions
- [ ] The issue exists on a clean installation of webui
- [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
- [x] The issue exists in the current version of the webui
- [ ] The issue has not been reported before recently
- [ ] The issue has been reported before but has not been fixed yet
What happened?
This error has been happening to me for months when I use GFP-GAN from Google Colab, this time I use this model to improve videos, and every time I use GFP-GAN I get this error:
Traceback (most recent call last):
File "/content/GFPGAN/inference_gfpgan.py", line 7, in
from basicsr.utils import imwrite
File "/usr/local/lib/python3.10/dist-packages/basicsr/init.py", line 4, in
from .data import *
File "/usr/local/lib/python3.10/dist-packages/basicsr/data/init.py", line 22, in
_dataset_modules = [importlib.import_module(f'basicsr.data.{file_name}') for file_name in dataset_filenames]
File "/usr/local/lib/python3.10/dist-packages/basicsr/data/init.py", line 22, in
_dataset_modules = [importlib.import_module(f'basicsr.data.{file_name}') for file_name in dataset_filenames]
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/local/lib/python3.10/dist-packages/basicsr/data/realesrgan_dataset.py", line 11, in
from basicsr.data.degradations import circular_lowpass_kernel, random_mixed_kernels
File "/usr/local/lib/python3.10/dist-packages/basicsr/data/degradations.py", line 8, in
from torchvision.transforms.functional_tensor import rgb_to_grayscale
ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor'
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: [Errno 2] No such file or directory: '/content/GFPGAN/results/restored_imgs'
I need help to solve this problem, I don't know what to do to fix it.
Link: https://colab.research.google.com/drive/1Z6RINOM-wTmXcWuHatgPpJ5nVg39bZkr?usp=sharing#scrollTo=6jiX3Kw6FJ4p
Steps to reproduce the problem
- Mount Google Drive
- Install GFP-GAN
- Start the process of improvement
What should have happened?
Problems in the library, when installing the model, it does not install the result folder along with the restored_imgs folder and three other folders.
What browsers do you use to access the UI ?
No response
Sysinfo
Google Colab
Console logs
Nothing
Additional information
No response