fix
authorYangqing Jia <jiayq84@gmail.com>
Thu, 19 Sep 2013 06:43:20 +0000 (23:43 -0700)
committerYangqing Jia <jiayq84@gmail.com>
Thu, 19 Sep 2013 06:43:20 +0000 (23:43 -0700)
src/Makefile
src/caffeine/test/test_gradient_check_util.cpp

index fd8a8abf7b3fc750fda7557f10fc74ecc7d692ff..3633c71e9adde2e8977db1dbff1d42d2078ceecb 100644 (file)
@@ -46,7 +46,7 @@ NVCC = nvcc ${CXXFLAGS:-fPIC=-Xcompiler -fPIC} $(CPPFLAGS) $(CUDA_ARCH)
 
 all: $(NAME)
 
-linecount:
+linecount: clean
        cloc --read-lang-def=caffeine.cloc caffeine/
 
 test: $(TEST_NAME)
index f0a186a1f8be314a735530031ba344fbbd488bc4..aa540f95799a96d6d9ec9ce50fd4d604b4b20f53 100644 (file)
@@ -31,7 +31,7 @@ void GradientChecker<Dtype>::CheckGradient(Layer<Dtype>& layer,
   for (int blobid = 0; blobid < blobs_to_check.size(); ++blobid) {
     Blob<Dtype>* current_blob = blobs_to_check[blobid];
     //LOG(ERROR) << "Blob " << blobid << ": checking " << current_blob->count()
-        << " parameters.";
+    //    << " parameters.";
     // go through the values
     for (int feat_id = 0; feat_id < current_blob->count(); ++feat_id) {
       // First, obtain the original data