alibaba / pipcook

Machine learning platform for Web developers

Home Page:https://alibaba.github.io/pipcook/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pipcook run: Cannot find module '@tensorflow/tfjs-node-gpu'

bindoon opened this issue · comments

版本:@pipcook/cli@2.1.4

image

index.json 文件

{
  "specVersion": "2.0",
  "type": "ObjectDetection",
  "datasource": "https://ai-sample.oss-cn-hangzhou.aliyuncs.com/pipcook/deploy-script/build/datasource.js?url=https://fusion.alicdn.com/test/formDetection/target.zip",
  "dataflow": [
    "https://ai-sample.oss-cn-hangzhou.aliyuncs.com/pipcook/deploy-script/build/dataflow.js?size=416&size=416"
  ],
  "model": "https://ai-sample.oss-cn-hangzhou.aliyuncs.com/pipcook/deploy-script/build/model.js",
  "options": {
    "framework": "mobilenet@1.0.0",
    "train": {
      "epochs": 1000,
      "validationRequired": true,
      "patience": 15
    }
  }
}
commented

The framework should be tfjs@3.8.

commented

The version of the script is too low and needs to be updated to the latest version of the main branch. see: https://github.com/alibaba/pipcook/blob/main/example/pipelines/object-detection-yolo.json