Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

YuanBaoSMadLab
/
velomocap-sam3d-torchscript

SAM 3D Body
torchscript
motion-capture
velomocap
Model card Files Files and versions
xet
Community

Instructions to use YuanBaoSMadLab/velomocap-sam3d-torchscript with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • SAM 3D Body

    How to use YuanBaoSMadLab/velomocap-sam3d-torchscript with SAM 3D Body:

    import cv2
    import numpy as np
    from notebook.utils import setup_sam_3d_body
    from tools.vis_utils import visualize_sample_together
    
    estimator = setup_sam_3d_body("YuanBaoSMadLab/velomocap-sam3d-torchscript")
    
    img_bgr = cv2.imread("path/to/image.jpg")
    outputs = estimator.process_one_image(cv2.cvtColor(img_bgr, cv2.COLOR_BGR2RGB))
    
    rend_img = visualize_sample_together(img_bgr, outputs, estimator.faces)
    cv2.imwrite("output.jpg", rend_img.astype(np.uint8))
  • Notebooks
  • Google Colab
  • Kaggle
velomocap-sam3d-torchscript
10.4 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
YuanBaoSMadLab's picture
YuanBaoSMadLab
Upload folder using huggingface_hub
7003b5e verified 6 days ago
  • .gitattributes
    1.52 kB
    initial commit 6 days ago
  • LICENSE
    8.2 kB
    Upload folder using huggingface_hub 6 days ago
  • NOTICE.md
    2.29 kB
    Upload folder using huggingface_hub 6 days ago
  • README.md
    3.3 kB
    Upload folder using huggingface_hub 6 days ago
  • sam3d_body_b8_ts.pt
    3.34 GB
    xet
    Upload folder using huggingface_hub 6 days ago
  • sam3d_faces.bin
    442 kB
    xet
    Upload folder using huggingface_hub 6 days ago
  • sam3d_full_b8_ts.pt
    3.53 GB
    xet
    Upload folder using huggingface_hub 6 days ago
  • sam3d_full_ts.pt
    3.53 GB
    xet
    Upload folder using huggingface_hub 6 days ago
  • sam3d_keypoints.bin
    6.54 kB
    xet
    Upload folder using huggingface_hub 6 days ago
  • sam3d_mesh.json
    325 Bytes
    Upload folder using huggingface_hub 6 days ago
  • sam3d_skeleton.bin
    2.03 kB
    xet
    Upload folder using huggingface_hub 6 days ago