This commit is contained in:
liuzx 2022-08-10 10:04:28 +08:00
commit 8e261a2c00
1 changed files with 55 additions and 55 deletions

View File

@ -14,7 +14,7 @@ from mindspore.dataset.vision import Inter
from mindspore.common import dtype as mstype
from mindspore.communication.management import init, get_rank, get_group_size
init()
def create_dataset_parallel(data_path, batch_size=32, repeat_size=1,
num_parallel_workers=1, shard_id=0, num_shards=8):
"""