Skip to content

Commit

Permalink
fix: Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fg-mindee committed Aug 13, 2021
1 parent 86fcb43 commit 5d8942f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doctr/datasets/classification/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __init__(
self._num_samples = num_samples
self.font_family = font_family

self._data = List[Image.Image]
self._data: List[Image.Image] = []
if cache_samples:
self._data = [synthesize_char_img(char, font_family=self.font_family) for char in self.vocab]

Expand Down

0 comments on commit 5d8942f

Please sign in to comment.