!6621 [MD] fix concat log

Merge pull request !6621 from liyong126/fix_concat_log
pull/6621/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit 29747f10d7

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

Loading…
Cancel
Save