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
Thanks for providing the code and this is really a great work.
I have one question about the data dimension in the code, which confuses me.
The get_data function in nibabel exports the data in [x, y, z] and from your code it looks like the depth corresponds to the z-dimension. However, in the resize function in the dataloader brains18.py, it maps the depth to the first element of the data.shape.
def __resize_data__(self, data):
"""
Resize the data to the input size
"""
[depth, height, width] = data.shape
scale = [self.input_D*1.0/depth, self.input_H*1.0/height, self.input_W*1.0/width]
Can you clarify a little bit here, or am I mis-understand something?
The text was updated successfully, but these errors were encountered:
Thanks for providing the code and this is really a great work.
I have one question about the data dimension in the code, which confuses me.
The get_data function in nibabel exports the data in [x, y, z] and from your code it looks like the depth corresponds to the z-dimension. However, in the resize function in the dataloader brains18.py, it maps the depth to the first element of the data.shape.
Can you clarify a little bit here, or am I mis-understand something?
The text was updated successfully, but these errors were encountered: