dk - uv lock
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
3.11
|
||||||
@@ -12,7 +12,7 @@ model = YOLO("./weights/yolo26m.pt") # Medium 크기 가중치 자동 다운로
|
|||||||
|
|
||||||
task = Task.init(
|
task = Task.init(
|
||||||
project_name="Normal_Object_Detection",
|
project_name="Normal_Object_Detection",
|
||||||
task_name="YOLOv26m_coco80_Inference_Agent"
|
task_name="model-yolo26-human"
|
||||||
)
|
)
|
||||||
|
|
||||||
def xyxy_to_xywh(box: dict) -> dict:
|
def xyxy_to_xywh(box: dict) -> dict:
|
||||||
@@ -27,6 +27,7 @@ def xyxy_to_xywh(box: dict) -> dict:
|
|||||||
# model = YOLO("yolo12m.pt")
|
# model = YOLO("yolo12m.pt")
|
||||||
|
|
||||||
def main(image_path: str):
|
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종 기본 탐지 가능)
|
# 이미지 원격 추론 테스트 (COCO 80종 기본 탐지 가능)
|
||||||
# results = model("https://acai.ketidev.kr:20443/detect/image/202606/20260619_145116_image.jpg")
|
# results = model("https://acai.ketidev.kr:20443/detect/image/202606/20260619_145116_image.jpg")
|
||||||
results = model(image_path)
|
results = model(image_path)
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
[project]
|
||||||
|
name = "normal-object-detection"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = "Add your description here"
|
||||||
|
readme = "README.md"
|
||||||
|
requires-python = ">=3.11"
|
||||||
|
dependencies = [
|
||||||
|
"clearml>=2.1.9",
|
||||||
|
"requests==2.32.5",
|
||||||
|
"ultralytics==8.4.71",
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user