Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lin Sui
detectron2
Commits
a885bb73
Unverified
Commit
a885bb73
authored
Feb 19, 2021
by
Yuxin Wu
Committed by
GitHub
Feb 19, 2021
Browse files
Update test_checkpoint.py
parent
263ddafe
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test_checkpoint.py
View file @
a885bb73
...
...
@@ -42,7 +42,7 @@ class TestCheckpointer(unittest.TestCase):
# different tensor references
self
.
assertFalse
(
id
(
loaded
)
==
id
(
stored
))
# same content
self
.
assertTrue
(
loaded
.
equal
(
stored
))
self
.
assertTrue
(
loaded
.
to
(
stored
).
equal
(
stored
))
if
__name__
==
"__main__"
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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