Closed davidjurado closed 2 years ago
@davidjurado How would someone specify the workspace/
directory to MLCube?
Also is there a way to point to a file outside of workspace/
? For example config_files/
?
Hello @colbybanbury,
I'm sorry for the late reply, I didn't get a notification of your comment.
To specify a different workspace folder you can use --workspace
and then provide the path, for example:
mlcube run --task=select --workspace=path/to/new_folder
To point a file outside the workspace folder you need to have a parameter for the task you want to run, this is defined in the mlcube.yaml
file, for example, in the task select you have the following parameters:
select:
# Run selection algorithm
parameters:
inputs:
{
allowed_training_set: { type: file, default: data/preliminary_evaluation_dataset/allowed_training_set.yaml },
train_embeddings_dir: data/preliminary_evaluation_dataset/train_embeddings/,
}
outputs: { outdir: select_output/ }
and let's say we want to define a different allowed_training_set, we need to specify the name of the parameters to override and provide the absolute path of the new file we want to use:
mlcube run --task=select allowed_training_set=/Users/me/allowed_training_set.yaml
DataPerf Speech Example - MLCube integration
Project setup
Project structure
Tasks execution
Execute complete pipeline