From 6cacd63eabbee8215071280a77194bdde450a640 Mon Sep 17 00:00:00 2001 From: kuizhiqing Date: Thu, 17 Jun 2021 18:55:51 +0800 Subject: [PATCH] fix image dataset bug (#33630) --- python/paddle/dataset/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/dataset/image.py b/python/paddle/dataset/image.py index 493a94e45d4..4824fe30e94 100644 --- a/python/paddle/dataset/image.py +++ b/python/paddle/dataset/image.py @@ -94,7 +94,7 @@ def batch_images_from_tar(data_file, """ batch_dir = data_file + "_batch" out_path = "%s/%s_%s" % (batch_dir, dataset_name, os.getpid()) - meta_file = "%s/%s.txt" % (batch_dir, dataset_name) + meta_file = "%s/%s_%s.txt" % (batch_dir, dataset_name, os.getpid()) if os.path.exists(out_path): return meta_file -- GitLab