frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How can i get the output of a layer by the SDK C++ API?

I want to use NC API instead my caffe code,but this content doesn't appear in the documents.
This is my code which is the part of getting a layer output:
caffe::Net* _net;
*
*
*
boost::shared_ptr<caffe::Blob > features = _net->blob_by_name("fc5");

Comments

  • 1 Comment sorted by Votes Date Added
  • @InSilence Currently there isn't any support for outputting the layer of a node via the API. A possible alternative is to generate a graph file with your desired output layer by using the -on option. You can then use the graph file with the API.

Sign In or Register to comment.