FrozenBurning commited on
Commit
9150daa
1 Parent(s): 8e5d73b

Update install.sh

Browse files
Files changed (1) hide show
  1. install.sh +2 -3
install.sh CHANGED
@@ -1,4 +1,4 @@
1
- cd SceneDreamer
2
  CURRENT=$(pwd)
3
  for p in correlation channelnorm resample2d bias_act upfirdn2d; do
4
  cd imaginaire/third_party/${p};
@@ -16,5 +16,4 @@ done
16
  cd gridencoder
17
  python setup.py build_ext --inplace
18
  python -m pip install .
19
- cd ${CURRENT}
20
- cd ..
 
1
+ export CUDA_VERSION=$(nvcc --version| grep -Po "(\d+\.)+\d+" | head -1)
2
  CURRENT=$(pwd)
3
  for p in correlation channelnorm resample2d bias_act upfirdn2d; do
4
  cd imaginaire/third_party/${p};
 
16
  cd gridencoder
17
  python setup.py build_ext --inplace
18
  python -m pip install .
19
+ cd ${CURRENT}