Added steps to register dataset and the environment
This commit is contained in:
Родитель
3b4b22b3a7
Коммит
12e42314ff
|
@ -1,6 +1,5 @@
|
||||||
$schema: https://azuremlschemas.azureedge.net/latest/environment.schema.json
|
$schema: https://azuremlschemas.azureedge.net/latest/environment.schema.json
|
||||||
name: nvidia_pytorch
|
name: nvidia_pytorch
|
||||||
version: 22.04-py3
|
|
||||||
build:
|
build:
|
||||||
path: ../../../data-science/src/environment/
|
path: ../../../data-science/src/environment/
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -95,7 +95,7 @@ outputs:
|
||||||
|
|
||||||
code: ../../../data-science/src
|
code: ../../../data-science/src
|
||||||
|
|
||||||
environment: azureml:azureml:nvidia_pytorch:22.04-py3
|
environment: azureml:azureml:nvidia_pytorch@latest
|
||||||
|
|
||||||
command: >-
|
command: >-
|
||||||
python train.py
|
python train.py
|
||||||
|
|
|
@ -44,6 +44,15 @@ stages:
|
||||||
script: |
|
script: |
|
||||||
echo '$(System.DefaultWorkingDirectory)'
|
echo '$(System.DefaultWorkingDirectory)'
|
||||||
tree $(System.DefaultWorkingDirectory) /f
|
tree $(System.DefaultWorkingDirectory) /f
|
||||||
|
- template: templates/${{ variables.version }}/register-environment.yml@mlops-templates
|
||||||
|
parameters:
|
||||||
|
build_type: docker
|
||||||
|
environment_name: nvidia_pytorch # Not used for docker builds
|
||||||
|
environment_file: cv/aml-cli-v2/mlops/azureml/train/train-env.yml
|
||||||
|
- template: templates/${{ variables.version }}/register-dataset.yml@mlops-templates
|
||||||
|
parameters:
|
||||||
|
build_type: docker
|
||||||
|
environment_file: cv/aml-cli-v2/mlops/azureml/train/create_stanford_dogs_dataset.yaml
|
||||||
- template: templates/${{ variables.version }}/run-pipeline.yml@mlops-templates
|
- template: templates/${{ variables.version }}/run-pipeline.yml@mlops-templates
|
||||||
parameters:
|
parameters:
|
||||||
pipeline_file: cv/aml-cli-v2/mlops/azureml/train/pipeline.yaml
|
pipeline_file: cv/aml-cli-v2/mlops/azureml/train/pipeline.yaml
|
Загрузка…
Ссылка в новой задаче