shin0624 commited on
Commit
4086071
·
verified ·
1 Parent(s): 3b9e435

Update detector/yolo_pipeline.py

Browse files
Files changed (1) hide show
  1. detector/yolo_pipeline.py +1 -2
detector/yolo_pipeline.py CHANGED
@@ -6,7 +6,6 @@ import trimesh
6
  from ultralytics import YOLO
7
  from utils.pointcloud_tools import PointCloudProcessor
8
 
9
- @GPU()
10
  # 전역 모델 인스턴스 초기화
11
  _MODEL = None
12
 
@@ -24,7 +23,7 @@ class YOLO3DReconstructor:
24
  7: 'forklift',
25
  63: 'conveyor'
26
  }
27
-
28
  def process_frames(self, frame_paths):
29
  point_cloud = []
30
  detections = {v:0 for v in self.class_mapping.values()}
 
6
  from ultralytics import YOLO
7
  from utils.pointcloud_tools import PointCloudProcessor
8
 
 
9
  # 전역 모델 인스턴스 초기화
10
  _MODEL = None
11
 
 
23
  7: 'forklift',
24
  63: 'conveyor'
25
  }
26
+ @GPU()
27
  def process_frames(self, frame_paths):
28
  point_cloud = []
29
  detections = {v:0 for v in self.class_mapping.values()}