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
OpenDAS
vision
Commits
b2d4d8a2
"vscode:/vscode.git/clone" did not exist on "18c386d914e8c7ec35b8be1d146a579a45deacad"
Unverified
Commit
b2d4d8a2
authored
May 22, 2021
by
Vasilis Vryniotis
Committed by
GitHub
May 22, 2021
Browse files
Fixing SSD and SSDlite docs (#3896)
parent
3f556e20
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
docs/source/models.rst
docs/source/models.rst
+4
-3
gallery/plot_visualization_utils.py
gallery/plot_visualization_utils.py
+3
-2
No files found.
docs/source/models.rst
View file @
b2d4d8a2
...
...
@@ -388,6 +388,7 @@ architectures for detection:
-
`
Mask
R
-
CNN
<
https
://
arxiv
.
org
/
abs
/
1703.06870
>`
_
-
`
RetinaNet
<
https
://
arxiv
.
org
/
abs
/
1708.02002
>`
_
-
`
SSD
<
https
://
arxiv
.
org
/
abs
/
1512.02325
>`
_
-
`
SSDlite
<
https
://
arxiv
.
org
/
abs
/
1801.04381
>`
_
The
pre
-
trained
models
for
detection
,
instance
segmentation
and
keypoint
detection
are
initialized
with
the
classification
models
...
...
@@ -475,9 +476,9 @@ Runtime characteristics
The
implementations
of
the
models
for
object
detection
,
instance
segmentation
and
keypoint
detection
are
efficient
.
In
the
following
table
,
we
use
8
V100
GPUs
,
with
CUDA
10.0
and
CUDNN
7.4
to
report
the
results
.
During
training
,
we
use
a
batch
size
of
2
per
GPU
,
and
d
uring
testing
a
batch
size
of
1
is
used
.
In
the
following
table
,
we
use
8
GPUs
to
report
the
results
.
During
training
,
we
use
a
batch
size
of
2
per
GPU
for
all
models
except
SSD
which
uses
4
and
SSDlite
which
uses
24.
D
uring
testing
a
batch
size
of
1
is
used
.
For
test
time
,
we
report
the
time
for
the
model
evaluation
and
postprocessing
(
including
mask
pasting
in
image
),
but
not
the
time
for
computing
the
...
...
gallery/plot_visualization_utils.py
View file @
b2d4d8a2
...
...
@@ -10,7 +10,6 @@ visualizing images, bounding boxes, and segmentation masks.
import
torch
import
numpy
as
np
import
scipy.misc
import
matplotlib.pyplot
as
plt
import
torchvision.transforms.functional
as
F
...
...
@@ -68,7 +67,9 @@ show(result)
# models. Here is demo with a Faster R-CNN model loaded from
# :func:`~torchvision.models.detection.fasterrcnn_resnet50_fpn`
# model. You can also try using a RetinaNet with
# :func:`~torchvision.models.detection.retinanet_resnet50_fpn`. For more details
# :func:`~torchvision.models.detection.retinanet_resnet50_fpn`, an SSDlite with
# :func:`~torchvision.models.detection.ssdlite320_mobilenet_v3_large` or an SSD with
# :func:`~torchvision.models.detection.ssd300_vgg16`. For more details
# on the output of such models, you may refer to :ref:`instance_seg_output`.
from
torchvision.models.detection
import
fasterrcnn_resnet50_fpn
...
...
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