DIAGNijmegen / nnUNet

Apache License 2.0
3 stars 14 forks source link

Add training tests #4

Closed silvandeleemput closed 2 years ago

silvandeleemput commented 2 years ago

Relates to #2

This PR adds training tests to the repository as well and adds a new system for bootstrapping/validating the test data.

I changed the way the test data is bootstrapped. Now it requires a one-time manual download of the tests file Task04_Hippocampus.tar from https://drive.google.com/drive/folders/1HqEgzS8BV2c7xYNrZdEAnrHk7osJJ--2 and it should be placed inside the /tests/resources/input_data directory. Next, running the /tests/run_tests.sh script, bootstraps and validates all the necessary test data from the tar file and the pre-trained model links, and subsequently runs all the pytests.

We could opt to add the tar file to the repository (29MB), but for now, I made this a manual download.