Models: Feature Maps/Vectors visualization/extraction from frozen inference graph - Object Detection APIs

Created on 2 Oct 2018  路  3Comments  路  Source: tensorflow/models

System information

  • What is the top-level directory of the model you are using: _models/research/object_detection/_
  • Have I written custom code (as opposed to using a stock example script provided in TensorFlow): _YES, a simple script to load the frozen inference graph and predict_
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): _Open SuSE 12_
  • TensorFlow installed from (source or binary): _source_
  • TensorFlow version (use command below): _1.5.0_
  • Bazel version (if compiling from source): _N/A_
  • CUDA/cuDNN version: _Cuda compilation tools, release 8.0, V8.0.61_
  • GPU model and memory: _Tesla P100-PCIE_
  • Exact command to reproduce: _N/A_

Is there a way to extract/visualize the feature maps/vectors after activation layers from the frozen graph model ?

EDIT
I managed to get the computational graph from the frozen model, and accordingly know which tensor is where exactly

So in my case for example, I am dealing with the faster-RCNN
capsadsadasdture
so with get_tensor_by_name('Squeeze_1:0') I can run a session and get the output tensor of Squeeze_1
which has a shape of Tensor("Squeeze_1:0", shape=(300, 90, 4), dtype=float32)
Is there a way to visualize this activation ? taking into consideration that it is a 4 channel ?

I am looking into an output more or less like this

activations

Most helpful comment

I'd be interested in learning more about this too.

All 3 comments

Hello, any update about my issue @tensorflowbutler @qlzh727 @derekjchow

I'd be interested in learning more about this too.

Hi There,
We are checking to see if you still need help on this, as this seems to be considerably old issue. Please update this issue with the latest information, code snippet to reproduce your issue and error you are seeing.
If we don't hear from you in the next 7 days, this issue will be closed automatically. If you don't need help on this issue any more, please consider closing this.

Was this page helpful?
0 / 5 - 0 ratings