Skip to content

Commit c9d018b

Browse files
committed
remove prepare environment
1 parent 53dbd0a commit c9d018b

File tree

1 file changed

+3
-5
lines changed
  • ignore/doc-qa/how-to-set-up-training-targets

1 file changed

+3
-5
lines changed

ignore/doc-qa/how-to-set-up-training-targets/dsvm.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#<run_dsvm>
66
import azureml.core
7-
from azureml.core.runconfig import RunConfiguration, DEFAULT_CPU_IMAGE
7+
from azureml.core.runconfig import RunConfiguration
88
from azureml.core.conda_dependencies import CondaDependencies
99

1010
run_dsvm = RunConfiguration(framework = "python")
@@ -20,9 +20,7 @@
2020
run_dsvm.environment.docker.base_image = azureml.core.runconfig.DEFAULT_CPU_IMAGE
2121
print('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
2724
run_dsvm.environment.python.conda_dependencies = CondaDependencies.create(conda_packages=['scikit-learn'])
28-
#</run_dsvm>
25+
#</run_dsvm>
26+
print(run_dsvm)

0 commit comments

Comments
 (0)