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
ModelZoo
SOLOv2-pytorch
Commits
d6b3cbd5
Commit
d6b3cbd5
authored
Dec 18, 2018
by
pangjm
Browse files
rm useless
parent
c6fde230
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
tools/train.py
tools/train.py
+1
-4
No files found.
tools/train.py
View file @
d6b3cbd5
from
__future__
import
division
import
sys
sys
.
path
.
insert
(
0
,
'/mnt/lustre/pangjiangmiao/codebase/mmcv'
)
sys
.
path
.
insert
(
0
,
'/mnt/lustre/pangjiangmiao/codebase/mmdet'
)
import
argparse
from
mmcv
import
Config
...
...
@@ -17,7 +14,7 @@ def parse_args():
parser
=
argparse
.
ArgumentParser
(
description
=
'Train a detector'
)
parser
.
add_argument
(
'config'
,
help
=
'train config file path'
)
parser
.
add_argument
(
'--work_dir'
,
help
=
'the dir to save logs and models'
)
parser
.
add_argument
(
'--resume_from'
,
help
=
'the checkpoint to resume from'
)
parser
.
add_argument
(
'--resume_from'
,
help
=
'the checkpoint
file
to resume from'
)
parser
.
add_argument
(
'--validate'
,
action
=
'store_true'
,
...
...
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