Skip to content

NSWF.js on React Native #716

Open
Open
@FranciscoOssian

Description

@FranciscoOssian

I was creating a teste app with Tensorflow and nsfw model available at infinitered repo infinitered/nsfwjs-mobile
Works, but without nsfw.js module, and the predictions were wrong, I don't know the best place to throw these two questions.

1 - What would be the best decision making to use in react native?

2 - The model in infinitered/nsfwjs-mobile its just a demo? but why would that model be giving wrong predictions? (I was having predictions that every time an image was classified as "safe"). Right now I discovered this module GantMan/nsfw_model , is it something more official and reliable?

The NSFW.js module loads a lot of node.js and html references, none of which will be used in react native.
In order for me to be able to use the template they made available in /nsfwjs-mobile, I had to pull out of the original package just a few functions to get the ratings. I don't know if the error is in the model or in something wrong that I did when extracting. Follow issue # 24 in the mobile repository, NSFWJS-not-working-in-react-native

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions