Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
food-round2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Joel Joseph
food-round2
Commits
d6b3cbd5
Commit
d6b3cbd5
authored
6 years ago
by
pangjm
Browse files
Options
Downloads
Patches
Plain Diff
rm useless
parent
c6fde230
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/train.py
+1
-4
1 addition, 4 deletions
tools/train.py
with
1 addition
and
4 deletions
tools/train.py
+
1
−
4
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
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment