Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
f06b265b
Commit
f06b265b
authored
May 30, 2016
by
Fm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added getter for trainer::train_one_step_calls
parent
91163863
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
trainer.h
dlib/dnn/trainer.h
+6
-0
trainer_abstract.h
dlib/dnn/trainer_abstract.h
+11
-0
No files found.
dlib/dnn/trainer.h
View file @
f06b265b
...
...
@@ -466,6 +466,12 @@ namespace dlib
return
learning_rate_shrink
;
}
unsigned
long
long
get_train_one_step_calls
(
)
const
{
return
train_one_step_calls
;
}
private
:
void
record_loss
(
double
loss
)
...
...
dlib/dnn/trainer_abstract.h
View file @
f06b265b
...
...
@@ -295,6 +295,17 @@ namespace dlib
get_learning_rate_shrink_factor() to 1.
!*/
unsigned
long
long
get_train_one_step_calls
(
)
const
;
/*!
requires
- training process should be done with #train_one_step()
ensures
- Each #train_one_step() call increases this counter. It can be used to understand the training
stage to make some additional processing like snapshotting or extra testing
- This value is serialized/deserialized via synchronization file
!*/
void
be_verbose
(
);
/*!
...
...
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