You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to understand why the behavior of the decollate_batch is different with numpy and torch? The strategy for decollating batches is indeed different, e.g.
I would expect at least to have the same behavior with numpy and torch but this is not the case. In fact I though the decollate_batch would expect "batched" data where the first dim corresponds to the batch size, so the output of decollate_batch would be of the same length as the batch size -- but this is not the case for numpy arrays / lists. What am I missing?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to understand why the behavior of the
decollate_batch
is different with numpy and torch? The strategy for decollating batches is indeed different, e.g.I would expect at least to have the same behavior with numpy and torch but this is not the case. In fact I though the
decollate_batch
would expect "batched" data where the first dim corresponds to the batch size, so the output ofdecollate_batch
would be of the same length as the batch size -- but this is not the case for numpy arrays / lists. What am I missing?Beta Was this translation helpful? Give feedback.
All reactions