Skip to content

你好,我在训练 TaskType="Detection" 时 当标注的图像,标注内容为空时(本意想在训练集中加入正样本),会报这个异常!,请修复它。 #29

Description

@YN00315

Sizes of tensors must match except in dimension 0. Expected size 640 but got size 1280 for tensor number 4 in the list.
Exception raised from check_cat_shape_except_dim at C:\actions-runner_work\pytorch\pytorch\pytorch\aten\src\ATen/native/TensorShape.h:45 (most recent call first):
00007FFC1F88220900007FFC1F882160 c10.dll!c10::Error::Error [ @ ]
00007FFC1F880C7A00007FFC1F880C20 c10.dll!c10::detail::torchCheckFail [ @ ]
00007FFBD9AA3F6400007FFBD9AA36B0 torch_cpu.dll!at::meta::structured_cat::meta [ @ ]
00007FFBDA5421E400007FFBDA53DC90 torch_cpu.dll!at::cpu::var_outf [ @ ]
00007FFBDA533EB600007FFBDA51EE00 torch_cpu.dll!at::cpu::bitwise_or_outf [ @ ]
00007FFBD9F3286500007FFBD9F327E0 torch_cpu.dll!at::_ops::cat::redispatch [ @ ]
00007FFBDBA2F8EB00007FFBDBA115D0 torch_cpu.dll!torch::autograd::UndefinedGradBackward::apply_with_saved [ @ ]
00007FFBDBA2CE4C00007FFBDBA115D0 torch_cpu.dll!torch::autograd::UndefinedGradBackward::apply_with_saved [ @ ]
00007FFBD9EA8AC600007FFBD9EA89C0 torch_cpu.dll!at::_ops::cat::call [ @ ]
00007FFC4A2BB06900007FFC4A2BAF50 LibTorchSharp.DLL!THSTensor_cat [ @ ]
00007FFBAA643256 ! [ @ ]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions