facebookresearch / facebookresearch/segment-anything

how to save a generated image?

Open
#81 21 comments 3 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
54.9k
Forks
6.4k
PR merge metrics
No merged PRs in 30d

Description

Thank you for such an excellent job!
I would like to know how to save the images generated from the demo, and how to train the custom dataset. By the way, I run the code and test an image and get separated mask images instead of one image with all masks, is there any method to obtain the corresponding mask image to the original image.

Contributor guide

Open the contributing guide

Research direction

The issue names only the demo, custom-dataset training, and separated mask images; no file or test is provided. Start by locating the demo notebook and tracing its image and mask outputs. Done means the repository explains how to save generated images, train a custom dataset, and obtain a mask corresponding to the original image.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
computer-vision, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 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.