No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
open_nsfw @ 79f77bc Initial commit Oct 23, 2016
.gitmodules Initial commit Oct 23, 2016
Dockerfile Initial commit Oct 23, 2016
README.md Update README.md Oct 31, 2016
app.py auto save Oct 23, 2016

README.md

Usage

Docker Hub

docker run -p 8080:80 -d -t kkosuge/open_nsfw_server:latest
curl http://localhost:8080/nsfw_score?image_url=https://cdn-ak.f.st-hatena.com/images/fotolife/s/slideglide/20161020/20161020130337.jpg

Github Checkout

git clone git@github.com:kkosuge/open_nsfw_server.git
cd open_nsfw_server
docker build -t open_nsfw_server:cpu ./
docker run --name nsfw_server -p 8080:80 -t open_nsfw_server:cpu
curl http://localhost:8080/nsfw_score?image_url=https://cdn-ak.f.st-hatena.com/images/fotolife/s/slideglide/20161020/20161020130337.jpg

Open nsfw model

https://github.com/yahoo/open_nsfw