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
3d561039
Commit
3d561039
authored
Jun 03, 2019
by
Gu-ni-kim
Committed by
Francisco Massa
Jun 03, 2019
Browse files
Update faster_rcnn.py (#979)
Add 'import torch' in example
parent
47db9638
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
torchvision/models/detection/faster_rcnn.py
torchvision/models/detection/faster_rcnn.py
+1
-0
No files found.
torchvision/models/detection/faster_rcnn.py
View file @
3d561039
...
@@ -99,6 +99,7 @@ class FasterRCNN(GeneralizedRCNN):
...
@@ -99,6 +99,7 @@ class FasterRCNN(GeneralizedRCNN):
Example::
Example::
>>> import torch
>>> import torchvision
>>> import torchvision
>>> from torchvision.models.detection import FasterRCNN
>>> from torchvision.models.detection import FasterRCNN
>>> from torchvision.models.detection.rpn import AnchorGenerator
>>> from torchvision.models.detection.rpn import AnchorGenerator
...
...
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