Update SmartCachePatchWSIDataset and add unittests#1853
Conversation
Signed-off-by: Behrooz <3968947+behxyz@users.noreply.github.com>
Signed-off-by: Behrooz <3968947+behxyz@users.noreply.github.com>
Nic-Ma
left a comment
There was a problem hiding this comment.
Thanks for your quick update.
Looks good to me.
Could you please also add a test case to run your SmartCachePatchWSIDataset with SmartCacheHandler to make sure it can work well with our workflows?
Thanks.
Thanks @Nic-Ma , |
Hi @behxyz , You can refer to this test program: https://github.com/Project-MONAI/MONAI/blob/master/tests/test_handler_smartcache.py Thanks. |
@Nic-Ma, I need to finish all the other pathology components by the end of week and I've got a lot on my plate. I'll go back to it after that if you don't mind. |
Sure, sounds good. |
wyli
left a comment
There was a problem hiding this comment.
could you please address https://github.com/Project-MONAI/MONAI/pull/1853/files#r602317744 in this PR?
@wyli, I'll do it later in another PR since it affects almost all the pathology related unittests. It's on my to-do list. |
Description
Turn shuffling off for
SmartCachePatchWSIDataset, sincePatchWSIDatasetobject does not support item assignment, and added unittests forSmartCachePatchWSIDataset.Status
Ready
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests.make htmlcommand in thedocs/folder.