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