Created
October 15, 2019 16:43
-
-
Save aymericdelab/d52daf1494da108fc4f548a0a2275842 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## create the myenv.yml to install the necessary packages on the Docker image | |
from azureml.core.runconfig import CondaDependencies | |
cd = CondaDependencies.create() | |
cd.add_conda_package('tensorflow') | |
cd.save_to_file(base_directory='./', conda_file_path='myenv.yml') | |
print(cd.serialize_to_string()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment