Why doesn't 'extract_features' print the net architecture and other "warmup" printouts?

18 views
Skip to first unread message

Forrest Iandola

unread,
Aug 3, 2015, 10:18:35 PM8/3/15
to Caffe Users
I've added some LOG(INFO) debug printouts to some of the layers, and I want to see them when running extract_features.

When I run build/tools/caffe, it prints a healthy amount of stuff as it initializes itself:

I0722 15:28:11.520493 20387 caffe.cpp:113] Use GPU with device ID 0
I0722 15:28:12.217175 20387 caffe.cpp:121] Starting Optimization
I0722 15:28:12.217278 20387 solver.cpp:35] Initializing solver from parameters:
test_iter: 782
test_interval: 1000
....
state {
  phase: TRAIN
}
layer {
  name: "data"
  type: "Data"
  top: "data"
  top: "label
....
etc.

But, when I run build/tools/extract_features, it prints out very few things:
E0803 18:03:34.980089 28168 extract_features.cpp:54] Using GPU
E0803 18:03:34.980782 28168 extract_features.cpp:60] Using Device_id=0
E0803 18:03:36.574739 28168 extract_features.cpp:135] Extacting Features
E0803 18:03:38.935869 28168 extract_features.cpp:170] Extracted features of 1000 query images for feature blob prob
E0803 18:03:41.202299 28168 extract_features.cpp:170] Extracted features of 2000 query images for feature blob prob
E0803 18:03:43.334579 28168 extract_features.cpp:170] Extracted features of 3000 query images for feature blob prob
...
E0803 18:05:39.646898 28168 extract_features.cpp:186] Successfully extracted the features!

How can I get extract_features to show all the debug printouts?
Reply all
Reply to author
Forward
0 new messages