guoqincode / Open-AnimateAnyone

Unofficial Implementation of Animate Anyone
2.9k stars 233 forks source link

Loss not decreasing in stage 1 #21

Closed Bismuth209 closed 9 months ago

Bismuth209 commented 9 months ago

After training stage-1 for 30000 steps on TikTok dataset I'm getting the following loss curve and images from validation_pipeline is this correct?

image

guoqincode commented 9 months ago

I also encountered this problem during the initial training. Could you tell me your detailed training config?

Bismuth209 commented 9 months ago

It's not much different from what you used.

https://github.com/Bismuth209/AnimateAnyone-unofficial/blob/main/configs/training/my_train_stage_1.yaml

guoqincode commented 9 months ago

guoqin@stu.pku.edu.cn

Bismuth209 commented 9 months ago

I have a couple of questions

  1. Were you able to train stage 1 with decreasing loss?
  2. In stage 1 training, I see that you are not loading motion modules. wouldn't it be beneficial to load them from animate-diff?
guoqincode commented 9 months ago
  1. The loss is high at the beginning and becomes low after a few hundred iterations
  2. The first stage does not need to train the motion module, just the image level pre-training
Bismuth209 commented 9 months ago

How do you verify if the first stage has passed?

guoqincode commented 9 months ago

Test the results on the validation set.

Bismuth209 commented 9 months ago

can you show sample results that you received? I have shared what I was getting at the top of the comments

tdlhyj commented 9 months ago

I use the latest training code, but the loss does not decrease