Jannat24 commited on
Commit
3566513
·
verified ·
1 Parent(s): 50d3a44

Update modules/finetunedvqgan.py

Browse files
Files changed (1) hide show
  1. modules/finetunedvqgan.py +1 -1
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()