Spaces:
Paused
Paused
torch was without cuda compiled
Browse files- app.py +4 -0
- requirements.txt +2 -1
app.py
CHANGED
|
@@ -79,11 +79,15 @@ def run_on_gpu(input_point_cloud: gr.utils.NamedString,
|
|
| 79 |
|
| 80 |
|
| 81 |
def main():
|
|
|
|
|
|
|
|
|
|
| 82 |
# Zero-GPU doesn't work with docker anymore, so here some manual setup
|
| 83 |
# git submodule doesn't work in Gradio, so we clone it here
|
| 84 |
subprocess.run(['git', 'clone', 'https://github.com/cg-tuwien/ppsurf.git'])
|
| 85 |
# subprocess.run(['pip', 'install', '-r', 'ppsurf/requirements', '--no-cache-dir'])
|
| 86 |
# subprocess.run(['pip', 'install', '-r', 'requirements', '--no-cache-dir'])
|
|
|
|
| 87 |
|
| 88 |
description_header = '# PPSurf: Combining Patches and Point Convolutions for Detailed Surface Reconstruction'
|
| 89 |
|
|
|
|
| 79 |
|
| 80 |
|
| 81 |
def main():
|
| 82 |
+
print('Main...')
|
| 83 |
+
|
| 84 |
+
print('Cloning PPSurf...')
|
| 85 |
# Zero-GPU doesn't work with docker anymore, so here some manual setup
|
| 86 |
# git submodule doesn't work in Gradio, so we clone it here
|
| 87 |
subprocess.run(['git', 'clone', 'https://github.com/cg-tuwien/ppsurf.git'])
|
| 88 |
# subprocess.run(['pip', 'install', '-r', 'ppsurf/requirements', '--no-cache-dir'])
|
| 89 |
# subprocess.run(['pip', 'install', '-r', 'requirements', '--no-cache-dir'])
|
| 90 |
+
print('Cloning PPSurf... Done')
|
| 91 |
|
| 92 |
description_header = '# PPSurf: Combining Patches and Point Convolutions for Detailed Surface Reconstruction'
|
| 93 |
|
requirements.txt
CHANGED
|
@@ -21,4 +21,5 @@ pysdf>=0.1.9
|
|
| 21 |
jsonargparse[signatures]>=4.27.5
|
| 22 |
|
| 23 |
spaces>=0.23
|
| 24 |
-
gradio>=4.19
|
|
|
|
|
|
| 21 |
jsonargparse[signatures]>=4.27.5
|
| 22 |
|
| 23 |
spaces>=0.23
|
| 24 |
+
gradio>=4.19
|
| 25 |
+
--index-url https://download.pytorch.org/whl/cu124
|