hcl14/hunyuan-p3-sam 🔢🖼️ → ❓
Example Output
Output
Performance Metrics
163.26s
Prediction Time
325.81s
Total Time
All Input Parameters
{
"seed": 42,
"mesh_path": "https://replicate.delivery/pbxt/NzycqUsnPZzrFwBangKoxXicN2VWKW2xzc72IxtPsIKjqnkD/robot_100k.glb",
"point_num": 100000,
"prompt_bs": 32,
"show_info": 1,
"threshold": 0.95,
"clean_mesh": 1,
"prompt_num": 400,
"timeout_sec": 360,
"post_process": 0
}
Input Parameters
- seed
- Random seed
- mesh_path (required)
- Input mesh (.glb/.obj/.ply)
- point_num
- Total points sampled from the mesh
- prompt_bs
- Prompt batch size
- show_info
- Verbose logging (0/1)
- threshold
- Mask IoU threshold
- clean_mesh
- Clean mesh before inference (0/1)
- prompt_num
- Number of point prompts per pass
- timeout_sec
- Maximum seconds to wait for auto_mask.py. If it times out, we assume the checkpoint/model is wrong or incompatible.
- post_process
- Apply post-processing (0/1)
Output Schema
- point_pca_glb
- Point Pca Glb
- point_pca_ply
- Point Pca Ply
- auto_mask_mesh_glb
- Auto Mask Mesh Glb
- auto_mask_mesh_ply
- Auto Mask Mesh Ply
- auto_mask_cluster_glb
- Auto Mask Cluster Glb
- auto_mask_cluster_ply
- Auto Mask Cluster Ply
- point_prompts_pca_glb
- Point Prompts Pca Glb
- point_prompts_pca_ply
- Point Prompts Pca Ply
- auto_mask_mesh_org_glb
- Auto Mask Mesh Org Glb
- auto_mask_mesh_org_ply
- Auto Mask Mesh Org Ply
- auto_mask_mesh_aabb_glb
- Auto Mask Mesh Aabb Glb
- auto_mask_mesh_final_glb
- Auto Mask Mesh Final Glb
- auto_mask_mesh_final_ply
- Auto Mask Mesh Final Ply
- auto_mask_mesh_org_aabb_glb
- Auto Mask Mesh Org Aabb Glb
- auto_mask_mesh_filtered_2_glb
- Auto Mask Mesh Filtered 2 Glb
- auto_mask_mesh_filtered_2_ply
- Auto Mask Mesh Filtered 2 Ply
- auto_mask_mesh_final_aabb_glb
- Auto Mask Mesh Final Aabb Glb
- auto_mask_mesh_filtered_2_aabb_glb
- Auto Mask Mesh Filtered 2 Aabb Glb
Example Execution Logs
▶️ (cwd=demo) python3.10 auto_mask.py --ckpt_path /opt/Hunyuan3D-Part/p3sam/p3sam.safetensors --mesh_path /tmp/tmpih61awzarobot_100k.glb --output_path /tmp/p3sam_88uekmqu/p3sam_out --point_num 100000 --prompt_num 400 --threshold 0.95 --post_process 0 --save_mid_res 1 --show_info 1 --show_time_info 1 --seed 42 --parallel 1 --prompt_bs 32 --clean_mesh 1
Version Details
- Version ID
f1ae94f2cf6f0d6619e8697b55cb6cadb5defb349320e1c14aa212ad333927f3- Version Created
- November 3, 2025