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
e6174743
Unverified
Commit
e6174743
authored
Jan 21, 2021
by
Anirudh
Committed by
GitHub
Jan 21, 2021
Browse files
minor typo fix (#3271)
parent
767b23ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/models/detection/anchor_utils.py
torchvision/models/detection/anchor_utils.py
+1
-1
No files found.
torchvision/models/detection/anchor_utils.py
View file @
e6174743
...
...
@@ -100,7 +100,7 @@ class AnchorGenerator(nn.Module):
assert
cell_anchors
is
not
None
if
not
(
len
(
grid_sizes
)
==
len
(
strides
)
==
len
(
cell_anchors
)):
raise
ValueError
(
"Achors should be Tuple[Tuple[int]] because each feature "
raise
ValueError
(
"A
n
chors should be Tuple[Tuple[int]] because each feature "
"map could potentially have different sizes and aspect ratios. "
"There needs to be a match between the number of "
"feature maps passed and the number of sizes / aspect ratios specified."
)
...
...
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