Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -8,13 +8,9 @@ import sys
|
|
8 |
import torch
|
9 |
|
10 |
if os.getenv('SYSTEM') == 'spaces':
|
11 |
-
# os.system('pip install --global-option="--no-networks" --use-pep517 git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch')
|
12 |
os.system('pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch')
|
13 |
-
print('tcnn done')
|
14 |
os.system('pip install fvcore iopath')
|
15 |
-
print('fvcore done')
|
16 |
os.system('pip install git+https://github.com/facebookresearch/pytorch3d.git')
|
17 |
-
print('pt3d done')
|
18 |
|
19 |
import cv2
|
20 |
import time
|
|
|
8 |
import torch
|
9 |
|
10 |
if os.getenv('SYSTEM') == 'spaces':
|
|
|
11 |
os.system('pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch')
|
|
|
12 |
os.system('pip install fvcore iopath')
|
|
|
13 |
os.system('pip install git+https://github.com/facebookresearch/pytorch3d.git')
|
|
|
14 |
|
15 |
import cv2
|
16 |
import time
|