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
Download slat.pt from ncc2/4DAnything: direct link, hf CLI and curl.
- Browser
- Download file 2.4 GB
-
https://huggingface.co/ncc2/4DAnything/resolve/main/slat.pt
- Command line
-
hf download hf://ncc2/4DAnything/slat.pt
-
curl -L -o slat.pt https://huggingface.co/ncc2/4DAnything/resolve/main/slat.pt
2.4 GB
- Xet hash:
- 3c7b216ba021f0e78c077f047abfe88de63bdd8939bcbf90a49865408abc5c26
- Size of remote file:
- 2.4 GB
- SHA256:
- 7ecf6b784d27e001401900d4a5e1daadcf659261c8630f3f1cd05729b40a59be
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.