You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
beta_schedule: ListOrTuple[str] =None# None means all cosine
253
+
beta_schedule: Optional[ListOrTuple[str]] =None# None means all cosine
254
254
learned_variance: SingularOrIterable[bool] =True
255
255
image_cond_drop_prob: float=0.1
256
256
text_cond_drop_prob: float=0.5
@@ -320,20 +320,20 @@ class DecoderTrainConfig(BaseModel):
320
320
n_sample_images: int=6# The number of example images to produce when sampling the train and test dataset
321
321
cond_scale: Union[float, List[float]] =1.0
322
322
device: str='cuda:0'
323
-
epoch_samples: int=None# Limits the number of samples per epoch. None means no limit. Required if resample_train is true as otherwise the number of samples per epoch is infinite.
324
-
validation_samples: int=None# Same as above but for validation.
323
+
epoch_samples: Optional[int]=None# Limits the number of samples per epoch. None means no limit. Required if resample_train is true as otherwise the number of samples per epoch is infinite.
324
+
validation_samples: Optional[int]=None# Same as above but for validation.
325
325
save_immediately: bool=False
326
326
use_ema: bool=True
327
327
ema_beta: float=0.999
328
328
amp: bool=False
329
-
unet_training_mask: ListOrTuple[bool] =None# If None, use all unets
329
+
unet_training_mask: Optional[ListOrTuple[bool]] =None# If None, use all unets
0 commit comments