-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AssertionError: Timestep embedding is needed for a time-aware attention processor. #16
Comments
A more detailed description is as follows: |
Well, I added the following codes and modified the inputs of the UNet, the code executes successfully, but I'm uncertain about its correctness. code: noise_pred = unet( |
Great work! However, when I fine-tuned on my dataset, I encountered the error: AssertionError: Timestep embedding is needed for a time-aware attention processor. Upon checking the training code, I found that it seems the input of unet does not include the timestep embedding, which caused this error. How can I resolve this issue?
The text was updated successfully, but these errors were encountered: