alibaba / alibaba/pipcook

pipeline: separate the model define plugin into 2 lifecycle

Open
#331 0 comments 0 reactions 1 assignee Claimed by @yorkie View on GitHub
pipeline
Dominant language
TypeScript
Stars
2.6k
Forks
210
PR merge metrics
No merged PRs in 30d

Description

As for the current __model-define__ plugin, we use the one function to handle the different lifecycles: training and serving, this looks a little complicated to plugin developers. Therefore we want to address the issue by the following:

1. add an optional new file "inference.js" in every __model-define__ plugin, which will be called when serving.
2. pass the labelmap to "inference.js".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.