Machinelearningnotebooks: pass specific files as parameter

Created on 27 Apr 2020  Â·  3Comments  Â·  Source: Azure/MachineLearningNotebooks

In this example 'sample_datapath1' refers to the path on the datastore which is a folder. If I have 4 files 1.jpg, 2.jpg, 3.jpg, 4.jpg in the 'sample_datapath1' folder and I want only 1.jpg, 2.jpg only as the dataset, How can I choose?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Data4ML cxp machine-learninsvc product-question triaged

Most helpful comment

Hi @shankarpandala
You can

  1. create a dataset pointing to the folder
    https://docs.microsoft.com/en-us/azure/machine-learning/how-to-create-register-datasets
  2. mount the dataset to your compute target and load only the files you want in your script. you can pass in the name of the files as argument in your experiment
    https://docs.microsoft.com/en-us/azure/machine-learning/how-to-train-with-datasets

All 3 comments

@shankarpandala we will review your feedback and get back to you shortly, Thanks.

Hi @shankarpandala
You can

  1. create a dataset pointing to the folder
    https://docs.microsoft.com/en-us/azure/machine-learning/how-to-create-register-datasets
  2. mount the dataset to your compute target and load only the files you want in your script. you can pass in the name of the files as argument in your experiment
    https://docs.microsoft.com/en-us/azure/machine-learning/how-to-train-with-datasets

Hi @shankarpandala
You can

  1. create a dataset pointing to the folder
    https://docs.microsoft.com/en-us/azure/machine-learning/how-to-create-register-datasets
  2. mount the dataset to your compute target and load only the files you want in your script. you can pass in the name of the files as argument in your experiment
    https://docs.microsoft.com/en-us/azure/machine-learning/how-to-train-with-datasets

Thanks! If this is the only way. You can close the issue.

Was this page helpful?
0 / 5 - 0 ratings