fix missing index

This commit is contained in:
Stephan Auerhahn
2023-08-10 12:24:12 -07:00
parent 3e7ada70c5
commit 26b10f56f3

View File

@@ -47,6 +47,8 @@ def init_st(spec: SamplingSpec, load_ckpt=True, load_filter=True) -> Dict[str, A
state["params"] = SamplingParams()
if load_filter:
state["filter"] = DeepFloydDataFiltering(verbose=False)
else:
state["filter"] = None
return state