Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
seminar-breakout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
seminar-breakout
Commits
9c1b1b7b
You need to sign in or sign up before continuing.
Commit
9c1b1b7b
authored
Jun 04, 2020
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explain LR_SCHEDULE in configs (#1452)
parent
b4348874
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
examples/FasterRCNN/config.py
examples/FasterRCNN/config.py
+3
-1
No files found.
examples/FasterRCNN/config.py
View file @
9c1b1b7b
...
@@ -147,10 +147,12 @@ _C.TRAIN.STEPS_PER_EPOCH = 500
...
@@ -147,10 +147,12 @@ _C.TRAIN.STEPS_PER_EPOCH = 500
_C
.
TRAIN
.
STARTING_EPOCH
=
1
# the first epoch to start with, useful to continue a training
_C
.
TRAIN
.
STARTING_EPOCH
=
1
# the first epoch to start with, useful to continue a training
# LR_SCHEDULE means equivalent steps when the total batch size is 8.
# LR_SCHEDULE means equivalent steps when the total batch size is 8.
# It can be either a string like "3x" that refers to standard convention, or a list of int.
# LR_SCHEDULE=3x is the same as LR_SCHEDULE=[420000, 500000, 540000], which
# means to decrease LR at steps 420k and 500k and stop training at 540k.
# When the total bs!=8, the actual iterations to decrease learning rate, and
# When the total bs!=8, the actual iterations to decrease learning rate, and
# the base learning rate are computed from BASE_LR and LR_SCHEDULE.
# the base learning rate are computed from BASE_LR and LR_SCHEDULE.
# Therefore, there is *no need* to modify the config if you only change the number of GPUs.
# Therefore, there is *no need* to modify the config if you only change the number of GPUs.
_C
.
TRAIN
.
LR_SCHEDULE
=
"1x"
# "1x" schedule in detectron
_C
.
TRAIN
.
LR_SCHEDULE
=
"1x"
# "1x" schedule in detectron
_C
.
TRAIN
.
EVAL_PERIOD
=
50
# period (epochs) to run evaluation
_C
.
TRAIN
.
EVAL_PERIOD
=
50
# period (epochs) to run evaluation
_C
.
TRAIN
.
CHECKPOINT_PERIOD
=
20
# period (epochs) to save model
_C
.
TRAIN
.
CHECKPOINT_PERIOD
=
20
# period (epochs) to save model
...
...
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