Spaces:
Running
on
Zero
Running
on
Zero
update
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ os.makedirs(opts.save_dir,exist_ok=True)
|
|
39 |
test_tensor = torch.Tensor([0]).cuda()
|
40 |
opts.device = str(test_tensor.device)
|
41 |
os.system('pip install iopath')
|
42 |
-
os.system("pip install 'git+https://github.com/facebookresearch/pytorch3d.git@stable'")
|
43 |
from viewcrafter import ViewCrafter
|
44 |
|
45 |
def viewcrafter_demo(opts):
|
|
|
39 |
test_tensor = torch.Tensor([0]).cuda()
|
40 |
opts.device = str(test_tensor.device)
|
41 |
os.system('pip install iopath')
|
42 |
+
os.system("FORCE_CUDA=1 TORCH_CUDA_ARCH_LIST='6.0;6.1;7.0;7.5;8.0;8.6+PTX' CUDA_HOME='/usr/local/cuda' pip install 'git+https://github.com/facebookresearch/pytorch3d.git@stable'")
|
43 |
from viewcrafter import ViewCrafter
|
44 |
|
45 |
def viewcrafter_demo(opts):
|