Commit ·
923e631
1
Parent(s): 829e8f8
pytorch3d
Browse files
app.py
CHANGED
|
@@ -33,12 +33,14 @@ def install_cuda_toolkit():
|
|
| 33 |
)
|
| 34 |
# Fix: arch_list[-1] += '+PTX'; IndexError: list index out of range
|
| 35 |
os.environ["TORCH_CUDA_ARCH_LIST"] = "8.0;8.6"
|
|
|
|
| 36 |
|
| 37 |
print("Compling other packages")
|
| 38 |
install_cuda_toolkit()
|
| 39 |
-
os.system('pip install git+https://github.com/facebookresearch/pytorch3d.git@stable')
|
| 40 |
os.system('pip install ./thirdparty/DROID-SLAM')
|
| 41 |
os.system('pip install ./thirdparty/DROID-SLAM/thirdparty/lietorch')
|
|
|
|
|
|
|
| 42 |
|
| 43 |
import numpy as np
|
| 44 |
from easydict import EasyDict
|
|
|
|
| 33 |
)
|
| 34 |
# Fix: arch_list[-1] += '+PTX'; IndexError: list index out of range
|
| 35 |
os.environ["TORCH_CUDA_ARCH_LIST"] = "8.0;8.6"
|
| 36 |
+
|
| 37 |
|
| 38 |
print("Compling other packages")
|
| 39 |
install_cuda_toolkit()
|
|
|
|
| 40 |
os.system('pip install ./thirdparty/DROID-SLAM')
|
| 41 |
os.system('pip install ./thirdparty/DROID-SLAM/thirdparty/lietorch')
|
| 42 |
+
os.environ["FORCE_CUDA"] = "1"
|
| 43 |
+
os.system('pip install git+https://github.com/facebookresearch/pytorch3d.git@stable')
|
| 44 |
|
| 45 |
import numpy as np
|
| 46 |
from easydict import EasyDict
|