diff options
author | d8ahazard <d8ahazard@gmail.com> | 2022-09-30 18:29:33 +0000 |
---|---|---|
committer | d8ahazard <d8ahazard@gmail.com> | 2022-09-30 18:29:33 +0000 |
commit | 7ab91d9e1bf3abc11dc0d90e270b199ae8c3c84a (patch) | |
tree | f1214820a1f2c000e5d777109bab1c23840b4ec0 /modules/bsrgan_model.py | |
parent | 3665551b120d86a11d7eefa0dc33ecce812a2c94 (diff) | |
download | stable-diffusion-webui-gfx803-7ab91d9e1bf3abc11dc0d90e270b199ae8c3c84a.tar.gz stable-diffusion-webui-gfx803-7ab91d9e1bf3abc11dc0d90e270b199ae8c3c84a.tar.bz2 stable-diffusion-webui-gfx803-7ab91d9e1bf3abc11dc0d90e270b199ae8c3c84a.zip |
Update bsrgan_model.py
Diffstat (limited to 'modules/bsrgan_model.py')
-rw-r--r-- | modules/bsrgan_model.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/bsrgan_model.py b/modules/bsrgan_model.py index 827a50a5..e62c6657 100644 --- a/modules/bsrgan_model.py +++ b/modules/bsrgan_model.py @@ -69,7 +69,6 @@ class UpscalerBSRGAN(modules.upscaler.Upscaler): if not os.path.exists(filename) or filename is None: print(f"BSRGAN: Unable to load model from {filename}", file=sys.stderr) return None - print("Loading %s from %s" % (self.model_path, filename)) model = RRDBNet(in_nc=3, out_nc=3, nf=64, nb=23, gc=32, sf=4) # define network model.load_state_dict(torch.load(filename), strict=True) model.eval() |