Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import logging
|
|
5 |
import os
|
6 |
import os.path as osp
|
7 |
|
8 |
-
os.system('nvidia-smi')
|
9 |
|
10 |
import cupy
|
11 |
|
@@ -37,6 +37,11 @@ from mono.utils.transform import gray_to_colormap
|
|
37 |
from mono.utils.visualization import vis_surface_normal
|
38 |
import gradio as gr
|
39 |
|
|
|
|
|
|
|
|
|
|
|
40 |
#torch.hub.download_url_to_file('https://images.unsplash.com/photo-1437622368342-7a3d73a34c8f', 'turtle.jpg')
|
41 |
#torch.hub.download_url_to_file('https://images.unsplash.com/photo-1519066629447-267fffa62d4b', 'lions.jpg')
|
42 |
|
|
|
5 |
import os
|
6 |
import os.path as osp
|
7 |
|
8 |
+
#os.system('nvidia-smi')
|
9 |
|
10 |
import cupy
|
11 |
|
|
|
37 |
from mono.utils.visualization import vis_surface_normal
|
38 |
import gradio as gr
|
39 |
|
40 |
+
import fire
|
41 |
+
from mono.utils.unproj_pcd import reconstruct_pcd, save_point_cloud
|
42 |
+
from datetime import datetime
|
43 |
+
import time
|
44 |
+
|
45 |
#torch.hub.download_url_to_file('https://images.unsplash.com/photo-1437622368342-7a3d73a34c8f', 'turtle.jpg')
|
46 |
#torch.hub.download_url_to_file('https://images.unsplash.com/photo-1519066629447-267fffa62d4b', 'lions.jpg')
|
47 |
|