aboutsummaryrefslogtreecommitdiff
path: root/modules/scunet_model.py
diff options
context:
space:
mode:
authorssysm <me@theeditorstudio.com>2022-10-09 23:20:39 -0400
committerssysm <me@theeditorstudio.com>2022-10-09 23:20:39 -0400
commit6fdad291bd5a5edacedec73cf4d0e3852d00300e (patch)
tree5901473f27ea0410728150a1a6f2da373ea949b1 /modules/scunet_model.py
parentcc92dc1f8d73dd4d574c4c8ccab78b7fc61e440b (diff)
parent45fbd1c5fec887988ab555aac75a999d4f3aff40 (diff)
Merge branch 'master' of https://github.com/AUTOMATIC1111/stable-diffusion-webui into upstream-master
Diffstat (limited to 'modules/scunet_model.py')
-rw-r--r--modules/scunet_model.py2
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"