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 Jul 23, 2025. It is now read-only.
Implementation for LASSIE. A novel method which estimates camera pose, 3D articulation, and part shapes of animal bodies given sparse images in-the-wild.
A python virtual environment is used for dependency management. The code is tested with Python 3.7, PyTorch 1.11.0, CUDA 11.3. First, to install PyTorch in the virtual environment, run:
Download Pascal images here and place them in data/pascal_part/JPEGImages/.
Download Pascal-part annotations here and place them in data/pascal_part/Annotations_Part/.
Download Pascal-part image sets here and place them in data/pascal_part/image-sets/.
Our image ensembles (web images)
Download images here and place them in data/web_images/images/.
Download keypoint annotations here and place them in data/web_images/annotations/.
Pre-trained primitive part decoder
Download pre-trained model here and place it in model_dump/.
LASSIE optimization
To run LASSIE optimization on sparse images of an animal class (e.g. zebra), simply run:
python train.py --cls zebra
The supported animal classes include: zebra, giraffe, tiger, elephant, kangaroo, penguin, horse, cow, sheep. The qualitative results can be found in results/zebra/. The optimization settings and initial 3D skeleton can be changed in main/config.py and main/skeleton.py, respectively. Note that the first time running LASSIE optimization could take a few minutes in the DINO feature clustering step.
Evaluation
Once optimization is completed, quantitative evaluation can be done by running:
python eval.py --cls zebra
The results will be stored in results/eval/zebra.txt.
Citation
@inproceedings{yao2022-lassie,
title = {{LASSIE}: {L}earning {A}rticulated {S}hape from {S}parse {I}mage {E}nsemble via 3D Part Discovery},
author = {Yao, Chun-Han and Hung, Wei-Chih and Li, Yuanzhen and Rubinstein, Michael and Yang, Ming-Hsuan and Jampani, Varun},
booktitle = {Advances in Neural Information Processing Systems (NeurIPS)},
year = {2022},
}