How to use from the
Use from the
SAM 3D Objects library
from inference import Inference, load_image, load_single_mask
from huggingface_hub import hf_hub_download

path = hf_hub_download("ncc2/4DAnything", "pipeline.yaml")
inference = Inference(path, compile=False)

image = load_image("path_to_image.png")
mask = load_single_mask("path_to_mask.png", index=14)

output = inference(image, mask)

4DAnything

Weights for 4DAnything: Generalizable Feed-Forward 4D Reconstruction In-The-Wild.

File Description
ss.pt video backbone, sparse-structure stage (shape + camera-space layout)
slat.pt video backbone, structured-latent stage (appearance)
decoder.pt 4D decoder: canonical Gaussians G* and per-frame deformation

These weights are fine-tuned from SAM 3D Objects, which is also required at inference (gated; request access there).

Download with the code repo's script:

hf auth login
bash scripts/download_checkpoints.sh

License

Derived from SAM 3D Objects and distributed under the SAM License.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support