We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
output of drr.forward should be B C H W where C is the number of structures in drr.subject.mask (C=1 if subject has no mask).
drr.forward
B C H W
C
drr.subject.mask
C=1
current idea is
channels = torch.take(mask, idxs)
B (HW) N
channels
B C (HW) N
voxels
N
img
B C (HW)
current limitation: onehot is memory intensive for C = 118 (ie, totalsegmentator)
C = 118
The text was updated successfully, but these errors were encountered:
onehot can be bypassed: https://stackoverflow.com/questions/78323859/broadcast-pytorch-array-across-channels-based-on-another-array
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
output of
drr.forward
should beB C H W
whereC
is the number of structures indrr.subject.mask
(C=1
if subject has no mask).current idea is
channels = torch.take(mask, idxs)
with shapeB (HW) N
channels
for shapeB C (HW) N
channels
andvoxels
, nansum overN
, and makeimg
with shapeB C (HW)
current limitation: onehot is memory intensive for
C = 118
(ie, totalsegmentator)The text was updated successfully, but these errors were encountered: