hjyssg / ShiguReader

硬核宅宅资源管理器. Ultimate Manga Resource Manager
MIT License
397 stars 45 forks source link

use tfjs to detect real person image #135

Open hjyssg opened 3 years ago

hjyssg commented 3 years ago

image

consume huge mount of memory and cpu resouce.

speed: detect 750 images in 98 second 0.13 img/s

-> 20000 img about 44 min

20000个zip 每个抽3张图片 大约就是 150min

hjyssg commented 3 years ago

https://github.com/tensorflow/tfjs/blob/master/tfjs-node/README.md

cnpm i node-pre-gyp npm install @tensorflow/tfjs-node-gpu

cnpm rebuild @tensorflow/tfjs-node-gpu build-addon-from-source

tfjs-node-gpu 真是司马级别难安装 从google服务器下载bin proxy弄半天 还要去node module看debug他们写的install.js