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

Component recognize goes slow on colab

upupzealot opened this issue · comments

Component recognize goes slow on colab, with yolo-v5 model it suppose to be finish in less than an hour, but in my case it cost more than 10mins for only one epoch.
For detail, my pipline.json looks like

{
  "plugins": {
    "dataCollect": {
      "package": "@pipcook/plugins-object-detection-pascalvoc-data-collect",
      "params": {
        "url": "https://zhijiansha.oss-cn-hangzhou.aliyuncs.com/deep-learning/output.zip"
      }
    },
    "dataAccess": {
      "package": "@pipcook/plugins-coco-data-access"
    },
    "modelDefine": {
      "package": "@pipcook/plugins-pytorch-yolov5-model-define"
    },
    "modelTrain": {
      "package": "@pipcook/plugins-pytorch-yolov5-model-train",
      "params": {
        "epochs": 300
      }
    },
    "modelEvaluate": {
      "package": "@pipcook/plugins-pytorch-yolov5-model-evaluate"
    }
  }
}

@FeelyChau @rickycao-qy it seems that we are just using a single core to train.

I write a program to generate these pics, both VOC and COCO format are supported, so tell me if I can help for format reason : )

An other reason I can image is the size of the picture, in my collection, the width of pic is always 1000px.
Have no idea if that matters a lot