Conversation
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
|
yes, I'm looking into these... @Nic-Ma is taking a few days off, I think he'll be back next Tuesday |
|
great, thanks! |
| transform: InvertibleTransform, | ||
| pad_collation_used: bool, | ||
| ) -> None: | ||
| self.data = decollate_batch(data) |
There was a problem hiding this comment.
could you help add some tests for random transforms in test_decollate with random prob=0.0?
also, not in this PR but came across an issue in monai.transforms.Decollated that missing a call to super().__init__
_BatchInverseDataset should call super() in its constructor as well
There was a problem hiding this comment.
Added tests and added call to super constructors
| for key in data.keys(): | ||
| transform_key = str(key) + "_transforms" | ||
| transform = data[transform_key][-1] | ||
| if transform["class"] == "SpatialPadd": |
There was a problem hiding this comment.
this is coupled with the pad_list_data_collate, could we make a special invertible transformPadListDataCollate, so that we could have the __call__ and inverse in one place...what do you think?
There was a problem hiding this comment.
Done and split into its own PR. Let's merge that first, which will simply the diff of this PR again.
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
wyli
left a comment
There was a problem hiding this comment.
thanks, looks good to me now.
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Batch inverse.
part of #1515
Status
Ready
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests.make htmlcommand in thedocs/folder.