Upload model
Browse files- modeling.py +1 -1
modeling.py
CHANGED
@@ -519,7 +519,7 @@ class TotalClassifierModel(PreTrainedModel):
|
|
519 |
|
520 |
if 2 in crop_dims:
|
521 |
# swap plane
|
522 |
-
x = x0.
|
523 |
smin2, smax2 = self.crop_single_plane(
|
524 |
x, device, organ, threshold, buffer, speed_up
|
525 |
)
|
|
|
519 |
|
520 |
if 2 in crop_dims:
|
521 |
# swap plane
|
522 |
+
x = x0.swapaxes(2, 0)
|
523 |
smin2, smax2 = self.crop_single_plane(
|
524 |
x, device, organ, threshold, buffer, speed_up
|
525 |
)
|