machine-learning-apps / ml-template-azure

Template for getting started with automated ML Ops on Azure Machine Learning
MIT License
126 stars 87 forks source link

Getting timeout error #14

Closed shikha1970 closed 3 years ago

shikha1970 commented 3 years ago

error

marvinbuss commented 3 years ago

Hi @shikha1970, Let me test it quickly. Looks like there is some issue with the dependencies. I will test the setup and give you an update later during the day.

marvinbuss commented 3 years ago

Hi @shikha1970, Thanks for submitting the issue. I will fix the issue with the attached PR. Can you please update the environment.yml in train/ and deploy/ to the following:

deploy/environment.yml

# Conda environment specification. Details about the Conda environment file format:
# https://conda.io/docs/user-guide/tasks/manage-environments.html#create-env-file-manually

name: deployment_env
dependencies:
  - python=3.6.2
  - scikit-learn=0.23.2
  - numpy=1.19.4
  - pip:
    - azureml-defaults==1.19.0
    - azureml-monitoring==0.1.0a21
    - inference-schema==1.1.0
    - inference-schema[numpy-support]==1.1.0
channels:
  - conda-forge

train/environment.yml

# Conda environment specification. Details about the Conda environment file format:
# https://conda.io/docs/user-guide/tasks/manage-environments.html#create-env-file-manually

name: training_env
dependencies:
  - python=3.6.2
  - scikit-learn=0.23.2
  - pandas=1.1.5
  - matplotlib=3.3.3
  - pip:
    - azureml-defaults==1.19.0
channels:
  - conda-forge
marvinbuss commented 3 years ago

@shikha1970 Can you confirm that this fixes the issue?

shikha1970 commented 3 years ago

@marvinbuss yes thanks this worked like a charm. thanks for quick revert and fix! Just brilliant!

marvinbuss commented 3 years ago

Thanks @shikha1970 for your response and for submitting the issue. I am glad that it works for you! I have also updated the branches accordingly. Have a great weekend!