Download SAM 3D Checkpoints from HuggingFace
mainTo use SAM 3D Objects, you must first request access to the checkpoints at the Facebook SAM 3D Objects Hugging Face repo.
Once access is granted, authenticate your environment (e.g., using huggingface-cli login). Note that access may be rejected in sanctioned jurisdictions.
Use the following commands to download the checkpoints using the huggingface-hub CLI and move them to the expected checkpoints/ directory.
pip install 'huggingface-hub[cli]<1.0'
TAG=hf
hf download \
--repo-type model \
--local-dir checkpoints/${TAG}-download \
--max-workers 1 \
facebook/sam-3d-objects
mv checkpoints/${TAG}-download/checkpoints checkpoints/${TAG}
rm -rf checkpoints/${TAG}-download