Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
431b04d8
Unverified
Commit
431b04d8
authored
May 09, 2023
by
NielsRogge
Committed by
GitHub
May 09, 2023
Browse files
[SAM] Add resources (#23224)
Add resources
parent
006da469
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
docs/source/en/model_doc/sam.mdx
docs/source/en/model_doc/sam.mdx
+5
-3
No files found.
docs/source/en/model_doc/sam.mdx
View file @
431b04d8
...
...
@@ -22,7 +22,7 @@ The model can be used to predict segmentation masks of any object of interest gi
The
abstract
from
the
paper
is
the
following
:
*
We
introduce
the
Segment
Anything
(
SA
)
project
:
a
new
task
,
model
,
and
dataset
for
image
segmentation
.
Using
our
efficient
model
in
a
data
collection
loop
,
we
built
the
largest
segmentation
dataset
to
date
(
by
far
),
with
over
1
billion
masks
on
11
M
licensed
and
privacy
respecting
images
.
The
model
is
designed
and
trained
to
be
promptable
,
so
it
can
transfer
zero
-
shot
to
new
image
distributions
and
tasks
.
We
evaluate
its
capabilities
on
numerous
tasks
and
find
that
its
zero
-
shot
performance
is
impressive
--
often
competitive
with
or
even
superior
to
prior
fully
supervised
results
.
We
are
releasing
the
Segment
Anything
Model
(
SAM
)
and
corresponding
dataset
(
SA
-
1
B
)
of
1
B
masks
and
11
M
images
at
\
href
{
https
://
segment
-
anything
.
com
}{
https
://
segment
-
anything
.
com
}
to
foster
research
into
foundation
models
for
computer
vision
.*
*
We
introduce
the
Segment
Anything
(
SA
)
project
:
a
new
task
,
model
,
and
dataset
for
image
segmentation
.
Using
our
efficient
model
in
a
data
collection
loop
,
we
built
the
largest
segmentation
dataset
to
date
(
by
far
),
with
over
1
billion
masks
on
11
M
licensed
and
privacy
respecting
images
.
The
model
is
designed
and
trained
to
be
promptable
,
so
it
can
transfer
zero
-
shot
to
new
image
distributions
and
tasks
.
We
evaluate
its
capabilities
on
numerous
tasks
and
find
that
its
zero
-
shot
performance
is
impressive
--
often
competitive
with
or
even
superior
to
prior
fully
supervised
results
.
We
are
releasing
the
Segment
Anything
Model
(
SAM
)
and
corresponding
dataset
(
SA
-
1
B
)
of
1
B
masks
and
11
M
images
at
[
https
://
segment
-
anything
.
com
](
https
://
segment
-
anything
.
com
)
to
foster
research
into
foundation
models
for
computer
vision
.*
Tips
:
...
...
@@ -63,8 +63,10 @@ scores = outputs.iou_scores
Resources
:
-
[
Demo
notebook
](
https
://
github
.
com
/
huggingface
/
notebooks
/
blob
/
main
/
examples
/
segment_anything
.
ipynb
)
for
using
the
model
-
[
Demo
notebook
](
https
://
github
.
com
/
huggingface
/
notebooks
/
blob
/
main
/
examples
/
automatic_mask_generation
.
ipynb
)
for
using
automatic
mask
generation
pipeline
.
-
[
Demo
notebook
](
https
://
github
.
com
/
huggingface
/
notebooks
/
blob
/
main
/
examples
/
segment_anything
.
ipynb
)
for
using
the
model
.
-
[
Demo
notebook
](
https
://
github
.
com
/
huggingface
/
notebooks
/
blob
/
main
/
examples
/
automatic_mask_generation
.
ipynb
)
for
using
the
automatic
mask
generation
pipeline
.
-
[
Demo
notebook
](
https
://
github
.
com
/
NielsRogge
/
Transformers
-
Tutorials
/
blob
/
master
/
SAM
/
Run_inference_with_MedSAM_using_HuggingFace_Transformers
.
ipynb
)
for
inference
with
MedSAM
,
a
fine
-
tuned
version
of
SAM
on
the
medical
domain
.
-
[
Demo
notebook
](
https
://
github
.
com
/
NielsRogge
/
Transformers
-
Tutorials
/
blob
/
master
/
SAM
/
Fine_tune_SAM_
(
segment_anything
)
_on_a_custom_dataset
.
ipynb
)
for
fine
-
tuning
the
model
on
custom
data
.
##
SamConfig
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment