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

If you REALLY want to run this code #95

Open
amoazeni75 opened this issue Aug 9, 2023 · 3 comments
Open

If you REALLY want to run this code #95

amoazeni75 opened this issue Aug 9, 2023 · 3 comments

Comments

@amoazeni75
Copy link

Hello all,

I want to recount my frustrating experience with this source code. After dedicating almost four days to struggling with the complexities of building and running this code across four different machines, I'm compelled to share the necessary configurations and the myriad of errors you'll likely encounter during the build process. I intend to spare you unnecessary frustration and compensate for the potential lack of helpful responses in the repository's issue section.

Okay, let's start with the Anaconda Environment:

You must use GGC V9 and CUDA-ToolKit 11.3

  • Use "install_pytorch_source.sh"

  • For this issue: static const unsigned kSigStackSize = std::max(16384L, SIGSTKSZ);
    See here: exception_handler.cc  #92

  • For this issue: GLIBCXX_3.4.30 not found
    See here: `GLIBCXX_3.4.30' not found #93

  • For this issue: /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>]
    See here: Loading images failed #94

  • Convert all .png files to .jpg before converting colmap to ADOP.

  • You need to change the colmap to adop c++ file to replace .png file extension with .jpg

  • Use: python3 -m pip install setuptools==59.5.0

Good luck with this source code :)

@Slicons496
Copy link

this is probably designed for pro users, but I really wish they included an already compiled version for windows, installing all sorts of things to only maybe get this running is kinda ruining the user experience for this. but well... this is guthub afterall

@lfranke
Copy link
Contributor

lfranke commented Feb 2, 2024

I have updated the install instructions and updated to a new torch version. Setup should be way smoother now.

If you encounter the GLIBCXX not found issue, then your linker is confusing the standard libraries of c++. I found this can be solved by removing the one in the conda environment:

cd ADOP

conda activate adop

export CONDA=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}

rm $CONDA/lib/libstdc++.so*

@zzttzz
Copy link

zzttzz commented Mar 8, 2024

I've built a docker with ADOP built : https://hub.docker.com/r/zhzt/adop

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

4 participants