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
ab1575da
Commit
ab1575da
authored
Dec 18, 2016
by
Davis King
Browse files
more cleanup
parent
b87ecad5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
examples/dnn_metric_learning_on_images_ex.cpp
examples/dnn_metric_learning_on_images_ex.cpp
+2
-4
No files found.
examples/dnn_metric_learning_on_images_ex.cpp
View file @
ab1575da
...
@@ -161,11 +161,9 @@ template <typename SUBNET> using alevel2 = ares<256,ares<256,ares<256,ares<256,a
...
@@ -161,11 +161,9 @@ template <typename SUBNET> using alevel2 = ares<256,ares<256,ares<256,ares<256,a
template
<
typename
SUBNET
>
using
alevel3
=
ares
<
128
,
ares
<
128
,
ares
<
128
,
ares_down
<
128
,
SUBNET
>>>>
;
template
<
typename
SUBNET
>
using
alevel3
=
ares
<
128
,
ares
<
128
,
ares
<
128
,
ares_down
<
128
,
SUBNET
>>>>
;
template
<
typename
SUBNET
>
using
alevel4
=
ares
<
64
,
ares
<
64
,
ares
<
64
,
SUBNET
>>>
;
template
<
typename
SUBNET
>
using
alevel4
=
ares
<
64
,
ares
<
64
,
ares
<
64
,
SUBNET
>>>
;
template
<
typename
SUBNET
>
using
final_pooling
=
avg_pool_everything
<
SUBNET
>
;
template
<
typename
SUBNET
>
using
afinal_pooling
=
avg_pool_everything
<
SUBNET
>
;
// training network type
// training network type
using
net_type
=
loss_metric
<
fc_no_bias
<
128
,
final_pool
ing
<
using
net_type
=
loss_metric
<
fc_no_bias
<
128
,
avg_pool_everyth
ing
<
level1
<
level1
<
level2
<
level2
<
level3
<
level3
<
...
@@ -175,7 +173,7 @@ using net_type = loss_metric<fc_no_bias<128,final_pooling<
...
@@ -175,7 +173,7 @@ using net_type = loss_metric<fc_no_bias<128,final_pooling<
>>>>>>>>>>>
;
>>>>>>>>>>>
;
// testing network type (replaced batch normalization with fixed affine transforms)
// testing network type (replaced batch normalization with fixed affine transforms)
using
anet_type
=
loss_metric
<
fc_no_bias
<
128
,
a
final_pool
ing
<
using
anet_type
=
loss_metric
<
fc_no_bias
<
128
,
a
vg_pool_everyth
ing
<
alevel1
<
alevel1
<
alevel2
<
alevel2
<
alevel3
<
alevel3
<
...
...
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