Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

daemon: add a inference.js in model-define plugin for inferencing. #334

Closed
wants to merge 1 commit into from

Conversation

yorkie
Copy link
Member

@yorkie yorkie commented Jul 12, 2020

This simplifies the model-define plugin development, and this fixes #331. The rest work is to update all the builtin model-define plugins:

  • bayesian-classifier
  • detectron-fasterrcnn
  • detectron-maskrcnn
  • fasttext
  • tensorflow-cycle-gan
  • tensorflow-mobilenet
  • tensorflow-resnet
  • tfjs-mobilenet
  • tfjs-simplecnn
  • tfjs-lstm

@yorkie yorkie added the daemon label Jul 12, 2020
@yorkie yorkie requested review from FeelyChau and rickycao-qy July 12, 2020 09:05
@yorkie yorkie marked this pull request as ready for review July 16, 2020 04:37
* The inference model.
* @param recoverPath The model path to be recovered.
*/
export default async function inference (recoverPath: string): Promise<any> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we give a type definition for inference function in pipcook-core

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course :)

@rickycao-qy
Copy link
Collaborator

@yorkie Could you rebase since there are some conflicting files. And what's the status of this PR. Will we give separate PR for each plugin?

@yorkie
Copy link
Member Author

yorkie commented Dec 1, 2020

Just closing this because we will have a new design for plugin entry.

@yorkie yorkie closed this Dec 1, 2020
@yorkie yorkie deleted the fix/gh-331 branch December 1, 2020 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pipeline: separate the model define plugin into 2 lifecycle
2 participants