Unknown op 'NonMaxSuppressionV5'
See original GitHub issueTo get help from the community, we encourage using Stack Overflow and the tensorflow.js
tag.
TensorFlow.js version
I’m using <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@1.2.11/dist/tf.min.js"></script>
Browser version
Chrome 78
Describe the problem or feature request
I’m trying to run an object detection model created in tensorflow, and I am getting this error:
Unknown op 'NonMaxSuppressionV5'.
Code to reproduce the bug / link to feature request
If you would like to get help from the community, we encourage using Stack Overflow and the tensorflow.js
tag.
const image = tf.browser.fromPixels(MY_DOM_IMAGE)
const smalImg = tf.image.resizeBilinear(image, [368, 432]);
const resized = tf.cast(smalImg, 'float32');
const t4d = tf.tensor4d(Array.from(resized.dataSync()),[1,368,432,3])
let outputs = await model.executeAsync(
{ 'image_tensor' : t4d },
[ 'detection_boxes','detection_scores','detection_classes','num_detections', 'detection_multiclass_scores', 'raw_detection_boxes', 'raw_detection_scores']
);
GitHub issues for this repository are tracked in the tfjs union repository.
Please file your issue there, following the guidance in that issue template.
Issue Analytics
- State:
- Created 4 years ago
- Comments:13
Top Results From Across the Web
tensorflow::ops::NonMaxSuppressionV4 Class Reference
Greedily selects a subset of bounding boxes in descending order of score,. Summary. pruning away boxes that have high intersection-over-union ( ...
Read more >TensorFlow Issue - 'NonMaxSuppressionV3' in binary
NotFoundError: Op type not registered 'NonMaxSuppressionV3' in binary running on tegra-ubuntu. Make sure the Op and Kernel are registered in ...
Read more >Diff - 2349d429d926e258e9a61d34c7fd97660ab9fb98^! - ml/ethos ...
MLBEDSW-3654 Add/use op ifm/ofm shapes Add ifm/ofm shapes to op Changed to rely on ... op.type in elementwise_op_map, f"Unknown elementwise type {op.type}" ...
Read more >op - Go Packages
Package op defines functions for adding TensorFlow operations to a Graph. ... Output); func NonMaxSuppressionV5(scope *Scope, boxes tf.
Read more >Model Optimizing SSD Mobilenet model - Intel Communities
SplitBase'> [ INFO ] New subclass: <class 'extensions.ops.parameter. ... Added a new entry NonMaxSuppressionV5 to extractors with custom extractor class ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @federicolucca and @alien35, sorry for the issue you are experiencing, this is because the Op ‘NonMaxSuppressionV5’ was not supported in previous versions. We just added the support in 1.5.1, see details here. Please update your tensorflowjs version to 1.5.1 and try again. This should solve the problem.
Hey @lina128 - that would be awesome! Thank you so much! I will track @ #2450