Spaces:
Runtime error
Runtime error
yuanze1024
commited on
Commit
·
a93072d
1
Parent(s):
a39ac15
try cpu using ZERO gpu
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import subprocess
|
2 |
|
3 |
# a workaround for gradio SDK
|
4 |
-
|
5 |
subprocess.call(["git", "clone", "https://github.com/yuanze1024/Pointnet2_PyTorch.git"])
|
6 |
subprocess.call(["pip", "install", "."], cwd="Pointnet2_PyTorch/pointnet2_ops_lib")
|
7 |
|
|
|
1 |
import subprocess
|
2 |
|
3 |
# a workaround for gradio SDK
|
4 |
+
subprocess.call(["pip", "install", "torch==2.1.0+cu118", "torchvision==0.16.0+cu118", "-i", "https://download.pytorch.org/whl/cu118"])
|
5 |
subprocess.call(["git", "clone", "https://github.com/yuanze1024/Pointnet2_PyTorch.git"])
|
6 |
subprocess.call(["pip", "install", "."], cwd="Pointnet2_PyTorch/pointnet2_ops_lib")
|
7 |
|