Skip to content

更换ReID模型之后,提示Eigen数据对齐错误 #39

@LinoSun

Description

@LinoSun

将ReID模型的输入改成 1x3x32x32大小,但是发现,Eigen一直报错

eigen/include/eigen3/Eigen/src/Core/CoreEvaluators.h:1226: Eigen::internal::block_evaluator<ArgType, BlockRows, BlockCols, InnerPanel, true>::block_evaluator(const XprType&) [with ArgType = const Eigen::Transpose<const Eigen::Matrix<float, 1, 8, 1> >; int BlockRows = 8; int BlockCols = 1; bool InnerPanel = true; Eigen::internal::block_evaluator<ArgType, BlockRows, BlockCols, InnerPanel, true>::XprType = Eigen::Block<const Eigen::Transpose<const Eigen::Matrix<float, 1, 8, 1> >, 8, 1, true>]: Assertion `((internal::UIntPtr(block.data()) % (((int)1 >= (int)evaluator::Alignment) ? (int)1 : (int)evaluator::Alignment)) == 0) && "data is not aligned"' failed.

大佬们有思路嘛?

Activity

cuiyong127

cuiyong127 commented on Jun 5, 2024

@cuiyong127

同问,遇到了同样的问题了。

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

        Participants

        @cuiyong127@LinoSun

        Issue actions

          更换ReID模型之后,提示Eigen数据对齐错误 · Issue #39 · RichardoMrMu/yolov5-deepsort-tensorrt