-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Object detection net(eg:faster_rcnn_resnet101) not worked with deconv_visualization #59
Comments
What is your input_sensor set to? Not familiar with faster rcnn, but with mobilenet ssd (from tensorflow object detection model zoo), I got the same error when using You can try skipping the pre-processing blocks and set input_tensor to the input of feature extractor block(or whatever the actual input is). You will need to manually do the pre-processing though. |
##@wildpig22 Error outer_forward_ctxt = forward_ctxt.outer_context Tried so many things given here #12 and #26 but still getting error. |
@wildpig22 Thanks very much! It works! And I read the source code, find that some tensor in pre-processing is not trainable. |
@aggpankaj2
Addtion TensorFlow versoin is 1.9. |
@wildpig22 Did you have any idea about use GPU?
|
@jidebingfeng I haven't figured that out either, sometimes I even have to set |
@wildpig22 In fact, it works well with the code |
@jidebingfeng Thank you very much. It work. Had you tried for deconv visualization for mobilenetv2 ? |
@aggpankaj2 No. I just tried for |
@aggpankaj2 You can judge the layer is trainable by it's
|
@jidebingfeng thanks for your reply. Yes i tried same as per your suggestion but not working |
@aggpankaj2 do you mean mobilenetV2 or mobilenetV2+SSD? Try this code for mobilenetV2+SSD (tensorflow 1.9.0)
|
@wildpig22 thanks for your code, but not working. |
@aggpankaj2 which model are you using, can you provide a link? Also, what is the error? |
Object detection net(eg:faster_rcnn_resnet101) not worked with deconv_visualization.
With activation_visualization works well.
Error:
Addition:
Variable
reconstruct
(defined at line 327 in tf_cnnvis.py ) is[None, None, None, None, None, None, None, None]
. TensorFlow version is 1.9. When I use TensorFlow 1.4, I got same Error as #26The text was updated successfully, but these errors were encountered: