ChenFengYe / motion-latent-diffusion

[CVPR 2023] Executing your Commands via Motion Diffusion in Latent Space, a fast and high-quality motion diffusion model
https://chenxin.tech/mld/
MIT License
586 stars 55 forks source link

git lfs issue #4

Closed mmdrahmani closed 1 year ago

mmdrahmani commented 1 year ago

Hi Chen Thanks for the excellent work. I was trying to use the demo: python demo.py --cfg ./configs/config_mld_humanml3d.yaml --cfg_assets ./configs/assets.yaml --example ./demo/example.txt But I got this error: You seem to have cloned a repository without having git-lfs installed. Please install git-lfs and run git lfs install followed by git lfs pull in the folder you cloned. The error happens at this line: self.text_model = AutoModel.from_pretrained(modelpath)

I installed git lfs, both before and after cloning the mld repository. But I still get the error related to git lfs. Any ideas what might be wrong?

mmdrahmani commented 1 year ago

Well, it seems that I had to run all the files in the prepare folder. Now it works. So I close this issue.

yinkangning0124 commented 1 year ago

Hi, I am facing the same problem. Do you mean that after manually installed git lfs, I have to run the scripts in the prepare fold again?

mmdrahmani commented 1 year ago

Hi. As far as I remember, you only need run the scripts in the prepare folder. If you manually installed git-lfs in the environment, then just run all the prepare documents.

yinkangning0124 commented 1 year ago

Yeah, I solved this. Thanks a lot!

lzyplayer commented 1 year ago

If someone still sees it, you need to execute the script in the prepare folder in the project root directory, otherwise, it will download the file to the prepare directory