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