我正在尝试安装@ tensorflow-models / mobilenet @ 2.0.4,但是没有安装。有什么问题吗?
npm WARN @tensorflow-models/[email protected] requires a peer of @tensorflow/tfjs-core@~1.2.1 but none is installed. You must install peer dependencies yourself.
npm WARN @tensorflow-models/[email protected] requires a peer of @tensorflow/tfjs-converter@~1.2.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @tensorflow/[email protected] install: `node scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @tensorflow/[email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/poran/.npm/_logs/2020-04-04T10_31_00_265Z-debug.log
安装TF模型之前,您需要安装TF Core和TF Converter
npm i @tensorflow/tfjs-core
npm i @tensorflow/tfjs-converter
npm i @tensorflow-models/mobilenet