Skip to content

Commit 2ac79a9

Browse files
authored
[Fix] Fix potential bug in MultiImageMixDataset (#9764)
1 parent e15bb47 commit 2ac79a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mmdet/datasets/dataset_wrappers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def __init__(self,
6969

7070
self._metainfo = self.dataset.metainfo
7171
if hasattr(self.dataset, 'flag'):
72-
self.flag = dataset.flag
72+
self.flag = self.dataset.flag
7373
self.num_samples = len(self.dataset)
7474
self.max_refetch = max_refetch
7575

0 commit comments

Comments
 (0)