fdp0525 / G2LTex

Code for CVPR 2018 paper --- Texture Mapping for 3D Reconstruction with RGB-D Sensor
146 stars 29 forks source link

you are using an empty matrix"' failed #25

Open YuzhiChen001 opened 1 year ago

YuzhiChen001 commented 1 year ago

Hello,I meeting a problem as follows,I kept all the input formats consistent with the author. I don't know what could be a bug.I am new at it,if you give me some suggesions ,i will be appricate it . (The example given by the author can run through.)

The command line information is as follows: `Reading PLY: 854151 verts... 281965 faces...PLY Loader: Ignoring face with 5 vertices! PLY Loader: Ignoring face with 5 vertices! PLY Loader: Ignoring face with 5 vertices! ... Warning: Zero-length normals detected: 15001 face normals, 45812 vertex normals Generating texture views: -----------tok ext size:12 depth fx:661.75 fy:661.75 cx:382.39 cy:277.98 width:768 height:576 RGB fx:661.75 fy:661.75 cx:382.39 cy:277.98 width:768 height:576 Global depth:100 RGB:1 Local RGB:1 edge:1 Reg:100 Global Iterations:300 Local Iterations:20 -----------tok ext size:12 -----------tok ext size:12 ... num_views:33 0 total edges. 260863 faces have not been seen by a view. Saving model... done. loading face info ... Global iter:0/300 Global iter:50/300 ... local option iteration:18/20 local option iteration:19/20 ----Global Texture Color Correction------ G2LTex: /usr/include/eigen3/Eigen/src/Core/Redux.h:411: typename Eigen::internal::traits<T>::Scalar Eigen::DenseBase<Derived>::redux(const Func&) const [with BinaryOp = Eigen::internal::scalar_sum_op<float>; Derived = Eigen::Matrix<float, -1, 1>; typename Eigen::internal::traits<T>::Scalar = float]: Assertionthis->rows()>0 && this->cols()>0 && "you are using an empty matrix"' failed. Aborted (core dumped)