Doubiiu / DynamiCrafter

[ECCV 2024] DynamiCrafter: Animating Open-domain Images with Video Diffusion Priors
Apache License 2.0
2.09k stars 165 forks source link

Prompt-Image correspondence #28

Closed kingnobro closed 4 months ago

kingnobro commented 4 months ago

In order to add a new prompt in test_prompts.txt, I need to first check the alphabetic order of the image filename, and insert it in the corresponding line? Any better way? Thanks.

Doubiiu commented 4 months ago

Hi. Thanks for your comments. "I need to first check the alphabetic order of the image filename, and insert it in the corresponding line" EXACTLY. I think a better way is to reimplement the load_prompts and load_data_prompts in inference.py and reformat the test_prompts.txt file.

For example, the prompt txt can be in the format of "[filename]"+"[prompt]"