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

Pipeline doesn't register model trained by the pipeline #1

Open
lgaud opened this issue Jun 25, 2019 · 0 comments
Open

Pipeline doesn't register model trained by the pipeline #1

lgaud opened this issue Jun 25, 2019 · 0 comments

Comments

@lgaud
Copy link

lgaud commented Jun 25, 2019

It looks to me like these two steps of the pipeline train a bunch of models, saves them to outputs/ridge_{alpha}.pkl in train-sklearn.py, and then registers an entirely different .pkl file that was already checked in under model-deployment/sklearn_regression_model.pkl. Shouldn't it be registering one of the models it created?

`- task: AzureCLI@1
inputs:
azureSubscription: 'build-demo'
scriptLocation: 'inlineScript'
inlineScript: 'az ml run submit-script -c sklearn -e test -d training-env.yml train-sklearn.py'
workingDirectory: 'model-training'

  • task: AzureCLI@1
    inputs:
    azureSubscription: 'build-demo'
    scriptLocation: 'inlineScript'
    inlineScript: 'az ml model register -n mymodel -p sklearn_regression_model.pkl -t model.json'
    workingDirectory: 'model-deployment'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant