Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I train my own MotionCLIP? #42

Open
Omair-S opened this issue Oct 14, 2024 · 1 comment
Open

How do I train my own MotionCLIP? #42

Omair-S opened this issue Oct 14, 2024 · 1 comment

Comments

@Omair-S
Copy link

Omair-S commented Oct 14, 2024

In the readme section of this project:
To reproduce paper-model run:

python -m src.train.train --clip_text_losses cosine --clip_image_losses cosine --pose_rep rot6d \
--lambda_vel 100 --lambda_rc 100 --lambda_rcxyz 100 \
--jointstype vertices --batch_size 20 --num_frames 60 --num_layers 8 \
--lr 0.0001 --glob --translation --no-vertstrans --latent_dim 512 --num_epochs 100 --snapshot 10 \
--device <GPU DEVICE ID> \
--dataset amass \
--datapath ./data/amass_db/amass_30fps_db.pt \
--folder ./exps/my-paper-model

I just pasted this entire thing into my terminal (with the motionclip environment activated), but that didn't work, and I have no idea where to go from here. The error descriptions don't really seem to help. I have already set up the motionclip files, and I'm able to run the pre-trained motionclip, i.e., I'm able to generate .gifs corresponding to text descriptions. However, running this script is giving the following errors:

Screenshot 2024-10-14 125223

Any help would be really appreciated! Thanks for reading this far!

@Omair-S
Copy link
Author

Omair-S commented Oct 14, 2024

Well, I've made some progress, '' symbol doesn't work for line continuation in Windows, instead '^' symbol is to be used. Also instead of , I obv had to replace it with the actual ID. Using --device 0 now. This might work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant