Skip to content

Commit 40a4100

Browse files
author
Baek JeongHun
committed
update data_filtering
1 parent f551679 commit 40a4100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dataset.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def __init__(self, root, opt):
139139
# {len(label)}, {label} in dataset {self.root}')
140140
continue
141141

142-
# By default, images containing characters which are not in opt.character are ignored.
142+
# By default, images containing characters which are not in opt.character are filtered.
143143
# You can add [UNK] token to `opt.character` in utils.py instead of this filtering.
144144
out_of_char = f'[^{self.opt.character}]'
145145
if re.search(out_of_char, label.lower()):

0 commit comments

Comments
 (0)