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

Some tips for setting up (needs fixing?) #6

Closed
kyuewang17 opened this issue Oct 18, 2024 · 1 comment
Closed

Some tips for setting up (needs fixing?) #6

kyuewang17 opened this issue Oct 18, 2024 · 1 comment

Comments

@kyuewang17
Copy link

kyuewang17 commented Oct 18, 2024

  1. Anaconda environment is not activated after running "environment_setup.sh" bash script.
  • Need to manually activate the conda env
  1. Installing & building detectron2
  • after activating "srgpt-demo" env, CUDA=12.4 is set for the conda env (==> check "nvcc -V")
  • After activation, installing and building detectron2 via "pip install -U ~~~" fails.
  • I manually set CUDA version to 12.1 as in here
    export CUDA_HOME=/usr/local/cuda-12.1
    export PATH="${CUDA_HOME}/bin:$PATH"
    export LD_LIBRARY_PATH="${CUDA_HOME}/lib64:$LD_LIBRARY_PATH"
  • Check CUDA version with "nvcc -V" again. (Changed to 12.1)
  • Now detectron2 part does not fail.
@AnjieCheng
Copy link
Owner

Hi, thank you for catching this! I've updated the instructions accordingly.

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

2 participants