Closed yaseryacoob closed 3 months ago
Hi. Thank you for posting your issue. The loss landscape of diffusion models is very noisy, so you cannot really get anything meaningful by just looking at the loss at each iteration. You would get this similar noisy optimization if you were doing standard Dreambooth or fine-tuning. The best thing is to check what the generated samples look like. Let me know if you need any further guidance.
Thanks for sharing your work. In looking at the loss in invresion.py I noticed that the optimization is not stable, even when I allowed for 1000 iterations. You can see the model_pred (just 3 out of 4 channels) display every 100 epochs and the loss recorded. in this series of images (using your example). The final loss at 999 was 0.040231965482234955.