Update modules/finetunedvqgan.py
Browse files
modules/finetunedvqgan.py
CHANGED
@@ -31,4 +31,4 @@ class Generator:
|
|
31 |
# Load the state dictionary into the models
|
32 |
model_vaq.load_state_dict(checkpoint, strict=True)
|
33 |
|
34 |
-
return model_vaq
|
|
|
31 |
# Load the state dictionary into the models
|
32 |
model_vaq.load_state_dict(checkpoint, strict=True)
|
33 |
|
34 |
+
return model_vaq.eval()
|