TestGradientBasedSolver: drop doubled seed inititialization
authorEvan Shelhamer <shelhamer@imaginarynumber.net>
Sat, 8 Aug 2015 19:57:45 +0000 (12:57 -0700)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Sat, 8 Aug 2015 19:57:45 +0000 (12:57 -0700)
src/caffe/test/test_gradient_based_solver.cpp

index 7bb0ec1..30b041f 100644 (file)
@@ -180,7 +180,6 @@ class GradientBasedSolverTest : public MultiDeviceTest<TypeParam> {
     }
     Caffe::set_random_seed(this->seed_);
     this->InitSolverFromProtoString(proto.str());
-    Caffe::set_random_seed(this->seed_);
     if (from_snapshot != NULL) {
       this->solver_->Restore(from_snapshot);
       vector<Blob<Dtype>*> empty_bottom_vec;