-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spacing MetaTensor #4319
Spacing MetaTensor #4319
Conversation
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks the transform becomes easier to use with MetaTensor
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]>
@wyli Do you think you can help me with this error in the github action? I can't reproduce it locally. I think it's complaining that if get_track_meta():
img_ = img if isinstance(img, MetaTensor) else MetaTensor(img)
img_, *_ = convert_data_type(img, dtype=_dtype)
else:
img_, *_ = convert_data_type(img, torch.Tensor, dtype=_dtype) It seems to me that in all cases, |
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
looks like you addressed the issue... I'll merge this PR and #4308 and have the full integration tests soon. |
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: monai-bot <[email protected]>
Spacing compatible with
MetaTensor
. Array transform now also hasinverse
method.Status
Ready
Types of changes