Skip to content

Commit d920c38

Browse files
committed
reformat
Signed-off-by: Can-Zhao <[email protected]>
1 parent 984a425 commit d920c38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

monai/apps/detection/utils/detector_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ def check_training_targets(
8888
if boxes.numel() == 0:
8989
raise ValueError(
9090
f"Expected target boxes to be a tensor "
91-
f"of shape [N, {2* spatial_dims}], got {boxes.shape}. Please reshape it with boxes = torch.reshape(boxes, [0, {2* spatial_dims}])."
91+
f"of shape [N, {2* spatial_dims}], got {boxes.shape}. "
92+
f"Please reshape it with boxes = torch.reshape(boxes, [0, {2* spatial_dims}])."
9293
)
9394
else:
9495
raise ValueError(

0 commit comments

Comments
 (0)