Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use tfjs to detect real person image #135

Open
hjyssg opened this issue Dec 19, 2020 · 1 comment
Open

use tfjs to detect real person image #135

hjyssg opened this issue Dec 19, 2020 · 1 comment
Labels

Comments

@hjyssg
Copy link
Owner

hjyssg commented Dec 19, 2020

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 hjyssg changed the title use tfjs detect real person image use tfjs to detect real person image Dec 19, 2020
@hjyssg hjyssg added the note label Dec 19, 2020
@hjyssg
Copy link
Owner Author

hjyssg commented Dec 19, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant