Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading images failed #94

Closed
amoazeni75 opened this issue Aug 4, 2023 · 0 comments
Closed

Loading images failed #94

amoazeni75 opened this issue Aug 4, 2023 · 0 comments

Comments

@amoazeni75
Copy link

I noticed the source code is not compatible with.png files. The issue shows up during training:

/saiga/src/saiga/core/image/templatedImage.h:81 Function: bool Saiga::TemplatedImage<T>::load(const string&) [with T = Eigen::Matrix<unsigned char, 3, 1, 0>; std::string = std::__cxx11::basic_string<char>]

Fix:

  1. Convert all .png files to .jpg before converting colmap to ADOP
  2. change the colmap to ADOP c++ file to replace the .png file extension with .jpg
  3. rebuild the whole source code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant