o7-Fire / NodeNsfwJSAPI

NSFW-JS to classify and moderate image and gif. now with REST API

Home Page:https://api.mindustry.me/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blazing Fast 🚀 NSFW API with NodeJS & ExpressJS

Proof of Concept & API

Images of Proof of Concept & API

Implementation

Installing Tensorflow.js and Requirements (Random Stuff I Found on Internet)

TensorFlow.js for Node currently supports the following platforms:

The platforms listed include Mac OS X, Linux, and Windows operating systems, and support is provided for both CPU and GPU environments. Developers who want to use TensorFlow.js for Node on these platforms will need to ensure that their system meets the specified requirements.

  • Mac OS X CPU (10.12.6 Siera or higher)
  • Linux CPU (Ubuntu 14.04 or higher)
  • Linux GPU (Ubuntu 14.04 or higher and Cuda 11.2 w/ CUDNN v8) (see installation instructions)
  • Windows CPU (Windows 7 or higher)
  • Windows GPU (Windows 7 or higher and Cuda 11.2 w/ CUDNN v8) (see installation instructions)

For GPU support, tfjs-node-gpu@1.2.4 or later requires the developers to have certain versions of NVIDIA software installed on their system. The specific software requirements are listed in the table below.

Name Version
NVIDIA® GPU drivers CUDA 11.2
CUDA® Toolkit 11.2
cuDNN SDK 8.1.0

Other Linux variants might also work but this project matches core TensorFlow installation requirements.

Installing CPU TensorFlow.js for Node:

npm install @tensorflow/tfjs-node

or

yarn add @tensorflow/tfjs-node

Installing GPU TensorFlow.js for Node:

npm install @tensorflow/tfjs-node-gpu

or

yarn add @tensorflow/tfjs-node-gpu

About

Adopted from:

Preview: https://api.mindustry.me

About

NSFW-JS to classify and moderate image and gif. now with REST API

https://api.mindustry.me/

License:MIT License


Languages

Language:JavaScript 96.8%Language:HTML 2.6%Language:Dockerfile 0.3%Language:Nix 0.3%Language:Procfile 0.0%