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
raiseValueError(f"dataset type {config.dataset_type} needs to pass a feature_description dictionary and prepare_sample_fn function when cache_latents_text_encoder_outputs is True.")
61
+
62
+
if (
63
+
config.dataset_type=="tfrecord"
64
+
andconfig.cache_latents_text_encoder_outputs
65
+
andfeature_descriptionisNone
66
+
orprepare_sample_fnisNone
67
+
):
68
+
raiseValueError(
69
+
f"dataset type {config.dataset_type} needs to pass a feature_description dictionary and prepare_sample_fn function when cache_latents_text_encoder_outputs is True."
0 commit comments