From daf06b118d1f8c68aaeff507ad66b75b370ceb0c Mon Sep 17 00:00:00 2001 From: Lin Manhui Date: Wed, 2 Nov 2022 17:41:22 +0800 Subject: [PATCH] Update voc.py --- paddlers/datasets/voc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddlers/datasets/voc.py b/paddlers/datasets/voc.py index aad0b5c..de68073 100644 --- a/paddlers/datasets/voc.py +++ b/paddlers/datasets/voc.py @@ -289,7 +289,7 @@ class VOCDetDataset(BaseDataset): self.num_max_boxes = max(self.num_max_boxes, len(objs)) if not ct: - logging.error("No voc record found in %s' % (file_list)", exit=True) + logging.error("No voc record found in %s ." % (file_list), exit=True) self.pos_num = len(self.file_list) if self.allow_empty and neg_file_list: self.file_list += self._sample_empty(neg_file_list)