You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[TTS] MagpieTTS inference: Add command line option to select a subset of datasets to run inference on (NVIDIA-NeMo#15212)
* Added datasets filtering to the inference script
New command line argument: --datasets <dataset1,dataset2,...> where
dataset1, dataset2, ... are the names datasets to process in the
datasets_json_path file.
If not specified, all datasets in the datasets_json_path will be processed.
If specified, only the datasets in the list will be processed.
Signed-off-by: Fejgin, Roy <rfejgin@nvidia.com>
* Refined datasets filtering in the inference script
* Correctly handle comma-separated list of dataset names in the --datasets argument.
* Help text
Signed-off-by: Fejgin, Roy <rfejgin@nvidia.com>
---------
Signed-off-by: Fejgin, Roy <rfejgin@nvidia.com>
help='Path to dataset configuration JSON file (will process all datasets in the file if --datasets is not specified)',
397
+
)
398
+
data_group.add_argument(
399
+
'--datasets',
400
+
type=str,
377
401
default=None,
378
-
help='Path to dataset configuration JSON file (will process all datasets in the file)',
402
+
help='Comma-separated list of dataset names to process using names from the datasets_json_path file. If not specified, all datasets in the datasets_json_path will be processed.',
0 commit comments