./src/text2pose
.
Possible inputs: a pair of 3D human poses (ie. two elements at once), text instruction.
To look at a ranking of text instruction (resp. pose pair) referenced in PoseFix by relevance to a chosen pose pair (resp. text instruction), using a pretrained model, run the following:
bash retrieval_modifier/script_retrieval_modifier.sh 'demo' </path/to/model.pth>
📝 Modify the variables at the top of the bash script to specify the desired model & training options.
Then use the following command:
bash retrieval_modifier/script_retrieval_modifier.sh 'train' <training phase: pretrain|finetune> <seed number>
Note for the finetuning step: In the script, pretrained
defines the nickname of the pretrained model. The mapping between nicknames and actual model paths is given by shortname_2_model_path.txt. This means that if you train a model and intend to use its weights to train another, you should first write its path in shortname_2_model_path.txt, give it a nickname, and write this nickname in front of the pretrained
argument in the script. The nickname will appear in the path of the finetuned model.
Use the following command (test on PoseFix-H):
bash retrieval_modifier/script_retrieval_modifier.sh 'eval' </path/to/model.pth>