You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'`
The text was updated successfully, but these errors were encountered:
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'
inputs:
azureSubscription: 'build-demo'
scriptLocation: 'inlineScript'
inlineScript: 'az ml model register -n mymodel -p sklearn_regression_model.pkl -t model.json'
workingDirectory: 'model-deployment'`
The text was updated successfully, but these errors were encountered: