facebookresearch / facebookresearch/sam2

How to convert .pt file into TorchScript File to generate a .cat file with CatFileCreator in Nuke

Open
#323 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
19.9k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

Hi,
Could anyone help me convert .pt files to torchscript files?
I'd like to generate a .cat file with CatFileCreator and torchscript files are required.
Thank you all!

Contributor guide

Open the contributing guide

Research direction

The issue names no repository file, test, or entry point. Start with the SAM 2 model-checkpoint and inference examples described in the repository, then verify whether the requested .pt-to-TorchScript and CatFileCreator workflow is documented; done means a reproducible documented path for generating the .cat file.

Written by the indexing model from the issue text.

Assessment

Tech stack
pytorch
Domain
machine-learning
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.