initial network consistency test#2171
Conversation
|
@Nic-Ma @ericspod @charliebudd @wyli Just a rough suggestion of how we could track network consistency, open for discussion. It stores extra data in a git submodule. Most of this PR is currently taken up by creating a network factory, which I would split into its own PR if we were to go ahead with this. |
|
thanks, the tests look great. I think git-submodule can be very difficult to work with, don't want to introduce it to this project, unless it's 200% necessary... |
|
Not using a git submodule (I agree they can be tricky) means that we either abandon this idea, store the data in this repository, or store it somewhere else. What do you think? The data for the 3d unet was ~7.5MB, so for all networks we might be looking at something like ~100MB. |
|
thanks, perhaps we can start a new repo under project-monai to host the test data with git-lfs? |
|
That sounds like a good plan. I hadn't heard of git lfs before! |
4940381 to
e0c0bfc
Compare
|
@wyli unrelated error, the added test passes: https://github.com/Project-MONAI/MONAI/pull/2171/checks?check_run_id=2574279151#step:6:2046. |
wyli
left a comment
There was a problem hiding this comment.
thanks, I think this is a good initial example, we could merge it if it's decoupled from the network factory idea.
Signed-off-by: Richard Brown <[email protected]>
ab920a3 to
fe2dde9
Compare
Signed-off-by: Richard Brown <[email protected]>
Suggested format of testing network consistency. Uses a git repository to store the data so as not to clog up the main repository. Currently this submodule sits in my user area, but this would obviously be migrated to Project-MONAI.
The idea would be that if the extra repository is present, it'll loop over each of the *.pt files in the folder, load the network, and checking consistency of forward pass.
Status
Ready
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests.make htmlcommand in thedocs/folder.