Spaces:
Running
Running
ThunderVVV
commited on
Commit
·
829e8f8
1
Parent(s):
44b4275
pytorch3d
Browse files- app.py +2 -1
- requirements.txt +0 -1
app.py
CHANGED
@@ -34,8 +34,9 @@ def install_cuda_toolkit():
|
|
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
|
38 |
install_cuda_toolkit()
|
|
|
39 |
os.system('pip install ./thirdparty/DROID-SLAM')
|
40 |
os.system('pip install ./thirdparty/DROID-SLAM/thirdparty/lietorch')
|
41 |
|
|
|
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 |
|
requirements.txt
CHANGED
@@ -1,3 +1,2 @@
|
|
1 |
chumpy@git+https://github.com/mattloper/chumpy
|
2 |
torch-scatter==2.1.2
|
3 |
-
git+https://github.com/facebookresearch/pytorch3d.git@stable
|
|
|
1 |
chumpy@git+https://github.com/mattloper/chumpy
|
2 |
torch-scatter==2.1.2
|
|