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
162f2db0
Commit
162f2db0
authored
Aug 10, 2016
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix name bug
parent
bff69e84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tensorpack/callbacks/param.py
tensorpack/callbacks/param.py
+2
-2
No files found.
tensorpack/callbacks/param.py
View file @
162f2db0
...
@@ -192,11 +192,11 @@ class StatMonitorParamSetter(HyperParamSetter):
...
@@ -192,11 +192,11 @@ class StatMonitorParamSetter(HyperParamSetter):
statistics update.
statistics update.
For example, if error wasn't decreasing, anneal the learning rate:
For example, if error wasn't decreasing, anneal the learning rate:
NonDecreasing
StatMonitorParamSetter('learning_rate', 'val-error', lambda x: x * 0.2)
StatMonitorParamSetter('learning_rate', 'val-error', lambda x: x * 0.2)
If reverse==True, use 'increasing' instead of decreasing
If reverse==True, use 'increasing' instead of decreasing
"""
"""
super
(
NonDecreasing
StatMonitorParamSetter
,
self
)
.
__init__
(
param
)
super
(
StatMonitorParamSetter
,
self
)
.
__init__
(
param
)
self
.
stat_name
=
stat_name
self
.
stat_name
=
stat_name
self
.
value_func
=
value_func
self
.
value_func
=
value_func
self
.
last_k
=
last_k
self
.
last_k
=
last_k
...
...
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