facebookresearch / facebookresearch/segment-anything

About Dynamic image size input.

Open
#197 2 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

Hi,
Thank you for releasing this excellent repository. I want the dynamic size of the input image to get the mask instead of converting to 1024*1024 every time for inference. I have tried but have yet to succeed.
Can you give me some advice?
Thanks.
Best.

Contributor guide

Open the contributing guide

Research direction

Start by reading the repository's inference example notebooks and identify where the input image is converted to 1024×1024 before mask generation. Compare that path with the requested dynamic-size behavior and determine whether the model supports it. Done means inference can accept the requested input dimensions without that conversion, with the resulting masks still behaving correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
computer-vision, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.