aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bsrgan_model.py
diff options
context:
space:
mode:
author不会画画的中医不是好程序员 <yfszzx@gmail.com>2022-10-10 12:21:25 +0000
committerGitHub <noreply@github.com>2022-10-10 12:21:25 +0000
commit1e18a5ffcc439b72adaaf425c0b79f3acb34322e (patch)
tree01f9c73c02076694a9bc3c965875646473771db8 /modules/bsrgan_model.py
parent23f2989799ee3911d2959cfceb74b921f20c9a51 (diff)
parenta3578233395e585e68c2118d3630cb2a961d4a36 (diff)
downloadstable-diffusion-webui-gfx803-1e18a5ffcc439b72adaaf425c0b79f3acb34322e.tar.gz
stable-diffusion-webui-gfx803-1e18a5ffcc439b72adaaf425c0b79f3acb34322e.tar.bz2
stable-diffusion-webui-gfx803-1e18a5ffcc439b72adaaf425c0b79f3acb34322e.zip
Merge branch 'AUTOMATIC1111:master' into master
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