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

pipeline: the output package doesn't install the dependencies of python

FeelyChau opened this issue · comments

commented

I get the output from pipeline, but after npm install, the detectron2 and opencv are not installed.

May I ask you to show your package.json?

commented
{
  "name": "output",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "postinstall": "node boapkg.js"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@pipcook/plugins-detectron-fasterrcnn-model-define": "1.1.1"
  }
}

@yorkie

metadata.json is also required.

commented

metadata.json is also required.

{
  "pipeline": {
    "id": "imru2g44",
    "name": null,
    "dataCollectId": "9jag9mrg",
    "dataCollect": "@pipcook/plugins-object-detection-pascalvoc-data-collect",
    "dataCollectParams": "{\"url\":\"http://ai-sample.oss-cn-hangzhou.aliyuncs.com/pipcook/datasets/component-recognition-detection/component-recognition-detection.zip\"}",
    "dataAccessId": "ung1k9nn",
    "dataAccess": "@pipcook/plugins-coco-data-access",
    "dataAccessParams": "{}",
    "dataProcessId": null,
    "dataProcess": null,
    "dataProcessParams": "{}",
    "datasetProcessId": null,
    "datasetProcess": null,
    "datasetProcessParams": "{}",
    "modelDefineId": "cm2u1gie",
    "modelDefine": "@pipcook/plugins-detectron-fasterrcnn-model-define",
    "modelDefineParams": "{}",
    "modelLoadId": null,
    "modelLoad": null,
    "modelLoadParams": "{}",
    "modelTrainId": "hq3l1cmo",
    "modelTrain": "@pipcook/plugins-detectron-model-train",
    "modelTrainParams": "{\"steps\":20000}",
    "modelEvaluateId": "bocpzjad",
    "modelEvaluate": "@pipcook/plugins-detectron-model-evaluate",
    "modelEvaluateParams": "{}",
    "createdAt": "2020-11-29T12:14:45.443Z",
    "updatedAt": "2020-11-29T12:14:45.443Z"
  },
  "output": {
    "id": "9h1o4eqe",
    "pipelineId": "imru2g44",
    "specVersion": "1.2.1-1b50e4e-beta.0",
    "status": 2,
    "currentIndex": -1,
    "updatedAt": "2020-11-29T12:14:45.505Z",
    "createdAt": "2020-11-29T12:14:45.505Z",
    "dataset": "{\"labelMap\":{\"tags\":0,\"input\":1,\"buttons\":2,\"imagesUpload\":3,\"links\":4,\"select\":5,\"radio\":6,\"textarea\":7,\"datePicker\":8,\"rate\":9,\"rangePicker\":10,\"switch\":11,\"timePicker\":12,\"checkbox\":13},\"labelArray\":[\"tags\",\"input\",\"buttons\",\"imagesUpload\",\"links\",\"select\",\"radio\",\"textarea\",\"datePicker\",\"rate\",\"rangePicker\",\"switch\",\"timePicker\",\"checkbox\"]}",
    "evaluateMap": "{\"pass\":true,\"result\":{\"AP\":84.59095083265984,\"AP50\":99.21051952171294,\"AP75\":95.51264041102712,\"APs\":78.91172161574302,\"APm\":83.29286637420091,\"APl\":84.63019190094474}}",
    "evaluatePass": true,
    "endTime": 1606659326769
  }
}

Oops, are the other Python dependenices except for detectron2 and opencv installed?

commented

Oops, are the other Python dependenices except for detectron2 and opencv installed?

After installing detectron2 and opencv, it works.