Skip to content

RuntimeError: assertion `dtype == dst.dtype && dst.is_contiguous()' #4

@amazingzby

Description

@amazingzby

当输入宽高不一致时报错,
在训练过程中报错,报错时机随缘:
yolo_head.py", line 351, in get_assignments
bboxes_preds_per_image = bboxes_preds_per_image[fg_mask]
RuntimeError: assertion `dtype == dst.dtype && dst.is_contiguous()' failed at ../../../../../../dnn/src/common/elemwise/opr_impl.cpp:281: void megdnn::ElemwiseForward::check_layout_and_broadcast(const TensorLayoutPtrArray&, const megdnn::TensorLayout&)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions