RichardoMrMu / yolov5-deepsort-tensorrt

A c++ implementation of yolov5 and deepsort
GNU General Public License v3.0
426 stars 102 forks source link

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

Open LinoSun opened 2 years ago

LinoSun commented 2 years ago

将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.

大佬们有思路嘛?

cuiyong127 commented 1 month ago

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