yolov5-deepsort-tensorrt icon indicating copy to clipboard operation
yolov5-deepsort-tensorrt copied to clipboard

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

Open LinoSun opened this issue 2 years ago • 1 comments

将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<XprType>::Alignment) ? (int)1 : (int)evaluator<XprType>::Alignment)) == 0) && "data is not aligned"' failed.

大佬们有思路嘛?

LinoSun avatar Jun 24 '22 03:06 LinoSun