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
Hi,
I encountered the error:class_labels should be provided when num_class_embeds > 0 when I tried to train the conditional unet model.
Which means I need to specify the class_labels parameter in the function: model_pred = self.unet(compressed_latents, timesteps, encoder_hidden_state ).sample. Can anyone help me solve this error?
The text was updated successfully, but these errors were encountered:
Hi,
I encountered the error:class_labels should be provided when num_class_embeds > 0 when I tried to train the conditional unet model.
Which means I need to specify the class_labels parameter in the function: model_pred = self.unet(compressed_latents, timesteps, encoder_hidden_state ).sample. Can anyone help me solve this error?
The text was updated successfully, but these errors were encountered: