aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bsrgan_model.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-10-11 08:14:36 +0000
committerAUTOMATIC <16777216c@gmail.com>2022-10-11 08:14:36 +0000
commit5de806184f6687e46cf936b92055146dc6cf2994 (patch)
treed84c2daa8798c3d2f8e99e17234a40065491182d /modules/bsrgan_model.py
parent12c4d5c6b5bf9dd50d0601c36af4f99b65316d58 (diff)
parent948533950c9db5069a874d925fadd50bac00fdb5 (diff)
downloadstable-diffusion-webui-gfx803-5de806184f6687e46cf936b92055146dc6cf2994.tar.gz
stable-diffusion-webui-gfx803-5de806184f6687e46cf936b92055146dc6cf2994.tar.bz2
stable-diffusion-webui-gfx803-5de806184f6687e46cf936b92055146dc6cf2994.zip
Merge branch 'master' into hypernetwork-training
Diffstat (limited to 'modules/bsrgan_model.py')
-rw-r--r--modules/bsrgan_model.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/bsrgan_model.py b/modules/bsrgan_model.py
index 3bd80791..737e1a76 100644
--- a/modules/bsrgan_model.py
+++ b/modules/bsrgan_model.py
@@ -10,13 +10,11 @@ from basicsr.utils.download_util import load_file_from_url
import modules.upscaler
from modules import devices, modelloader
from modules.bsrgan_model_arch import RRDBNet
-from modules.paths import models_path
class UpscalerBSRGAN(modules.upscaler.Upscaler):
def __init__(self, dirname):
self.name = "BSRGAN"
- self.model_path = os.path.join(models_path, self.name)
self.model_name = "BSRGAN 4x"
self.model_url = "https://github.com/cszn/KAIR/releases/download/v1.0/BSRGAN.pth"
self.user_path = dirname