Skip to content Skip to sidebar Skip to footer

Layer Names For Pretrained Inception V3 Model (tensorflow)

The task is to get per-layer output of a pretrained cnn inceptionv3 model. For example I feed an image to this network, and I want to get not only its output, but output of each la

Solution 1:

The base question has already been asked (and answered) in List of tensor names in graph in Tensorflow

To answer your concern with your approach (2) - that does work (i've done it). If I had to guess, you probably don't use a dictionary-like structure to store the nodes, so if multiple nodes get their input from the same node (like it happens a lot in the inception model), you insert that input node multiple times in your list of things to store / visit. If you take care to visit each node only once, that should run basically instantly without memory problems.

Post a Comment for "Layer Names For Pretrained Inception V3 Model (tensorflow)"