dk - uv lock
This commit is contained in:
@@ -12,7 +12,7 @@ model = YOLO("./weights/yolo26m.pt") # Medium 크기 가중치 자동 다운로
|
||||
|
||||
task = Task.init(
|
||||
project_name="Normal_Object_Detection",
|
||||
task_name="YOLOv26m_coco80_Inference_Agent"
|
||||
task_name="model-yolo26-human"
|
||||
)
|
||||
|
||||
def xyxy_to_xywh(box: dict) -> dict:
|
||||
@@ -27,6 +27,7 @@ def xyxy_to_xywh(box: dict) -> dict:
|
||||
# model = YOLO("yolo12m.pt")
|
||||
|
||||
def main(image_path: str):
|
||||
# uv run main.py --image_url "https://acai.ketidev.kr:20443/detect/image/202606/20260619_145116_image.jpg"
|
||||
# 이미지 원격 추론 테스트 (COCO 80종 기본 탐지 가능)
|
||||
# results = model("https://acai.ketidev.kr:20443/detect/image/202606/20260619_145116_image.jpg")
|
||||
results = model(image_path)
|
||||
|
||||
Reference in New Issue
Block a user