aboutsummaryrefslogtreecommitdiff
path: root/modules/hat_model.py
diff options
context:
space:
mode:
authorAarni Koskela <akx@iki.fi>2023-12-30 16:37:03 +0200
committerAarni Koskela <akx@iki.fi>2023-12-30 16:37:03 +0200
commit4ad0c0c0a805da4bac03cff86ea17c25a1291546 (patch)
tree9821621545c6989205074d7bd23137eacbbad0e2 /modules/hat_model.py
parentc756133541da478a35a74cda416d114a8973cf8e (diff)
Verify architecture for loaded Spandrel models
Diffstat (limited to 'modules/hat_model.py')
-rw-r--r--modules/hat_model.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/hat_model.py b/modules/hat_model.py
index 553e1941..7f2abb41 100644
--- a/modules/hat_model.py
+++ b/modules/hat_model.py
@@ -39,4 +39,5 @@ class UpscalerHAT(Upscaler):
return modelloader.load_spandrel_model(
path,
device=devices.device_esrgan, # TODO: should probably be device_hat
+ expected_architecture='HAT',
)