Run this model with HF Jobs
Run ncc2/4DAnything on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/ncc2/4DAnything. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ncc2/4DAnything on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use ncc2/4DAnything with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- SAM 3D Objects
How to use ncc2/4DAnything with SAM 3D Objects:
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) - Notebooks
- Google Colab
- Kaggle
Add README.md
Browse files1234567891011121314151617181920212223242526272829303132333435363738---license: otherlicense_name: sam-licenselicense_link: LICENSElibrary_name: pytorchpipeline_tag: image-to-3dtags:- 4d-reconstruction- gaussian-splatting- video-to-4d- sam-3d-objects---
# 4DAnything
Weights for **4DAnything: Generalizable Feed-Forward 4D Reconstruction In-The-Wild**.
- Project page: https://4danything.github.io/- Code: https://github.com/4DAnything/4DAnything
| 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](https://huggingface.co/facebook/sam-3d-objects), which is also required at inference (gated; request access there).
Download with the code repo's script:
```bashhf auth loginbash scripts/download_checkpoints.sh```
## License
Derived from SAM 3D Objects and distributed under the [SAM License](LICENSE).README.mdAdded+38