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
OpenDAS
dlib
Commits
64052a3f
"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "5a74319715c9de2eaf854f11ee7bd03fed6e5123"
Commit
64052a3f
authored
Jul 02, 2017
by
Davis King
Browse files
Added a comment
parent
963e8e82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
examples/dnn_mmod_ex.cpp
examples/dnn_mmod_ex.cpp
+2
-0
No files found.
examples/dnn_mmod_ex.cpp
View file @
64052a3f
...
...
@@ -142,6 +142,8 @@ int main(int argc, char** argv) try
// Now we are ready to create our network and trainer.
net_type
net
(
options
);
// The MMOD loss requires that the number of filters in the final network layer equal
// options.detector_windows.size(). So we set that here as well.
net
.
subnet
().
layer_details
().
set_num_filters
(
options
.
detector_windows
.
size
());
dnn_trainer
<
net_type
>
trainer
(
net
);
trainer
.
set_learning_rate
(
0.1
);
...
...
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