You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
This is not an officially supported Google product.
Setup
The code is based on PyTorch. The code has been tested with PyTorch 1.1 and Python 3.6.
We recommend setting up a virtualenv environment for installing PyTorch and
the other necessary Python packages. The TensorFlow installation
guide may be helpful (follow steps 1
and 2) or follow the virtualenv documentation.
Once your environment is set up and activated, install the necessary packages:
Once the run completes, visualizations of the output should be
available in test_data/viz_predictions.
Full Model Inference
The full model described in the paper requires several additional inputs: the
human segmentation mask, the depth-from-parallax buffer, and (optionally) a
human keypoint buffer. We provide a preprocessed version of the TUM
RGBD dataset that includes
these inputs. Download (~9GB) and unzip it using the script:
(pytorch)$ ./fetch_tum_data.sh
To reproduce the numbers in Table 2 of the paper, run:
Where single_view is the variant I from the paper, two_view is the variant IDCM, and two_view_k is the variant IDCMK. The script prints running averages of the various error metrics as it runs. When the script completes, the final error metrics are shown.
Acknowledgements
If you find the code or results useful, please cite the following paper:
@inproceedings{li2019learning,
title={Learning the Depths of Moving People by Watching Frozen People},
author={Li, Zhengqi and Dekel, Tali and Cole, Forrester and Tucker, Richard
and Snavely, Noah and Liu, Ce and Freeman, William T},
booktitle={Proc. Computer Vision and Pattern Recognition (CVPR)},
year={2019}
}
About
Inference code and trained models for "Learning the Depths of Moving People by Watching Frozen People."