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
d2c763e1
Unverified
Commit
d2c763e1
authored
Dec 19, 2019
by
Francisco Massa
Committed by
GitHub
Dec 19, 2019
Browse files
Fix lint (#1693)
parent
013d1322
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
references/detection/train.py
references/detection/train.py
+1
-1
No files found.
references/detection/train.py
View file @
d2c763e1
...
@@ -115,7 +115,7 @@ def main(args):
...
@@ -115,7 +115,7 @@ def main(args):
optimizer
.
load_state_dict
(
checkpoint
[
'optimizer'
])
optimizer
.
load_state_dict
(
checkpoint
[
'optimizer'
])
lr_scheduler
.
load_state_dict
(
checkpoint
[
'lr_scheduler'
])
lr_scheduler
.
load_state_dict
(
checkpoint
[
'lr_scheduler'
])
args
.
start_epoch
=
checkpoint
[
'epoch'
]
+
1
args
.
start_epoch
=
checkpoint
[
'epoch'
]
+
1
if
args
.
test_only
:
if
args
.
test_only
:
evaluate
(
model
,
data_loader_test
,
device
=
device
)
evaluate
(
model
,
data_loader_test
,
device
=
device
)
return
return
...
...
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