projects
/
platform
/
upstream
/
caffe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdb6014
)
Seed HingeLossLayerTest; bad values can cause test (and therefore Travis
author
Jeff Donahue
<jeff.donahue@gmail.com>
Mon, 14 Jul 2014 09:44:28 +0000
(
02:44
-0700)
committer
Jeff Donahue
<jeff.donahue@gmail.com>
Mon, 14 Jul 2014 09:44:28 +0000
(
02:44
-0700)
CI build) to fail
src/caffe/test/test_hinge_loss_layer.cpp
patch
|
blob
|
history
diff --git
a/src/caffe/test/test_hinge_loss_layer.cpp
b/src/caffe/test/test_hinge_loss_layer.cpp
index
868e9e9
..
df6d8e2
100644
(file)
--- a/
src/caffe/test/test_hinge_loss_layer.cpp
+++ b/
src/caffe/test/test_hinge_loss_layer.cpp
@@
-28,6
+28,7
@@
class HingeLossLayerTest : public MultiDeviceTest<TypeParam> {
: blob_bottom_data_(new Blob<Dtype>(10, 5, 1, 1)),
blob_bottom_label_(new Blob<Dtype>(10, 1, 1, 1)) {
// fill the values
+ Caffe::set_random_seed(1701);
FillerParameter filler_param;
filler_param.set_std(10);
GaussianFiller<Dtype> filler(filler_param);