All Projects → facebookresearch → you2me

facebookresearch / you2me

Licence: other
Inferring Body Pose in Egocentric Video via First and Second Person Interactions

Programming Languages

python
139335 projects - #7 most used programming language
C++
36643 projects - #6 most used programming language
matlab
3953 projects
shell
77523 projects

You2Me: Inferring Body Pose in Egocentric Video via First and Second Person Interactions (CVPR 2020)

report

Install

Download dataset

Original training done with CUDA 10.2

Install basic dependencies with pip install -r requirements.txt

Test

Please generate:

  • directory of homographies (see calc_homgraphy/README.md)
  • directory of openpose predictions
  • vocab.pkl (see vocab/build_vocab.py)

for your sample sequence.

Then run the following command:

python sample.py --vocab_path <path/to/sample_vocab.pkl> --output <path/to/output_dir> --encoder_path <path/to/trained/encoder.pth> --decoder_path <path/to/trained/decoder.pth> --upp

Change flag --upp to --low to test the lower body model.

Include flag --visualize to plot the predicted stick figures.

Train

Please generate

  • directory of homographies (see calc_homgraphy/README.md)
  • directory of openpose predictions
  • vocab.pkl (see vocab/build_vocab.py)
  • annotation.pkl (see vocab/build_annotation.py)

for your each of your training sequences.

Then run the following command:

python train.py --model_path <path/to/save/models> --vocab_path <path/to/train_vocab.pkl> --annotation_path <path/to/annotation.pkl> -upp

Change flag --upp to --low to train the lower body model.

License

CC-BY-NC 4.0. See the LICENSE file.

Citation

@article{ng2019you2me,
  title={You2Me: Inferring Body Pose in Egocentric Video via First and Second Person Interactions},
  author={Ng, Evonne and Xiang, Donglai and Joo, Hanbyul and Grauman, Kristen},
  journal={CVPR},
  year={2020}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].