Fix UnetParams annotation typo

This commit is contained in:
JettHu 2024-05-27 10:20:55 +08:00
parent 16a493a190
commit b18ec041f4

View File

@ -25,7 +25,7 @@ class UnetParams(TypedDict):
timestep: torch.Tensor timestep: torch.Tensor
c: UnetApplyConds c: UnetApplyConds
# List of [0, 1], [0], [1], ... # List of [0, 1], [0], [1], ...
# 0 means unconditional, 1 means conditional # 0 means conditional, 1 means conditional unconditional
cond_or_uncond: List[int] cond_or_uncond: List[int]