diff --git a/mindspore/lite/micro/example/mnist_stm32f746/mnist/benchmark/load_input.c b/mindspore/lite/micro/example/mnist_stm32f746/mnist/benchmark/load_input.c old mode 100755 new mode 100644 diff --git a/mindspore/lite/micro/example/mnist_stm32f746/mnist/benchmark/load_input.h b/mindspore/lite/micro/example/mnist_stm32f746/mnist/benchmark/load_input.h old mode 100755 new mode 100644 diff --git a/tests/st/networks/models/resnet50/src_thor/dataset.py b/tests/st/networks/models/resnet50/src_thor/dataset.py index 69524c42b1..3d3bb7a84b 100644 --- a/tests/st/networks/models/resnet50/src_thor/dataset.py +++ b/tests/st/networks/models/resnet50/src_thor/dataset.py @@ -72,8 +72,8 @@ def create_dataset(dataset_path, do_train, repeat_num=1, batch_size=32): type_cast_op = C2.TypeCast(mstype.int32) - data_set = data_set.map(operations=trans, input_columns="image", num_parallel_workers=8) - data_set = data_set.map(operations=type_cast_op, input_columns="label", num_parallel_workers=8) + data_set = data_set.map(operations=trans, input_columns="image", num_parallel_workers=16) + data_set = data_set.map(operations=type_cast_op, input_columns="label", num_parallel_workers=16) # apply batch operations data_set = data_set.batch(batch_size, drop_remainder=True)