replicate demo

This commit is contained in:
chenxwh 2024-02-23 17:00:03 +00:00
parent 8aeceb9959
commit a5d4389fdb

View file

@ -84,10 +84,10 @@ class Predictor(BasePredictor):
k: create_SUPIR_model("options/SUPIR_v0.yaml", SUPIR_sign=k).to(
self.supir_device
)
for k in ["Q", "F"][1:]
for k in ["Q", "F"]
}
for k in ["Q", "F"][1:]:
for k in ["Q", "F"]:
self.models[k].ae_dtype = convert_dtype(ae_dtype)
self.models[k].model.dtype = convert_dtype(diff_dtype)