!6621 [MD] fix concat log

Merge pull request !6621 from liyong126/fix_concat_log
This commit is contained in:
mindspore-ci-bot 2020-09-21 15:18:34 +08:00 committed by Gitee
commit 29747f10d7
1 changed files with 1 additions and 1 deletions

View File

@ -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