File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
ignore/doc-qa/how-to-set-up-training-targets Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 44
55#<run_dsvm>
66import azureml .core
7- from azureml .core .runconfig import RunConfiguration , DEFAULT_CPU_IMAGE
7+ from azureml .core .runconfig import RunConfiguration
88from azureml .core .conda_dependencies import CondaDependencies
99
1010run_dsvm = RunConfiguration (framework = "python" )
2020run_dsvm .environment .docker .base_image = azureml .core .runconfig .DEFAULT_CPU_IMAGE
2121print ('Base Docker image is:' , run_dsvm .environment .docker .base_image )
2222
23- # Prepare the Docker and conda environment automatically when they're used for the first time
24- run_dsvm .prepare_environment = True
25-
2623# Specify the CondaDependencies object
2724run_dsvm .environment .python .conda_dependencies = CondaDependencies .create (conda_packages = ['scikit-learn' ])
28- #</run_dsvm>
25+ #</run_dsvm>
26+ print (run_dsvm )
You can’t perform that action at this time.
0 commit comments