I'm using VS Code to submit a Machine Learning experiment in Azure Portal. When running the experiment I'm obtaining the following error:
Run failed: User program failed with ModuleNotFoundError: No module named 'amlrun'
This is the code structure:
.vscode (json configuration file)
aml_config
scripts
----- amlrun.py (a script with some functions)
----- model_training.py (a script creating and saving the model)
This is the configuration file:
{
"script": "model_training.py",
"framework": "Python",
"communicator": "None",
"target": "testazure",
"environment": {
"python": {
"userManagedDependencies": false,
"condaDependencies": {
"dependencies": [
"python=3.6.2",
"scikit-learn",
"numpy",
"pandas",
{
"pip": [
"azureml-defaults"
]
}
]
}
},
"docker": {
"baseImage": "mcr.microsoft.com/azureml/base:0.2.4",
"enabled": true,
"baseImageRegistry": {
"address": null,
"username": null,
"password": null
}
}
},
"history": {
"outputCollection": true,
"snapshotProject": false,
"directoriesToWatch": [
"logs"
]
}
}
Am I missing something? Thanks