diff options
author | Milly <milly.ca@gmail.com> | 2022-10-06 18:36:08 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-09 09:46:07 +0000 |
commit | 0609ce06c0778536cb368ac3867292f87c6d9fc7 (patch) | |
tree | df441f6536cbbdec40e3f4cc8781d1d82e419620 /modules/scunet_model.py | |
parent | a65a45272e8f26ee3bc52a5300b396266508a9a5 (diff) | |
download | stable-diffusion-webui-gfx803-0609ce06c0778536cb368ac3867292f87c6d9fc7.tar.gz stable-diffusion-webui-gfx803-0609ce06c0778536cb368ac3867292f87c6d9fc7.tar.bz2 stable-diffusion-webui-gfx803-0609ce06c0778536cb368ac3867292f87c6d9fc7.zip |
Removed duplicate definition model_path
Diffstat (limited to 'modules/scunet_model.py')
-rw-r--r-- | modules/scunet_model.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/scunet_model.py b/modules/scunet_model.py index fb64b740..36a996bf 100644 --- a/modules/scunet_model.py +++ b/modules/scunet_model.py @@ -9,14 +9,12 @@ from basicsr.utils.download_util import load_file_from_url import modules.upscaler from modules import devices, modelloader -from modules.paths import models_path from modules.scunet_model_arch import SCUNet as net class UpscalerScuNET(modules.upscaler.Upscaler): def __init__(self, dirname): self.name = "ScuNET" - self.model_path = os.path.join(models_path, self.name) self.model_name = "ScuNET GAN" self.model_name2 = "ScuNET PSNR" self.model_url = "https://github.com/cszn/KAIR/releases/download/v1.0/scunet_color_real_gan.pth" |