Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,8 +37,8 @@ opts.save_dir = './'
|
|
| 37 |
os.makedirs(opts.save_dir,exist_ok=True)
|
| 38 |
test_tensor = torch.Tensor([0]).cuda()
|
| 39 |
opts.device = str(test_tensor.device)
|
| 40 |
-
os.system('pip install iopath')
|
| 41 |
-
spaces.GPU(os.system("FORCE_CUDA=1 pip install 'git+https://github.com/facebookresearch/pytorch3d.git'"))
|
| 42 |
# os.system("mkdir -p checkpoints/ && wget https://download.europe.naverlabs.com/ComputerVision/DUSt3R/DUSt3R_ViTLarge_BaseDecoder_512_dpt.pth -P checkpoints/")
|
| 43 |
|
| 44 |
from viewcrafter import ViewCrafter
|
|
|
|
| 37 |
os.makedirs(opts.save_dir,exist_ok=True)
|
| 38 |
test_tensor = torch.Tensor([0]).cuda()
|
| 39 |
opts.device = str(test_tensor.device)
|
| 40 |
+
# os.system('pip install iopath')
|
| 41 |
+
# spaces.GPU(os.system("FORCE_CUDA=1 pip install 'git+https://github.com/facebookresearch/pytorch3d.git'"))
|
| 42 |
# os.system("mkdir -p checkpoints/ && wget https://download.europe.naverlabs.com/ComputerVision/DUSt3R/DUSt3R_ViTLarge_BaseDecoder_512_dpt.pth -P checkpoints/")
|
| 43 |
|
| 44 |
from viewcrafter import ViewCrafter
|