-
Notifications
You must be signed in to change notification settings - Fork 2k
TensorFlowJS Unsupported Ops needed for Yahoo's Open NSFW Model #433
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
The TensorArray related ops are almost ready, see tensorflow/tfjs-converter#170 |
Thanks! That's amazing progress! Also, don't forget DecodeJpeg please. |
Same issue here. The only outstanding ops are: |
Same issue here. The only outstanding ops are: DecodeBase64, DecodeJpeg, EncodeJpeg |
Working on it. |
@SSaishruthi Frankly, if OpenNSFW is the only reason for supporting those operations, you may reconsider it. For everyone else requesting this: OpenNSFW has not been updated since its announcement in 2016. There are now alternative models which you can use. We trained our alternative, MobileNetV2 based model which you can find here: https://github.com/purify-ai/geacc-models There's also NsfwJS which is based on InceptionV3: https://github.com/infinitered/nsfwjs |
DecodeJpeg op has been added in tfjs-node. |
To get help from the community, check out our Google group.
TensorFlow.js version
tensorflowjs 0.4.1
(installed via pip install tensorflowjs on June 13, 2018)
Browser version
N/A
Describe the problem or feature request
I attempted to convert the TensorFlow model of Yahoo's Open NSFW model found here with
tensorflowjs-convert
. (First, I exported the TensorFlow .npy file into a Frozen Model and also a Saved Model.)For the Frozen Model, I ran:
and received the following message:
Running on the Saved Model also results in the same Unsupported Ops list.
Request: Please add my vote to support these Ops
Thanks!
The text was updated successfully, but these errors were encountered: