Image-to-3D
MLX
Safetensors
SAM 3D Objects
apple-silicon
sam-3d
3d-reconstruction
gaussian-splatting
mesh
glb
8-bit precision
affine-quantization
mixed-precision
Instructions to use appautomaton/sam-3d-objects-mlx-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use appautomaton/sam-3d-objects-mlx-8bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir sam-3d-objects-mlx-8bit appautomaton/sam-3d-objects-mlx-8bit
- SAM 3D Objects
How to use appautomaton/sam-3d-objects-mlx-8bit with SAM 3D Objects:
from inference import Inference, load_image, load_single_mask from huggingface_hub import hf_hub_download path = hf_hub_download("appautomaton/sam-3d-objects-mlx-8bit", "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
- Local Apps Settings
- LM Studio
File size: 4,265 Bytes
0a5844c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | {
"items": [
{
"kind": "config",
"output_path": "weights/sam-3d-objects-mlx/checkpoints/ss_generator.yaml",
"role": "ss_generator",
"source_path": "weights/sam-3d-objects/checkpoints/ss_generator.yaml",
"source_sha256": null,
"status": "copied",
"tensor_count": null
},
{
"kind": "config",
"output_path": "weights/sam-3d-objects-mlx/checkpoints/slat_generator.yaml",
"role": "slat_generator",
"source_path": "weights/sam-3d-objects/checkpoints/slat_generator.yaml",
"source_sha256": null,
"status": "copied",
"tensor_count": null
},
{
"kind": "config",
"output_path": "weights/sam-3d-objects-mlx/checkpoints/ss_decoder.yaml",
"role": "ss_decoder",
"source_path": "weights/sam-3d-objects/checkpoints/ss_decoder.yaml",
"source_sha256": null,
"status": "copied",
"tensor_count": null
},
{
"kind": "config",
"output_path": "weights/sam-3d-objects-mlx/checkpoints/slat_decoder_gs.yaml",
"role": "slat_decoder_gs",
"source_path": "weights/sam-3d-objects/checkpoints/slat_decoder_gs.yaml",
"source_sha256": null,
"status": "copied",
"tensor_count": null
},
{
"kind": "config",
"output_path": "weights/sam-3d-objects-mlx/checkpoints/slat_decoder_mesh.yaml",
"role": "slat_decoder_mesh",
"source_path": "weights/sam-3d-objects/checkpoints/slat_decoder_mesh.yaml",
"source_sha256": null,
"status": "copied",
"tensor_count": null
},
{
"kind": "checkpoint",
"output_path": "weights/sam-3d-objects-mlx/checkpoints/ss_generator.safetensors",
"role": "ss_generator",
"source_path": "weights/sam-3d-objects/checkpoints/ss_generator.ckpt",
"source_sha256": null,
"status": "exists",
"tensor_count": 1741
},
{
"kind": "checkpoint",
"output_path": "weights/sam-3d-objects-mlx/checkpoints/slat_generator.safetensors",
"role": "slat_generator",
"source_path": "weights/sam-3d-objects/checkpoints/slat_generator.ckpt",
"source_sha256": null,
"status": "exists",
"tensor_count": 1225
},
{
"kind": "checkpoint",
"output_path": "weights/sam-3d-objects-mlx/checkpoints/ss_decoder.safetensors",
"role": "ss_decoder",
"source_path": "weights/sam-3d-objects/checkpoints/ss_decoder.ckpt",
"source_sha256": null,
"status": "exists",
"tensor_count": 74
},
{
"kind": "checkpoint",
"output_path": "weights/sam-3d-objects-mlx/checkpoints/slat_decoder_gs.safetensors",
"role": "slat_decoder_gs",
"source_path": "weights/sam-3d-objects/checkpoints/slat_decoder_gs.ckpt",
"source_sha256": null,
"status": "exists",
"tensor_count": 101
},
{
"kind": "checkpoint",
"output_path": "weights/sam-3d-objects-mlx/checkpoints/slat_decoder_mesh.safetensors",
"role": "slat_decoder_mesh",
"source_path": "weights/sam-3d-objects/checkpoints/slat_decoder_mesh.ckpt",
"source_sha256": null,
"status": "exists",
"tensor_count": 120
},
{
"kind": "config",
"output_path": "weights/sam-3d-objects-mlx/checkpoints/slat_decoder_gs_4.yaml",
"role": "slat_decoder_gs_4",
"source_path": "weights/sam-3d-objects/checkpoints/slat_decoder_gs_4.yaml",
"source_sha256": null,
"status": "copied",
"tensor_count": null
},
{
"kind": "checkpoint",
"output_path": "weights/sam-3d-objects-mlx/checkpoints/slat_decoder_gs_4.safetensors",
"role": "slat_decoder_gs_4",
"source_path": "weights/sam-3d-objects/checkpoints/slat_decoder_gs_4.ckpt",
"source_sha256": null,
"status": "exists",
"tensor_count": 101
},
{
"kind": "config",
"output_path": "weights/sam-3d-objects-mlx/checkpoints/pipeline.yaml",
"role": "pipeline",
"source_path": "weights/sam-3d-objects/checkpoints/pipeline.yaml",
"source_sha256": null,
"status": "rewritten",
"tensor_count": null
}
],
"output_pipeline_path": "weights/sam-3d-objects-mlx/checkpoints/pipeline.yaml",
"source_root": "weights/sam-3d-objects"
} |