{"id":20356041,"url":"https://github.com/project-monai/monai-extra-test-data","last_synced_at":"2025-04-12T02:51:06.040Z","repository":{"id":39883701,"uuid":"366729051","full_name":"Project-MONAI/MONAI-extra-test-data","owner":"Project-MONAI","description":"Repository containing extra test data for MONAI","archived":false,"fork":false,"pushed_at":"2023-09-19T08:19:14.000Z","size":10053,"stargazers_count":7,"open_issues_count":4,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-25T22:35:25.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Project-MONAI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-12T13:41:04.000Z","updated_at":"2025-01-13T16:54:58.000Z","dependencies_parsed_at":"2022-07-06T08:33:05.609Z","dependency_job_id":null,"html_url":"https://github.com/Project-MONAI/MONAI-extra-test-data","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Project-MONAI%2FMONAI-extra-test-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Project-MONAI%2FMONAI-extra-test-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Project-MONAI%2FMONAI-extra-test-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Project-MONAI%2FMONAI-extra-test-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Project-MONAI","download_url":"https://codeload.github.com/Project-MONAI/MONAI-extra-test-data/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248509224,"owners_count":21115966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T23:14:49.085Z","updated_at":"2025-04-12T02:51:06.018Z","avatar_url":"https://github.com/Project-MONAI.png","language":"Python","readme":"# monai-test-data [![CI Build](https://github.com/Project-MONAI/MONAI-extra-test-data/workflows/build/badge.svg?branch=main)](https://github.com/Project-MONAI/MONAI-extra-test-data/commits/main)\n\nRepository for storing networks and their forward data. \n\nThe data in this repository is used by the main [MONAI repository](https://github.com/Project-MONAI/MONAI) as a unit test. This repository is checked out, the environmantal variable is `MONAI_EXTRA_TEST_DATA` is set and then the unit test can be run.\n\n## Running the tests\n\n```bash\ngit clone https://github.com/Project-MONAI/MONAI-extra-test-data.git --depth 1\ngit clone https://github.com/Project-MONAI/MONAI.git --depth 1\n\nexport MONAI_EXTRA_TEST_DATA=MONAI-extra-test-data\n\ncd MONAI\npip install --user --upgrade -r requirements-min.txt\npython -m unittest -v tests/test_network_consistency.py\n\n```\n\n## How to create a new test\n\n```python\n# model name\nmodel_name = \"UNet\"\n# network params\nparams = {\n    \"dimensions\" : 3,\n    \"in_channels\" : 4,\n    \"out_channels\" : 2,\n    \"channels\": (4, 8, 16, 32),\n    \"strides\": (2, 4, 1),\n    \"kernel_size\" : 5,\n    \"up_kernel_size\" : 3,\n    \"num_res_units\": 2,\n    \"act\": \"relu\",\n    \"dropout\": 0.1,\n}\n# in shape\ninput_shape = (1, params[\"in_channels\"], 64, 64, 64)\n# create data\ncreate_model_test_data(model_name, params, input_shape)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-monai%2Fmonai-extra-test-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproject-monai%2Fmonai-extra-test-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-monai%2Fmonai-extra-test-data/lists"}