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

Running on a custom dataset #22

Open
harshita19244 opened this issue Jun 6, 2023 · 1 comment
Open

Running on a custom dataset #22

harshita19244 opened this issue Jun 6, 2023 · 1 comment

Comments

@harshita19244
Copy link

Hi,
How can I run the script on a custom dataset? I have been going through the code, but many things look like they are tailored to the Ted Dataset. If you could point me to some code, I would be grateful.

@UttaranB127
Copy link
Owner

UttaranB127 commented Jun 10, 2023

Hi,
Yes, you can train and test on a custom dataset. You need to either match the pose representation that the network expects (10 upper-body joints) or change the network parameters to fit the pose representation that you have. You can start by looking into this script: https://github.com/UttaranB127/speech2affective_gestures/blob/master/utils/ted_db_utils.py, which takes in the pose representation. If you're planning to use a different pose representation, you would also need to change the network parameters in this script: https://github.com/UttaranB127/speech2affective_gestures/blob/master/net/multimodal_context_net_v2.py. In either case, you may need to play around with the hyperparams if you're re-training the network on a different dataset.

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

2 participants