Spaces:
Sleeping
Sleeping
Update gaussian_pipeline.py
Browse files- gaussian_pipeline.py +1 -2
gaussian_pipeline.py
CHANGED
|
@@ -1,12 +1,11 @@
|
|
| 1 |
from spaces import GPU # Hugging Face Spaces에서 GPU 사용
|
| 2 |
from ultralytics import YOLO
|
| 3 |
-
@GPU()
|
| 4 |
-
|
| 5 |
import numpy as np
|
| 6 |
import cv2
|
| 7 |
import os
|
| 8 |
import trimesh
|
| 9 |
|
|
|
|
| 10 |
def reconstruct_3d_from_yolo(frames, output_dir, device="cuda"):
|
| 11 |
model = YOLO("yolov8n.pt") # 경량 모델 사용
|
| 12 |
|
|
|
|
| 1 |
from spaces import GPU # Hugging Face Spaces에서 GPU 사용
|
| 2 |
from ultralytics import YOLO
|
|
|
|
|
|
|
| 3 |
import numpy as np
|
| 4 |
import cv2
|
| 5 |
import os
|
| 6 |
import trimesh
|
| 7 |
|
| 8 |
+
@GPU()
|
| 9 |
def reconstruct_3d_from_yolo(frames, output_dir, device="cuda"):
|
| 10 |
model = YOLO("yolov8n.pt") # 경량 모델 사용
|
| 11 |
|