From 63c5d163b5a0a3ffb69021d616788be5f69bccab Mon Sep 17 00:00:00 2001 From: whs Date: Fri, 18 Jun 2021 11:43:50 +0800 Subject: [PATCH] Revert "fix image dataset bug (#33630)" This reverts commit 6cacd63eabbee8215071280a77194bdde450a640. --- 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 4824fe30e94..493a94e45d4 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_%s.txt" % (batch_dir, dataset_name, os.getpid()) + meta_file = "%s/%s.txt" % (batch_dir, dataset_name) if os.path.exists(out_path): return meta_file -- GitLab