Skip to content
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

AssertionError #799

Closed
dmiroff opened this issue Jul 20, 2018 · 2 comments
Closed

AssertionError #799

dmiroff opened this issue Jul 20, 2018 · 2 comments

Comments

@dmiroff
Copy link

dmiroff commented Jul 20, 2018

I am running inspect_balloon_model on my machine and got assertion error at 1.b RPN Predictions:
For me it looks close to issue #23 , but solution from it doesn't help. nms_node is empty.
There could be difference in tf versions. My setup: tf 1.9, keras 2.1.6, cuda 9.2, nvidia driver 396.37, Ubuntu 16.04. The only one change in the model by me was adding that 'print' on the screenshot.

default

Hope, you could give me an advice.
Thanks in advance

@dmiroff
Copy link
Author

dmiroff commented Jul 23, 2018

The issue was solved by rollback of tf to 1.8 and cuda to 9.0.

@dmiroff dmiroff closed this as completed Jul 23, 2018
@benediktbrandt
Copy link

In case any else comes accross this: In tensorflow 1.9 it is now called NonMaxSuppressionV3:0, so the code should be:

nms_node = model.ancestor(pillar, "ROI/rpn_non_max_suppression:0")
if nms_node is None:
    nms_node = model.ancestor(pillar, "ROI/rpn_non_max_suppression/NonMaxSuppressionV2:0")
if nms_node is None:
    nms_node = model.ancestor(pillar, "ROI/rpn_non_max_suppression/NonMaxSuppressionV3:0")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants