Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

[Testing] Add unit tests. #15

Description

@clarkzinzow

Add unit tests for the following:

  1. Shuffler (shuffle.py)
  2. BatchQueue (batch_queue.py)
  3. ShufflingDataset (dataset.py)
  4. TorchShufflingDataset (torch_dataset.py)

Implementation Notes

  • ShufflingDataset and TorchShufflingDataset testing could initially be as simple as running the example in the main block of dataset.py and torch_dataset.py, respectively, although these don't do much to assert correctness of the yielded batches.
  • See these tests for easily portable examples for testing BatchQueue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions