This commit is contained in:
lllyasviel
2024-02-04 14:30:58 -08:00
parent 112cef6066
commit 2954a36c18
2 changed files with 7 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ class UpscalerLDSR(Upscaler):
return LDSR(model, yaml)
def do_upscale(self, img, path):
prepare_free_memory()
prepare_free_memory(aggressive=True)
try:
ldsr = self.load_model(path)
except Exception: