Closed endeepak closed 6 years ago
Modified notebook for ssdlite_mobilenet_v2_coco
model can be found in https://github.com/endeepak/tf_cnnvis/blob/master/examples/tf_cnnvis_Example3.ipynb
Changes can be found in commit https://github.com/endeepak/tf_cnnvis/commit/96d7a452de40fd28aa743d059bd2e0d0af18a6e2#diff-3d2ac2a68d31d5613fd599622217b371
I was able to figure out the correct input and output layers using tools/graph_transforms:summarize_graph
from tensorflow docs. I'm currently stuck with issue https://github.com/InFoCusp/tf_cnnvis/issues/26
Layer name changes can be found here https://github.com/endeepak/tf_cnnvis/commit/93d4d2ed1f72158baa4c72857e7d4db091ebdc46
Hi @endeepak Sorry for the late reply. Thanks to your model, we were able to figure out the cause for the NoneType error in issue #26. It occurs when one of the layers/ operations in the model does not have a gradient defined for it. In this case, forward pass and hence activation visualization would work fine but back propagation or de convolution would not work and hence gives the NoneType error.
Closing this for lack of activity. Reopen if needed.
I'm trying
deepdream_visualization
on ssdlite_mobilenet_v2_coco model by modifying the tf_cnnvis_Example3.ipynb. I have set the input layer toFeatureExtractor/MobilenetV2/MobilenetV2/input
and visualisation layer toimport/FeatureExtractor/MobilenetV2/layer_19_2_Conv2d_5_3x3_s2_128/BatchNorm/batchnorm/add_1
Given these layers,
deepdream_visualization
generated uninterpretable image as shown belowI'm not sure if I have chosen the correct layers for input and visualization. Any pointers on this would be very useful
Thanks