Describe your environment
- GPU: [cuda/amd/mps/cpu] MPS and Cuda
- VRAM: [if known] N/A
- CPU arch: [x86/arm] ARM
- OS: [Linux/Windows/macOS] macOS
- Python: [Anaconda/miniconda/miniforge/pyenv/other (explain)] miniconda
- Branch: [if
git status says anything other than "On branch main" paste it here] development
- Commit: [run
git show and paste the line that starts with "Merge" here] bfb2781
Describe the bug
Error 'NoneType' object has no attribute 'enhance' when using GFPGAN via the Web UI.
>> Error running RealESRGAN or GFPGAN. Your image was not upscaled.
'NoneType' object has no attribute 'enhance'
To Reproduce
On MPS:
Steps to reproduce the behavior:
- Run the server with
python scripts/dream.py --full_precision --web
- Generate an image with
Upscaling Level = x2|x3|x4 (GPFGAN Strength can be anything)
On CUDA
Steps to reproduce the behavior:
- Run the server with
python scripts/dream.py --full_precision --web
- Generate an image with
Upscaling Level = x3 (GPFGAN Strength can be anything)
The terminal will return
>> Real-ESRGAN Upscaling seed:XXXX : scale:3x
>> Error running RealESRGAN or GFPGAN. Your image was not upscaled.
'NoneType' object has no attribute 'enhance'
Expected behavior
The generation of the image works with GPFGAN and Upscaling without any trouble.
Describe your environment
git statussays anything other than "On branch main" paste it here] developmentgit showand paste the line that starts with "Merge" here] bfb2781Describe the bug
Error
'NoneType' object has no attribute 'enhance'when using GFPGAN via the Web UI.To Reproduce
On MPS:
Steps to reproduce the behavior:
python scripts/dream.py --full_precision --webUpscaling Level = x2|x3|x4(GPFGAN Strengthcan be anything)On CUDA
Steps to reproduce the behavior:
python scripts/dream.py --full_precision --webUpscaling Level = x3(GPFGAN Strengthcan be anything)The terminal will return
Expected behavior
The generation of the image works with GPFGAN and Upscaling without any trouble.