From 0e40596bceee0734ce53a3040bc8e12ddb7ae026 Mon Sep 17 00:00:00 2001 From: liyong Date: Mon, 21 Sep 2020 10:53:22 +0800 Subject: [PATCH] fix concat log --- mindspore/dataset/engine/datasets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/dataset/engine/datasets.py b/mindspore/dataset/engine/datasets.py index 16f685c30d..aa0be6466e 100644 --- a/mindspore/dataset/engine/datasets.py +++ b/mindspore/dataset/engine/datasets.py @@ -2474,7 +2474,7 @@ class ConcatDataset(DatasetOp): raise ValueError("The parameter num_shards of DistributedSampler must be positive int!") if sampler.get_num_samples() is not None: - raise ValueError("The parameter num_samples of DistributedSampler must be set!") + raise ValueError("The parameter num_samples of DistributedSampler is not support to be set!") self._sampler = _select_sampler(None, sampler, None, None, None) cumulative_samples_nums = 0