tfjs-node does not implement kernel FlipLeftRight
See original GitHub issueBoth BlazeFace and HandDetector models work just fine in NodeJS using tensorflow backend
The issue is in how post-processing is done in JS code which uses FlipLeftRight
kernel func to reorient input for better second-pass detection.
So if you use tfjs examples, you’ll run into this issue
Error: Kernel ‘FlipLeftRight’ not registered for backend ‘tensorflow’
Unfortunately, those models are internally used by several others as well such as FaceMesh
and HandSkeleton
which makes list of affected models quite long.
Request is to implement FlipLeftRight
in tfjs-node - expectation is to have feature parity between main backends.
Also, is there a matrix of implemented features per backend?
Environment: TFJS 3.6.0 on Ubuntu 20.04
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:26 (12 by maintainers)
Top Results From Across the Web
Flip image left right in tensorflow js - Stack Overflow
Save this question. Show activity on this post. I am new to tfjs and stuck on finding mirror of image.
Read more >Creates a tf.Tensor with the provided values, shape and dtype.
This implementation of einsum has the following limitations: Does not support >2 input tensors. Does not support duplicate axes for any given input...
Read more >Live Stream #136: More Tensorflow.js + Fire Effect Challenge
Tap to unmute. If playback doesn't begin shortly, try restarting your device. Your browser can't play this video. Learn more. Switch camera.
Read more >Building Blocks of Neural Networks and TensorSpace
node -v. The system should display the Node.js version installed on ... was not compiled to use: AVX2 Preprocessing hdf5 combined model.
Read more >A Appendix - Deep Learning with JavaScript: Neural networks ...
For a convolutional layer (e.g., conv2d) of TensorFlow.js, the kernel is its ... the suitable version for the version of tfjs-node-gpu you intend...
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
Thank you @DCtheTall! This PR might be a good example of adding missing ops to node JS, and this doc might also be helpful. Really appreciate it!
Hi @DCtheTall, I’ve merged my PR. Now you can try implementing flipLeftRight using reverse. The PR also updated the tests. You can test your changes locally by running
yarn test
in thetfjs-node
directory.Thank you! Really appreciate your help!