From 89575755d8599533d7a2759adebd40ccb8ea7b20 Mon Sep 17 00:00:00 2001 From: Yuanke Zhong <43944770+drizzlezyk@users.noreply.github.com> Date: Sun, 23 Oct 2022 22:50:51 +0800 Subject: [PATCH] Update datasets_standard_format.py Modify the inappropriate interpretation of the num_samples parameter, it should not be images here. --- .../python/mindspore/dataset/engine/datasets_standard_format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/python/mindspore/dataset/engine/datasets_standard_format.py b/mindspore/python/mindspore/dataset/engine/datasets_standard_format.py index a5bae752bbc..2614441ca15 100644 --- a/mindspore/python/mindspore/dataset/engine/datasets_standard_format.py +++ b/mindspore/python/mindspore/dataset/engine/datasets_standard_format.py @@ -55,7 +55,7 @@ class CSVDataset(SourceDataset, UnionBaseDataset): column_names (list[str], optional): List of column names of the dataset (default=None). If this is not provided, infers the column_names from the first row of CSV file. num_samples (int, optional): The number of samples to be included in the dataset - (default=None, will include all images). + (default=None, will include all samples). num_parallel_workers (int, optional): Number of workers to read the data (default=None, number set in the config). shuffle (Union[bool, Shuffle], optional): Perform reshuffling of the data every epoch