Skip to content
This repository was archived by the owner on Apr 8, 2023. It is now read-only.

Commit 8054a90

Browse files
committed
add data
1 parent ca82751 commit 8054a90

14 files changed

+5
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
[![](https://img.shields.io/badge/Download-1.5.1-brightgreen.svg)](https://mvnrepository.com/artifact/io.github.devzwy/nsfw) [![](https://img.shields.io/badge/Base-TensorFlow-brightgreen.svg)](https://github.com/devzwy/open_nsfw_android) [![](https://img.shields.io/badge/license-Apache%202-green.svg)](https://www.apache.org/licenses/LICENSE-2.0)
33
[![](https://img.shields.io/badge/%E4%BD%9C%E8%80%85-赵文贇-orange.svg)](https://github.com/devzwy/open_nsfw_android) [![](https://img.shields.io/badge/QQ-3648415-brightgreen.svg)](https://github.com/devzwy/open_nsfw_android) ![Plugin on redmine.org](https://img.shields.io/redmine/plugin/stars/redmine_xlsx_format_issue_exporter?color=1&logo=1)
44

5-
## 停止维护,部分图片识别可能不准确
5+
## 该项目从[yahoo-open_nsfw](https://github.com/yahoo/open_nsfw)移植,能力有限,停止维护该库,部分图片识别可能不准确,仅能保证pb模型识别的结果与tflite结果一致,误差不超过0.00001
6+
>所有相关数据已放在data目录下,需要自取
67
7-
### 色情图片离线识别,基于TensorFlow实现。识别只需20ms,可断网测试,成功率99%,调用只要一行代码,从雅虎的开源项目open_nsfw移植,该模型文件可用于iOS、java、C++等平台
8+
### 色情图片离线识别,基于TensorFlow实现。识别只需20ms,可断网测试,调用只要一行代码,从雅虎的开源项目open_nsfw移植,该模型文件可用于iOS、java、C++等平台
89
### ⚠️⚠️⚠️ 已从jCenter仓库迁移到Maven,原引用地址发生变更,建议所有老用户升级到新版本。新版本需要手动下载[nsfw.tflite](https://github.com/devzwy/open_nsfw_android/blob/dev/app/src/main/assets/nsfw.tflite)模型初始化使用
910
### iOS请参考:[issues13](https://github.com/devzwy/open_nsfw_android/issues/13)
1011
### Python参考:[NSFW-Python](https://github.com/devzwy/NSFW-Python)[Python-TensorflowLite-Api](https://tensorflow.google.cn/api_docs/python/tf/lite)[Python-Tensorflow-Api](https://tensorflow.google.cn/api_docs/python/tf)

data/checkpoint

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
model_checkpoint_path: "nsfw_model.ckpt"
2+
all_model_checkpoint_paths: "nsfw_model.ckpt"

data/frozen_nsfw.pb

22.8 MB
Binary file not shown.

data/nsfw-graph.pb

23.1 MB
Binary file not shown.

data/nsfw.tflite

22.5 MB
Binary file not shown.

data/nsfw2.tflite

5.68 MB
Binary file not shown.
22.7 MB
Binary file not shown.

data/nsfw_model.ckpt.index

11.5 KB
Binary file not shown.

data/nsfw_model.ckpt.meta

23.2 MB
Binary file not shown.

data/pb.pb

27.3 KB
Binary file not shown.

data/saved_model.pb

23.2 MB
Binary file not shown.
File renamed without changes.
22.7 MB
Binary file not shown.

data/variables/variables.index

12.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)