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

job is failed: TypeError: the plugin(@pipcook/plugins-mnist-data-collect@1.1.0) not loaded.

mrzhangweichao opened this issue · comments

✔ plugin @pipcook/plugins-mnist-data-collect@1.1.0 has already been installed
✔ plugin @pipcook/plugins-pascalvoc-data-access@1.1.0 has already been installed
✔ plugin @pipcook/plugins-tensorflow-image-classification-process@1.1.4 has already been installed
✔ plugin @pipcook/plugins-tfjs-simplecnn-model-define@1.1.0 has already been installed
✔ plugin @pipcook/plugins-image-classification-tfjs-model-train@1.1.3 has already been installed
✔ plugin @pipcook/plugins-image-classification-tfjs-model-evaluate@1.1.1 has already been installed
ℹ start to create pipeline
✔ pipeline is created: zzc6ldkh, installing
ℹ plugin @pipcook/plugins-mnist-data-collect@1.1.0 already installed
ℹ plugin @pipcook/plugins-pascalvoc-data-access@1.1.0 already installed
ℹ plugin @pipcook/plugins-tensorflow-image-classification-process@1.1.4 already installed
ℹ plugin @pipcook/plugins-tfjs-simplecnn-model-define@1.1.0 already installed
ℹ plugin @pipcook/plugins-image-classification-tfjs-model-train@1.1.3 already installed
ℹ plugin @pipcook/plugins-image-classification-tfjs-model-evaluate@1.1.1 already installed
✔ pipeline installed successfully, start to run job
✔ job is created: p7lfcvds, running
ℹ [job] running
ℹ [job] running dataCollect start
ℹ start loading plugin @pipcook/plugins-mnist-data-collect
⚠ 2021-01-15 16:54:42.813965: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
⚠ 2021-01-15 16:54:42.876015: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x10b591dd0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
⚠ 2021-01-15 16:54:42.876066: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
ℹ [job] fails
✖ job is failed: TypeError: the plugin(@pipcook/plugins-mnist-data-collect@1.1.0) not loaded.
at /Users/zhangweichao/.pipcook/server/node_modules/@pipcook/costa/dist/client/entry.js:133:23
at Generator.next ()
at /Users/zhangweichao/.pipcook/server/node_modules/@pipcook/costa/dist/client/entry.js:8:71
at new Promise ()
at __awaiter (/Users/zhangweichao/.pipcook/server/node_modules/@pipcook/costa/dist/client/entry.js:4:12)
at emitStart (/Users/zhangweichao/.pipcook/server/node_modules/@pipcook/costa/dist/client/entry.js:125:12)
at /Users/zhangweichao/.pipcook/server/node_modules/@pipcook/costa/dist/client/entry.js:226:13
at Generator.next ()
at /Users/zhangweichao/.pipcook/server/node_modules/@pipcook/costa/dist/client/entry.js:8:71
at new Promise ()

commented

Could you restart daemon with:

$ pipcook daemon debug

and run the pipeline again for more details?

相同的问题
image

commented

I have the same problem, how to solve this error?

commented

相同的问题
image

日志看起来是没有正确安装 python 依赖,可能需要重新安装一下 @pipcook/plugins-tensorflow-image-classification-process.
不过仍有两个问题需要处理:

  1. 为何数据库内的插件安装状态和插件文件的安装状态不一致(是否在安装过程中重启了 daemon?)
  2. 插件 load 失败没有导致任务失败,而是到了 start 的时候才报 not loaded

The log errors show the dependencies of python module is not installed, try to reinstall the plugin @pipcook/plugins-tensorflow-image-classification-process.
We still need to handle 2 problems:

  1. why the status of plugin installation not coincident between db and file system.
  2. job fails at plugin-start not plugin-load.
commented

I have the same problem, how to solve this error?

Could you post the log? Or you can try to reinstall the plugin first.