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 失败

keke0327 opened this issue · comments

commented

You should use this URL instead:

pipcook run https://raw.githubusercontent.com/alibaba/pipcook/main/example/pipelines/image-classification-mobilenet.json

{
"specVersion": "2.0",
"type": "ImageClassification",
"datasource": "https://cdn.jsdelivr.net/gh/imgcook/pipcook-script@b1f834c/scripts/image-classification-mobilenet/build/datasource.js?url=http://ai-sample.oss-cn-hangzhou.aliyuncs.com/image_classification/datasets/imageclass-test.zip",
"dataflow": [
"https://cdn.jsdelivr.net/gh/imgcook/pipcook-script@b1f834c/scripts/image-classification-mobilenet/build/dataflow.js?size=224&size=224"
],
"model": "https://cdn.jsdelivr.net/gh/imgcook/pipcook-script@b1f834c/scripts/image-classification-mobilenet/build/model.js",
"artifact": [],
"options": {
"framework": "tfjs@3.8",
"train": {
"epochs": 20,
"validationRequired": true
}
}
}
官网示例的这个,也会 run pipeline error: Not Found

commented

Try this:

pipcook run https://cdn.jsdelivr.net/gh/alibaba/pipcook@main/example/pipelines/image-classification-mobilenet.json

It looks like a network problem.

pipcook run https://raw.githubusercontent.com/alibaba/pipcook/main/example/pipelines/image-classification-mobilenet.json

✖ something wrong when run job: Cannot read property 'dataCollect' of undefined

It not work, what should I do ?

commented

pipcook run https://raw.githubusercontent.com/alibaba/pipcook/main/example/pipelines/image-classification-mobilenet.json

✖ something wrong when run job: Cannot read property 'dataCollect' of undefined

It not work, what should I do ?

Please upgrade PipCook to 2.x:

npm install @pipcook/cli -g

Your pipcook-cli is v1.x, but the pipeline file suits v2.