tumurzakov/AnimateDiff

Configuration example

Katehuuh opened this issue · 1 comments

I created tuneavideo.yaml to be able to train python train.py --config configs/prompts/tuneavideo.yaml but i encountered an error:

TypeError: AnimationPipeline.call() missing 1 required positional argument: 'video_length'

or

TypeError: TuneAVideoDataset.init() got an unexpected keyword argument 'video_length'

To fix i modify dataset.py, train.py to get frames from video and remove from this part from my config:

train_data:
  video_length: 87

Training work but I can't confirm if the config is correct.