MooreThreads / Moore-AnimateAnyone

Character Animation (AnimateAnyone, Face Reenactment)
Apache License 2.0
3.14k stars 245 forks source link

Traing code error #50

Closed amandaluof closed 9 months ago

amandaluof commented 9 months ago

Many thanks for releasing the training code.

However, when following the environment setting as well as data preparation and then running the command of stage 1 training, I got the error in the following screenshot. Is there anything wrong?

image

Looking forward to your reply. Thank you again !

amandaluof commented 9 months ago

This may come from gradient checkpointing.

lixunsong commented 9 months ago

Do you have gradient_checkpointing during stage 1 training? We turned it off, and perhaps some workarounds are needed here to avoid errors when gradient_checkpointing is enabled. We haven't investigated it thoroughly yet

amandaluof commented 9 months ago

workarounds

Yes, I tried to turn on gradient_checkpointing. Thanks for your reply.