Can we load RGB images? #2675
Unanswered
talhaanwarch
asked this question in
Q&A
Replies: 1 comment
-
Hi @talhaanwarch , Thanks for your interest here. T.Compose(
[
T.LoadImaged(keys=["image", "label"]),
T.EnsureChannelFirstd(keys=["image", "label"]),
T.ScaleIntensityd(keys=["image"]),
T.Resized(keys=["image", "label"], spatial_size=(224,224)),
]
) Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to load color RGB images with shape(512,512,3).
But the resized command consumes all of the ram. ?
Beta Was this translation helpful? Give feedback.
All reactions