Skip to content

Commit

Permalink
add docu and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
felixdittrich92 committed Nov 15, 2021
1 parent a1b581c commit 5d120c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/source/datasets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Here are all datasets that are available through docTR:
.. autoclass:: CharacterGenerator
.. autoclass:: DocArtefacts
.. autoclass:: IIIT5K
.. autoclass:: SynthText


Data Loading
Expand Down
2 changes: 2 additions & 0 deletions tests/pytorch/test_datasets_pt.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ def test_visiondataset():
['DocArtefacts', False, [512, 512], 300, True],
['IIIT5K', True, [32, 128], 2000, True],
['IIIT5K', False, [32, 128], 3000, False],
['SynthText', False, [512, 512], 858750, False],
['SynthText', False, [512, 512], 858750, True],
],
)
def test_dataset(dataset_name, train, input_size, size, rotate):
Expand Down
2 changes: 2 additions & 0 deletions tests/tensorflow/test_datasets_tf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
['DocArtefacts', False, [512, 512], 300, True],
['IIIT5K', True, [32, 128], 2000, True],
['IIIT5K', False, [32, 128], 3000, False],
['SynthText', False, [512, 512], 858750, False],
['SynthText', False, [512, 512], 858750, True],
],
)
def test_dataset(dataset_name, train, input_size, size, rotate):
Expand Down

0 comments on commit 5d120c8

Please sign in to comment.