Forums - No op named NonMaxSuppressionV2 in defined operations.

3 posts / 0 new
Last post
No op named NonMaxSuppressionV2 in defined operations.
sam
Join Date: 11 Jan 18
Posts: 8
Posted: Fri, 2018-01-12 03:46

Hi,

While converting the tensorflow model (.pb) to snpe (.dlc) , I'm facing issue with the "NonMaxSuppressionV2" operation.

Tensorflow Model type: SSD_Mobilenet_V1

Here is the error:

2018-01-12 17:09:37,629 - 126 - ERROR - Encountered Error: No op named NonMaxSuppressionV2 in defined operations.
Traceback (most recent call last):
  File "/home/sam/snpe-sdk/snpe-1.8.0/bin/x86_64-linux-clang/snpe-tensorflow-to-dlc", line 116, in main
    model = loader.load(args.graph, in_nodes, in_dims, args.in_type, args.out_node, session)
  File "/home/sam/snpe-sdk/snpe-1.8.0/lib/python/converters/tensorflow/loader.py", line 67, in load
    graph_def = self.__import_graph(graph_pb_or_meta_path, session, out_node_names)
  File "/home/sam/snpe-sdk/snpe-1.8.0/lib/python/converters/tensorflow/loader.py", line 128, in __import_graph
    tf.import_graph_def(graph_def, name="")
  File "/home/sam/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/framework/importer.py", line 259, in import_graph_def
    raise ValueError('No op named %s in defined operations.' % node.op)
ValueError: No op named NonMaxSuppressionV2 in defined operations.
 

 

  • Up0
  • Down0
1225541074
Join Date: 21 Mar 18
Posts: 3
Posted: Mon, 2018-03-26 00:50

I have met the same problem as you, have you solved it?

 

  • Up0
  • Down0
tmeharizghi
Join Date: 12 Mar 18
Posts: 4
Posted: Wed, 2018-08-15 16:10

Did you get a solution for the your problem? I have similar problem. I retrained a pretrained ssd_mobilenet_v1 model on my own dataset in gpu. I exported and froze the graph. Finally after I tried to convert it to dlc, I have got similar problem as above.

Tensorflow Version for SNPE: 1.5.0

SNPE Version: snpe-1.17.0

`ValueError: No op named NonMaxSuppressionV3 in defined operations`

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.