Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.38k stars 2.71k forks source link

Unable to deserialize: Dataflow' object has no attribute 'lower' #29741

Open aayushsin opened 1 year ago

aayushsin commented 1 year ago

Describe the bug

SerializationError: Unable to build a model: Unable to deserialize to object: type, AttributeError: 'Dataflow' object has no attribute 'lower', DeserializationError: Unable to deserialize to object: type, AttributeError: 'Dataflow' object has no attribute 'lower

To Reproduce Steps to reproduce the behavior:

  1. Followed the steps on https://learn.microsoft.com/en-us/azure/machine-learning/how-to-configure-auto-train#configure-your-experiment-settings
  2. Changed the dataset used from CSV
  3. datastore = ws.get_default_datastore()
  4. training_pd = training_data.toPandas().to_csv('training_pd.csv', index=False)
  5. datastore.upload_files(files = ['training_pd.csv'],target_path = 'train-dataset/tabular/',overwrite = True,show_progress = True)
  6. dataset_training = Dataset.Tabular.from_delimited_files(path = [(datastore, 'train-dataset/tabular/training_pd.csv')])
  7. Error in returned_job = ml_client.jobs.create_or_update( classification_job ) #

Expected behavior The training should start

tjprescott commented 1 year ago

@luigiw @azureml-github can you please take a look at this issue?

github-actions[bot] commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureml-github @Azure/azure-ml-sdk.