nothinglo / NISwGSP

C++ implementation of the ECCV 2016 paper, Natural Image Stitching with the Global Similarity Prior.
332 stars 124 forks source link

how does it happen? #20

Closed huangshaoguang closed 6 years ago

huangshaoguang commented 6 years ago

nThreads = 1 [#Images : 1] i = 1, [Images : dataset25] [ERROR] F(getImageFileFullNamesInDir) could not open directory [ERROR] F(getImagesMatchGraph) image match graph verification [2] didn't be implemented yet [ERROR] F(getImagesMatchGraph) image match graph verification [2] didn't be implemented yet [ERROR] F(getImagesMatchGraph) image match graph verification [2] didn't be implemented yet [ERROR] F(getImagesMatchGraph) image match graph verification [2] didn't be implemented yet A = [2, 0] NISwGSP: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h:916: void Eigen::internal::set_from_triplets(const InputIterator&, const InputIterator&, SparseMatrixType&, DupFunctor) [with InputIterator = __gnu_cxx::__normal_iterator<Eigen::Triplet*, std::vector<Eigen::Triplet > >; SparseMatrixType = Eigen::SparseMatrix; DupFunctor = Eigen::internal::scalar_sum_op]: Assertion `it->row()>=0 && it->row()<mat.rows() && it->col()>=0 && it->col()<mat.cols()' failed. Aborted (core dumped)

nothinglo commented 6 years ago

please refer to https://github.com/nothinglo/NISwGSP/issues/7. Thanks.

huangshaoguang commented 6 years ago

thanks for your reply...but I can't still run it...I compiled it in Ubuntu successfily. I download the input-42-data and unzip it in NISwGSP.exe with the same path . I run it with the command line "sudo ./NISwGSP ./input-42-data/AANAP-building " and it is wrong, and the wrong messages are: nThreads = 1 [#Images : 1] i = 1, [Images : dataset25] [ERROR] F(getImageFileFullNamesInDir) could not open directory [ERROR] F(getImagesMatchGraph) image match graph verification [2] didn't be implemented yet [ERROR] F(getImagesMatchGraph) image match graph verification [2] didn't be implemented yet [ERROR] F(getImagesMatchGraph) image match graph verification [2] didn't be implemented yet [ERROR] F(getImagesMatchGraph) image match graph verification [2] didn't be implemented yet A = [2, 0] NISwGSP: /usr/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h:916: void Eigen::internal::set_from_triplets(const InputIterator&, const InputIterator&, SparseMatrixType&, DupFunctor) [with InputIterator = __gnu_cxx::__normal_iterator<Eigen::Triplet*, std::vector >; SparseMatrixType = Eigen::SparseMatrix; DupFunctor = Eigen::internal::scalar_sum_op]: Assertion `it->row()>=0 && it->row()<mat.rows() && it->col()>=0 && it->col()<mat.cols()' failed. Aborted (core dumped) how to solve it ? thanks a lot!

huangshaoguang commented 6 years ago

OK I have sovled it! Thanks a lot!

huangshaoguang commented 6 years ago

hello, I have a new problem!I run on my dataset ,there is something wrong: [#Images : 1] i = 1, [Images : mycar] Segmentation fault (core dumped)

what's the matter?

nothinglo commented 6 years ago

So you mean when running on the dataset I provided, there is no problem. But it has the error when running on your own dataset.

huangshaoguang commented 6 years ago

yes

nothinglo commented 6 years ago

Then I can only guess it should be the path issue.

wl1085759633 commented 5 years ago

Hello, I have encountered this problem. How did you solve it?@ huangshaoguang

yinsong-llsc commented 5 years ago

好,我已经解决了!非常感谢!

我也遇到了同样的问题,请问一下是怎么解决的呢。非常感谢!

RocketFlash commented 2 years ago

Hi @huangshaoguang ! How did you solve the problem ?

liqian-design commented 2 years ago

Hi @huangshaoguang I have met the same problem,how did you solve it? Thanks.