You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After doing some training with videocrafter2, I found some bugs.
can't train text encoder even if set cond_stage_trainable: true in config. Refer to these lines, text encoding process(get_learned_conditioning) is under torch.no_grad(), so no grad is computed. Simple fix is just remove the @torch.no_grad()
in some shell scripts there is line like --auto_resume True(like this line), actually we don't need "True" here. auto_resume is a flag with no arguement, if it exist it's true, otherwise it's false.
same logging message printed twice, seems like the mainlogger inherits the root logger's handler. Simple fix is set " logger.propagate = False" in set_logger.
The text was updated successfully, but these errors were encountered:
Thansks for this great project!
After doing some training with videocrafter2, I found some bugs.
cond_stage_trainable: true
in config. Refer to these lines, text encoding process(get_learned_conditioning
) is undertorch.no_grad()
, so no grad is computed. Simple fix is just remove the@torch.no_grad()
in some shell scripts there is line like
--auto_resume True
(like this line), actually we don't need "True" here. auto_resume is a flag with no arguement, if it exist it's true, otherwise it's false.same logging message printed twice, seems like the mainlogger inherits the root logger's handler. Simple fix is set " logger.propagate = False" in set_logger.
The text was updated successfully, but these errors were encountered: