Skip to content

Commit

Permalink
Fixups per review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
jyegerlehner committed Aug 16, 2015
1 parent f4dc253 commit bf2c331
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions include/caffe/solver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ class Solver {
string SnapshotToBinaryProto();
string SnapshotToHDF5();
// The test routine
// stop_was_requested will be set to true iff a request to stop training
// was received whilst testing.
void TestAll();
void Test(const int test_net_id = 0);
virtual void SnapshotSolverState(const string& model_filename) = 0;
Expand Down
2 changes: 0 additions & 2 deletions src/caffe/util/signal_handler.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#include <boost/bind.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/thread/thread.hpp>
#include <glog/logging.h>

#include <signal.h>
Expand Down
4 changes: 3 additions & 1 deletion tools/caffe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,10 @@ void CopyLayers(caffe::Solver<float>* solver, const std::string& model_list) {
}
}

// Translate the signal effect the user specified on the command-line to the
// corresponding enumeration.
caffe::SolverParameter_Action GetRequestedAction(
const std::string& flag_value) {
const std::string& flag_value) {
if (flag_value == "stop") {
return caffe::SolverParameter_Action_STOP;
}
Expand Down

0 comments on commit bf2c331

Please sign in to comment.