Skip to content
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

Training Time #3

Open
veroveroxie opened this issue May 29, 2024 · 0 comments
Open

Training Time #3

veroveroxie opened this issue May 29, 2024 · 0 comments

Comments

@veroveroxie
Copy link

veroveroxie commented May 29, 2024

Hi, Thank you so much for your great work! I really like your work and am trying to run it. I have questions about the code.

  1. Do you mind sharing your training time and computing resources for the experiments? I am currently using a single L40 and train my dataset with 100 images. The progress bar shows that it takes about 5 hours to finish. Is it close to your training time?

  2. I found that you optimize the parameters after each backward instead of under accelerator.sync_gradients. Is it intended or a potential bug? In Line 877-880.

accelerator.backward(loss) optimizer.step() lr_scheduler.step() optimizer.zero_grad()

  1. After training, how do we generate compositional images, like "a photo of "t1" and "t2""?

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant