hamhanry commited on
Commit
7573e80
·
1 Parent(s): c6af47d

add: pretrained yolov10n-obb (1024) and yolov10s(640)

Browse files
__pycache__/app.cpython-311.pyc ADDED
Binary file (8.53 kB). View file
 
app.py CHANGED
@@ -6,11 +6,9 @@ import cv2
6
 
7
  def inference(image, video, model_id, image_size, conf_threshold):
8
  if model_id == "yolov10n-obb":
9
- model = YOLO("")
10
  elif model_id == "yolov10s-obb":
11
- model = YOLO("")
12
- elif model_id == "yolov10m-obb":
13
- model = YOLO("")
14
 
15
  if image:
16
  results = model.predict(source=image, imgsz=image_size, conf=conf_threshold, device="cpu")
@@ -63,8 +61,7 @@ def app():
63
  label="Model",
64
  choices=[
65
  "yolov10n-obb",
66
- "yolov10s-obb",
67
- "yolov10m-obb",
68
  ],
69
  value="yolov10n-obb",
70
  )
 
6
 
7
  def inference(image, video, model_id, image_size, conf_threshold):
8
  if model_id == "yolov10n-obb":
9
+ model = YOLO("pretrained/yolov10n-obb.pt")
10
  elif model_id == "yolov10s-obb":
11
+ model = YOLO("pretrained/yolov10s-640-obb.pt")
 
 
12
 
13
  if image:
14
  results = model.predict(source=image, imgsz=image_size, conf=conf_threshold, device="cpu")
 
61
  label="Model",
62
  choices=[
63
  "yolov10n-obb",
64
+ "yolov10s-640-obb",
 
65
  ],
66
  value="yolov10n-obb",
67
  )
gradio_cached_examples/18/Annotated Image/6497753f7a2af4967013/image.webp ADDED
gradio_cached_examples/18/Annotated Image/8009bf64b0e5189a98a7/image.webp ADDED
gradio_cached_examples/18/Annotated Image/dff8871ea183996943ea/image.webp ADDED
gradio_cached_examples/18/indices.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 0
2
+ 4
3
+ 5
gradio_cached_examples/18/log.csv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ Annotated Image,flag,username,timestamp
2
+ "{""path"": ""gradio_cached_examples/18/Annotated Image/6497753f7a2af4967013/image.webp"", ""url"": ""/file=/tmp/gradio/4df55f4db4a879d0f331f482669c84c6a319e7b2/image.webp"", ""size"": null, ""orig_name"": ""image.webp"", ""mime_type"": null, ""is_stream"": false, ""meta"": {""_type"": ""gradio.FileData""}}",,,2024-07-10 15:06:52.021734
3
+ "{""path"": ""gradio_cached_examples/18/Annotated Image/8009bf64b0e5189a98a7/image.webp"", ""url"": ""/file=/tmp/gradio/c25eef03c514d68578e437e9029467c31fcb8249/image.webp"", ""size"": null, ""orig_name"": ""image.webp"", ""mime_type"": null, ""is_stream"": false, ""meta"": {""_type"": ""gradio.FileData""}}",,,2024-07-10 15:07:50.478759
4
+ "{""path"": ""gradio_cached_examples/18/Annotated Image/dff8871ea183996943ea/image.webp"", ""url"": ""/file=/tmp/gradio/11e0eaaec3ead29196ccb5a3be4e0b4071423deb/image.webp"", ""size"": null, ""orig_name"": ""image.webp"", ""mime_type"": null, ""is_stream"": false, ""meta"": {""_type"": ""gradio.FileData""}}",,,2024-07-10 15:08:06.225262
pretrained/yolov10n-obb.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfe61b547a60f6ae4182db89b9f5d9b3bd6edac5020c815cfca01458708e8e27
3
+ size 5645864
pretrained/yolov10s-640-obb.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2aef4864dc97233aa28ddecb0481edf8b9f19b236200cc616600ffaf58935e0
3
+ size 18059824