代码拉取完成,页面将自动刷新
同步操作将从 Admin/face-api.js 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
环境:
1、node v16.3.0
2、npm v6.14.11
3、ncu(npm install -g npm-check-updates)v11.5.10
4、python v3.9.6
5、npm-pre-gyp
1、clone:https://gitee.com/bjfu_lhy_lanhy2000/face-api.js.git
2、用管理员身份执行cmd.exe
3、执行ncu -u & npm i --force
过程中连接storage.googleapis.com地址
可能死了,如果时间非常长,Ctrl+C中断再执行 npm i --force
4、到examples\examples-nodejs目录下执行 npm i
5、执行
npm i node
npm i babel-preset-env -D
6、出现Error: Cannot find module 'D:\opensource4\face-api.js\node_modules\@tensorflow\tfjs-node\lib\napi-v5\tfjs_binding.node'
执行
npm rebuild @tensorflow/tfjs-node --build-from-source
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。