Skip to content

Commit fe00a8d

Browse files
kazhangfacebook-github-bot
authored andcommitted
[fbsync] Update the error message on DeformConv2d. (#4908)
Reviewed By: datumbox Differential Revision: D32470489 fbshipit-source-id: b4f06064718002b7203b374d84a70761771020e5
1 parent 3e988db commit fe00a8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/csrc/ops/cpu/deform_conv2d_kernel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ at::Tensor deform_conv2d_forward_kernel(
963963
(mask_c.size(0) == input_c.size(0)), "invalid batch size of mask");
964964
TORCH_CHECK(
965965
(!use_mask || (mask_c.size(2) == out_h && mask_c.size(3) == out_w)),
966-
"offset output dims: (",
966+
"mask output dims: (",
967967
mask_c.size(2),
968968
", ",
969969
mask_c.size(3),

0 commit comments

Comments
 (0)