TACO / README.md
nielsr's picture
nielsr HF Staff
Add comprehensive dataset card for TACO
b171e88 verified
|
raw
history blame
4.85 kB
metadata
task_categories:
  - video-to-video
license: cc-by-nc-4.0
tags:
  - video-completion
  - amodal-completion
  - diffusion-models
  - synthetic-data
  - robotics
  - autonomous-driving

TACO: Taming Diffusion for in-the-wild Video Amodal Completion

This repository contains the large-scale synthetic dataset used for training and evaluating TACO, a conditional diffusion model for Video Amodal Completion (VAC).

Paper | Project Page | Code

Abstract

Humans can infer complete shapes and appearances of objects from limited visual cues, relying on extensive prior knowledge of the physical world. However, completing partially observable objects while ensuring consistency across video frames remains challenging for existing models, especially for unstructured, in-the-wild videos. This paper tackles the task of Video Amodal Completion (VAC), which aims to generate the complete object consistently throughout the video given a visual prompt specifying the object of interest. Leveraging the rich, consistent manifolds learned by pre-trained video diffusion models, we propose a conditional diffusion model, TACO, that repurposes these manifolds for VAC. To enable its effective and robust generalization to challenging in-the-wild scenarios, we curate a large-scale synthetic dataset with multiple difficulty levels by systematically imposing occlusions onto un-occluded videos. Building on this, we devise a progressive fine-tuning paradigm that starts with simpler recovery tasks and gradually advances to more complex ones. We demonstrate TACO's versatility on a wide range of in-the-wild videos from Internet, as well as on diverse, unseen datasets commonly used in autonomous driving, robotic manipulation, and scene understanding. Moreover, we show that TACO can be effectively applied to various downstream tasks like object reconstruction and pose estimation, highlighting its potential to facilitate physical world understanding and reasoning. Our project page is available at this https URL .

Dataset Structure and Contents

This Hugging Face repository hosts the datasets used for benchmarking and training TACO. These include:

  • Benchmarks: OvO Dataset and Kubric Dataset for evaluation.
  • Training Data: OvO_Easy, OvO_Hard, OvO_Drive datasets used for training, along with corresponding path files (e.g., Easy_train.json, Easy_val.json).

The data structure for training datasets is typically:

<Dataset_Name>/
    MVImgNet/
        0/
        1/
        ...
    SA-V/
        sav_000/
        sav_001/
        ...
<Dataset_Name>_train.json
<Dataset_Name>_val.json

To download the datasets locally, use Git LFS:

git lfs install
git clone https://huggingface.co/datasets/JasonAplp/TACO.git

Please ensure to unzip all downloaded files to match the expected structure.

Sample Usage

For detailed instructions on installation, single-example inference, dataset inference, and training using this dataset, please refer to the official GitHub repository.

Here are some common usage patterns:

Installation

conda create -n taco python=3.10
conda activate taco
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
pip install git+https://github.com/OpenAI/CLIP.git
pip install git+https://github.com/Stability-AI/datapipelines.git
pip install -r requirements.txt

Dataset Inference (e.g., Kubric)

Ensure you have downloaded the OvO Dataset and Kubric Dataset. Revise the dataset path in configs/inference_vac_kubric.yaml and configs/inference_vac_OvO.yaml (data/params/dset_root) before running:

bash infer_kubric.sh

Training (e.g., OvO_Easy)

First, download the required Stable Video Diffusion checkpoints (e.g., SVD 14 frames from Hugging Face) and place them under the pretrained folder. Then, download the training datasets (e.g., OvO_Easy) and their corresponding path files. Revise data.params.dset_root, data.params.train_path, and data.params.val_path in train.sh before running:

bash train.sh

Note that the training script is set for an 8-GPU system. Debugging with a single GPU is possible using bash debug.sh.

Citation

If you find this dataset or the TACO model useful, please cite the paper:

@article{lu2025taco,
  title={Taco: Taming diffusion for in-the-wild video amodal completion},
  author={Lu, Ruijie and Chen, Yixin and Liu, Yu and Tang, Jiaxiang and Ni, Junfeng and Wan, Diwen and Zeng, Gang and Huang, Siyuan},
  journal={arXiv preprint arXiv:2503.12049},
  year={2025}
}