Spaces:
Runtime error
Runtime error
Ekins Kuuzie
commited on
Delete yolov8_inference (1).ipynb
Browse files- yolov8_inference (1).ipynb +0 -845
yolov8_inference (1).ipynb
DELETED
@@ -1,845 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"cells": [
|
3 |
-
{
|
4 |
-
"cell_type": "code",
|
5 |
-
"execution_count": 10,
|
6 |
-
"metadata": {
|
7 |
-
"colab": {
|
8 |
-
"base_uri": "https://localhost:8080/"
|
9 |
-
},
|
10 |
-
"id": "rPv_jkuhaZN8",
|
11 |
-
"outputId": "f452d923-7e23-4ced-d295-6000c19f0e83",
|
12 |
-
"tags": []
|
13 |
-
},
|
14 |
-
"outputs": [
|
15 |
-
{
|
16 |
-
"name": "stdout",
|
17 |
-
"output_type": "stream",
|
18 |
-
"text": [
|
19 |
-
"Requirement already satisfied: ultralytics in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (8.1.4)\n",
|
20 |
-
"Requirement already satisfied: matplotlib>=3.3.0 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from ultralytics) (3.8.2)\n",
|
21 |
-
"Requirement already satisfied: numpy>=1.22.2 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from ultralytics) (1.26.0)\n",
|
22 |
-
"Requirement already satisfied: opencv-python>=4.6.0 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from ultralytics) (4.8.1.78)\n",
|
23 |
-
"Requirement already satisfied: pillow>=7.1.2 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from ultralytics) (9.5.0)\n",
|
24 |
-
"Requirement already satisfied: pyyaml>=5.3.1 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from ultralytics) (6.0.1)\n",
|
25 |
-
"Requirement already satisfied: requests>=2.23.0 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from ultralytics) (2.31.0)\n",
|
26 |
-
"Requirement already satisfied: scipy>=1.4.1 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from ultralytics) (1.11.4)\n",
|
27 |
-
"Requirement already satisfied: torch>=1.8.0 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from ultralytics) (2.1.2)\n",
|
28 |
-
"Requirement already satisfied: torchvision>=0.9.0 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from ultralytics) (0.16.2)\n",
|
29 |
-
"Requirement already satisfied: tqdm>=4.64.0 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from ultralytics) (4.66.1)\n",
|
30 |
-
"Requirement already satisfied: psutil in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from ultralytics) (5.9.7)\n",
|
31 |
-
"Requirement already satisfied: py-cpuinfo in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from ultralytics) (9.0.0)\n",
|
32 |
-
"Requirement already satisfied: thop>=0.1.1 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from ultralytics) (0.1.1.post2209072238)\n",
|
33 |
-
"Requirement already satisfied: pandas>=1.1.4 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from ultralytics) (2.1.0)\n",
|
34 |
-
"Requirement already satisfied: seaborn>=0.11.0 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from ultralytics) (0.13.1)\n",
|
35 |
-
"Requirement already satisfied: contourpy>=1.0.1 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from matplotlib>=3.3.0->ultralytics) (1.2.0)\n",
|
36 |
-
"Requirement already satisfied: cycler>=0.10 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from matplotlib>=3.3.0->ultralytics) (0.12.1)\n",
|
37 |
-
"Requirement already satisfied: fonttools>=4.22.0 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from matplotlib>=3.3.0->ultralytics) (4.47.0)\n",
|
38 |
-
"Requirement already satisfied: kiwisolver>=1.3.1 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from matplotlib>=3.3.0->ultralytics) (1.4.5)\n",
|
39 |
-
"Requirement already satisfied: packaging>=20.0 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from matplotlib>=3.3.0->ultralytics) (23.1)\n",
|
40 |
-
"Requirement already satisfied: pyparsing>=2.3.1 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from matplotlib>=3.3.0->ultralytics) (3.1.1)\n",
|
41 |
-
"Requirement already satisfied: python-dateutil>=2.7 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from matplotlib>=3.3.0->ultralytics) (2.8.2)\n",
|
42 |
-
"Requirement already satisfied: pytz>=2020.1 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from pandas>=1.1.4->ultralytics) (2023.3.post1)\n",
|
43 |
-
"Requirement already satisfied: tzdata>=2022.1 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from pandas>=1.1.4->ultralytics) (2023.3)\n",
|
44 |
-
"Requirement already satisfied: charset-normalizer<4,>=2 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from requests>=2.23.0->ultralytics) (3.2.0)\n",
|
45 |
-
"Requirement already satisfied: idna<4,>=2.5 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from requests>=2.23.0->ultralytics) (3.4)\n",
|
46 |
-
"Requirement already satisfied: urllib3<3,>=1.21.1 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from requests>=2.23.0->ultralytics) (1.26.16)\n",
|
47 |
-
"Requirement already satisfied: certifi>=2017.4.17 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from requests>=2.23.0->ultralytics) (2023.7.22)\n",
|
48 |
-
"Requirement already satisfied: filelock in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from torch>=1.8.0->ultralytics) (3.13.1)\n",
|
49 |
-
"Requirement already satisfied: typing-extensions in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from torch>=1.8.0->ultralytics) (4.8.0)\n",
|
50 |
-
"Requirement already satisfied: sympy in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from torch>=1.8.0->ultralytics) (1.12)\n",
|
51 |
-
"Requirement already satisfied: networkx in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from torch>=1.8.0->ultralytics) (3.2.1)\n",
|
52 |
-
"Requirement already satisfied: jinja2 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from torch>=1.8.0->ultralytics) (3.1.2)\n",
|
53 |
-
"Requirement already satisfied: fsspec in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from torch>=1.8.0->ultralytics) (2023.12.2)\n",
|
54 |
-
"Requirement already satisfied: colorama in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from tqdm>=4.64.0->ultralytics) (0.4.6)\n",
|
55 |
-
"Requirement already satisfied: six>=1.5 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from python-dateutil>=2.7->matplotlib>=3.3.0->ultralytics) (1.16.0)\n",
|
56 |
-
"Requirement already satisfied: MarkupSafe>=2.0 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from jinja2->torch>=1.8.0->ultralytics) (2.1.3)\n",
|
57 |
-
"Requirement already satisfied: mpmath>=0.19 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from sympy->torch>=1.8.0->ultralytics) (1.3.0)\n"
|
58 |
-
]
|
59 |
-
},
|
60 |
-
{
|
61 |
-
"name": "stderr",
|
62 |
-
"output_type": "stream",
|
63 |
-
"text": [
|
64 |
-
"\n",
|
65 |
-
"[notice] A new release of pip is available: 23.3.2 -> 24.0\n",
|
66 |
-
"[notice] To update, run: C:\\Users\\Zeus\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\\python.exe -m pip install --upgrade pip\n"
|
67 |
-
]
|
68 |
-
}
|
69 |
-
],
|
70 |
-
"source": [
|
71 |
-
"## install the packages\n",
|
72 |
-
"! pip install ultralytics"
|
73 |
-
]
|
74 |
-
},
|
75 |
-
{
|
76 |
-
"cell_type": "code",
|
77 |
-
"execution_count": 11,
|
78 |
-
"metadata": {
|
79 |
-
"colab": {
|
80 |
-
"base_uri": "https://localhost:8080/"
|
81 |
-
},
|
82 |
-
"id": "CDLyOpyraf2g",
|
83 |
-
"outputId": "7a070817-581d-4d8d-892b-2db0695ed282",
|
84 |
-
"tags": []
|
85 |
-
},
|
86 |
-
"outputs": [
|
87 |
-
{
|
88 |
-
"name": "stdout",
|
89 |
-
"output_type": "stream",
|
90 |
-
"text": [
|
91 |
-
"Requirement already satisfied: torch in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (2.1.2)\n",
|
92 |
-
"Requirement already satisfied: filelock in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from torch) (3.13.1)\n",
|
93 |
-
"Requirement already satisfied: typing-extensions in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from torch) (4.8.0)\n",
|
94 |
-
"Requirement already satisfied: sympy in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from torch) (1.12)\n",
|
95 |
-
"Requirement already satisfied: networkx in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from torch) (3.2.1)\n",
|
96 |
-
"Requirement already satisfied: jinja2 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from torch) (3.1.2)\n",
|
97 |
-
"Requirement already satisfied: fsspec in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from torch) (2023.12.2)\n",
|
98 |
-
"Requirement already satisfied: MarkupSafe>=2.0 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from jinja2->torch) (2.1.3)\n",
|
99 |
-
"Requirement already satisfied: mpmath>=0.19 in c:\\users\\zeus\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0\\localcache\\local-packages\\python311\\site-packages (from sympy->torch) (1.3.0)\n"
|
100 |
-
]
|
101 |
-
},
|
102 |
-
{
|
103 |
-
"name": "stderr",
|
104 |
-
"output_type": "stream",
|
105 |
-
"text": [
|
106 |
-
"\n",
|
107 |
-
"[notice] A new release of pip is available: 23.3.2 -> 24.0\n",
|
108 |
-
"[notice] To update, run: C:\\Users\\Zeus\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\\python.exe -m pip install --upgrade pip\n"
|
109 |
-
]
|
110 |
-
}
|
111 |
-
],
|
112 |
-
"source": [
|
113 |
-
"! pip install torch"
|
114 |
-
]
|
115 |
-
},
|
116 |
-
{
|
117 |
-
"cell_type": "code",
|
118 |
-
"execution_count": 8,
|
119 |
-
"metadata": {
|
120 |
-
"id": "7zwkmpyLainb",
|
121 |
-
"tags": []
|
122 |
-
},
|
123 |
-
"outputs": [],
|
124 |
-
"source": [
|
125 |
-
"# import packages\n",
|
126 |
-
"\n",
|
127 |
-
"import torch\n",
|
128 |
-
"import cv2\n",
|
129 |
-
"import os\n",
|
130 |
-
"from tqdm.auto import tqdm\n",
|
131 |
-
"import numpy as np\n",
|
132 |
-
"import pandas as pd\n",
|
133 |
-
"import tqdm"
|
134 |
-
]
|
135 |
-
},
|
136 |
-
{
|
137 |
-
"cell_type": "code",
|
138 |
-
"execution_count": 26,
|
139 |
-
"metadata": {
|
140 |
-
"colab": {
|
141 |
-
"base_uri": "https://localhost:8080/",
|
142 |
-
"height": 425
|
143 |
-
},
|
144 |
-
"id": "-eVvOhSmaPr1",
|
145 |
-
"outputId": "6e45e02a-0109-4235-ec27-4a8a31a7e2b4",
|
146 |
-
"tags": []
|
147 |
-
},
|
148 |
-
"outputs": [
|
149 |
-
{
|
150 |
-
"name": "stderr",
|
151 |
-
"output_type": "stream",
|
152 |
-
"text": [
|
153 |
-
" 0%| | 0/1 [00:00<?, ?it/s]"
|
154 |
-
]
|
155 |
-
},
|
156 |
-
{
|
157 |
-
"name": "stdout",
|
158 |
-
"output_type": "stream",
|
159 |
-
"text": [
|
160 |
-
"\n",
|
161 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\chest-x-ray-in-normal-pregnancy (1).jpg: 640x640 1 12, 3122.1ms\n",
|
162 |
-
"Speed: 7.2ms preprocess, 3122.1ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
163 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
164 |
-
"\n",
|
165 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\chest-x-ray-in-normal-pregnancy.jpg: 640x640 1 12, 4982.2ms\n",
|
166 |
-
"Speed: 7.5ms preprocess, 4982.2ms inference, 2.4ms postprocess per image at shape (1, 3, 640, 640)\n",
|
167 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
168 |
-
"\n",
|
169 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal-chest-radiograph-female-2.jpg: 576x640 (no detections), 3908.8ms\n",
|
170 |
-
"Speed: 10.8ms preprocess, 3908.8ms inference, 2.0ms postprocess per image at shape (1, 3, 576, 640)\n",
|
171 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
172 |
-
"\n",
|
173 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal-chest-radiograph-female-3.jpg: 640x608 (no detections), 4437.5ms\n",
|
174 |
-
"Speed: 13.3ms preprocess, 4437.5ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 608)\n",
|
175 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
176 |
-
"\n",
|
177 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal-chest-radiograph-female-5.jpg: 640x608 (no detections), 4389.1ms\n",
|
178 |
-
"Speed: 12.2ms preprocess, 4389.1ms inference, 1.8ms postprocess per image at shape (1, 3, 640, 608)\n",
|
179 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
180 |
-
"\n",
|
181 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal-chest-radiograph-large-bmi-male.jpg: 544x640 2 12s, 3862.2ms\n",
|
182 |
-
"Speed: 11.4ms preprocess, 3862.2ms inference, 3.0ms postprocess per image at shape (1, 3, 544, 640)\n",
|
183 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
184 |
-
"\n",
|
185 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal-chest-radiograph-large-bmi.jpg: 576x640 2 12s, 4185.1ms\n",
|
186 |
-
"Speed: 12.3ms preprocess, 4185.1ms inference, 2.2ms postprocess per image at shape (1, 3, 576, 640)\n",
|
187 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
188 |
-
"\n",
|
189 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal-chest-radiograph-male.jpg: 640x640 (no detections), 4760.4ms\n",
|
190 |
-
"Speed: 15.7ms preprocess, 4760.4ms inference, 2.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
191 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
192 |
-
"\n",
|
193 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal-chest-radiograph.jpg: 640x640 (no detections), 4430.5ms\n",
|
194 |
-
"Speed: 9.0ms preprocess, 4430.5ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
195 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
196 |
-
"\n",
|
197 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal-frontal-chest-x-ray-1.jpg: 640x544 1 12, 3899.6ms\n",
|
198 |
-
"Speed: 7.3ms preprocess, 3899.6ms inference, 3.0ms postprocess per image at shape (1, 3, 640, 544)\n",
|
199 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
200 |
-
"\n",
|
201 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal-frontal-chest-x-ray.jpg: 640x640 (no detections), 4240.3ms\n",
|
202 |
-
"Speed: 35.1ms preprocess, 4240.3ms inference, 4.1ms postprocess per image at shape (1, 3, 640, 640)\n",
|
203 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
204 |
-
"\n",
|
205 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_240.jpg: 640x640 (no detections), 4407.5ms\n",
|
206 |
-
"Speed: 8.0ms preprocess, 4407.5ms inference, 2.8ms postprocess per image at shape (1, 3, 640, 640)\n",
|
207 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
208 |
-
"\n",
|
209 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_241.jpg: 608x640 (no detections), 4234.8ms\n",
|
210 |
-
"Speed: 6.1ms preprocess, 4234.8ms inference, 2.0ms postprocess per image at shape (1, 3, 608, 640)\n",
|
211 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
212 |
-
"\n",
|
213 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_242.jpg: 608x640 (no detections), 4124.6ms\n",
|
214 |
-
"Speed: 10.7ms preprocess, 4124.6ms inference, 2.8ms postprocess per image at shape (1, 3, 608, 640)\n",
|
215 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
216 |
-
"\n",
|
217 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_243.jpg: 640x608 (no detections), 4887.2ms\n",
|
218 |
-
"Speed: 6.0ms preprocess, 4887.2ms inference, 1.3ms postprocess per image at shape (1, 3, 640, 608)\n",
|
219 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
220 |
-
"\n",
|
221 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_244.jpg: 576x640 (no detections), 4015.1ms\n",
|
222 |
-
"Speed: 12.0ms preprocess, 4015.1ms inference, 1.1ms postprocess per image at shape (1, 3, 576, 640)\n",
|
223 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
224 |
-
"\n",
|
225 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_245.jpg: 640x640 (no detections), 4178.8ms\n",
|
226 |
-
"Speed: 8.2ms preprocess, 4178.8ms inference, 3.2ms postprocess per image at shape (1, 3, 640, 640)\n",
|
227 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
228 |
-
"\n",
|
229 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_246.jpg: 640x640 (no detections), 4522.2ms\n",
|
230 |
-
"Speed: 8.0ms preprocess, 4522.2ms inference, 2.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
231 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
232 |
-
"\n",
|
233 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_247.jpg: 544x640 (no detections), 3494.6ms\n",
|
234 |
-
"Speed: 7.5ms preprocess, 3494.6ms inference, 2.0ms postprocess per image at shape (1, 3, 544, 640)\n",
|
235 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
236 |
-
"\n",
|
237 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_248.jpg: 640x608 1 12, 3787.1ms\n",
|
238 |
-
"Speed: 9.0ms preprocess, 3787.1ms inference, 3.0ms postprocess per image at shape (1, 3, 640, 608)\n",
|
239 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
240 |
-
"\n",
|
241 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_249.jpg: 640x640 (no detections), 4349.8ms\n",
|
242 |
-
"Speed: 6.6ms preprocess, 4349.8ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
243 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
244 |
-
"\n",
|
245 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_250.jpg: 608x640 (no detections), 3843.2ms\n",
|
246 |
-
"Speed: 10.9ms preprocess, 3843.2ms inference, 3.2ms postprocess per image at shape (1, 3, 608, 640)\n",
|
247 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
248 |
-
"\n",
|
249 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_251.jpg: 576x640 (no detections), 3717.5ms\n",
|
250 |
-
"Speed: 6.3ms preprocess, 3717.5ms inference, 1.0ms postprocess per image at shape (1, 3, 576, 640)\n",
|
251 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
252 |
-
"\n",
|
253 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_252.jpg: 576x640 (no detections), 3673.0ms\n",
|
254 |
-
"Speed: 10.3ms preprocess, 3673.0ms inference, 1.0ms postprocess per image at shape (1, 3, 576, 640)\n",
|
255 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
256 |
-
"\n",
|
257 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_253.jpg: 576x640 (no detections), 4049.4ms\n",
|
258 |
-
"Speed: 8.6ms preprocess, 4049.4ms inference, 1.0ms postprocess per image at shape (1, 3, 576, 640)\n",
|
259 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
260 |
-
"\n",
|
261 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_254.jpg: 576x640 (no detections), 3817.5ms\n",
|
262 |
-
"Speed: 5.5ms preprocess, 3817.5ms inference, 2.0ms postprocess per image at shape (1, 3, 576, 640)\n",
|
263 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
264 |
-
"\n",
|
265 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_255.jpg: 640x640 1 12, 4454.1ms\n",
|
266 |
-
"Speed: 8.3ms preprocess, 4454.1ms inference, 8.4ms postprocess per image at shape (1, 3, 640, 640)\n",
|
267 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
268 |
-
"\n",
|
269 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_256.jpg: 576x640 (no detections), 4052.3ms\n",
|
270 |
-
"Speed: 16.5ms preprocess, 4052.3ms inference, 1.0ms postprocess per image at shape (1, 3, 576, 640)\n",
|
271 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
272 |
-
"\n",
|
273 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_257.jpg: 640x640 (no detections), 4455.2ms\n",
|
274 |
-
"Speed: 6.2ms preprocess, 4455.2ms inference, 2.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
275 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
276 |
-
"\n",
|
277 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_258.jpg: 640x640 (no detections), 4776.6ms\n",
|
278 |
-
"Speed: 8.3ms preprocess, 4776.6ms inference, 2.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
279 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
280 |
-
"\n",
|
281 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_259.jpg: 640x608 (no detections), 4285.7ms\n",
|
282 |
-
"Speed: 8.1ms preprocess, 4285.7ms inference, 8.6ms postprocess per image at shape (1, 3, 640, 608)\n",
|
283 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
284 |
-
"\n",
|
285 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_260.jpg: 640x640 (no detections), 4435.2ms\n",
|
286 |
-
"Speed: 17.5ms preprocess, 4435.2ms inference, 1.3ms postprocess per image at shape (1, 3, 640, 640)\n",
|
287 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
288 |
-
"\n",
|
289 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_261.jpg: 640x640 (no detections), 4652.2ms\n",
|
290 |
-
"Speed: 7.2ms preprocess, 4652.2ms inference, 2.2ms postprocess per image at shape (1, 3, 640, 640)\n",
|
291 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
292 |
-
"\n",
|
293 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_262.jpg: 544x640 (no detections), 3621.6ms\n",
|
294 |
-
"Speed: 8.7ms preprocess, 3621.6ms inference, 1.0ms postprocess per image at shape (1, 3, 544, 640)\n",
|
295 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
296 |
-
"\n",
|
297 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_263.jpg: 640x640 (no detections), 3290.7ms\n",
|
298 |
-
"Speed: 9.0ms preprocess, 3290.7ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
299 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
300 |
-
"\n",
|
301 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_264.jpg: 640x640 (no detections), 3600.3ms\n",
|
302 |
-
"Speed: 5.2ms preprocess, 3600.3ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
303 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
304 |
-
"\n",
|
305 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_265.jpg: 608x640 (no detections), 3001.3ms\n",
|
306 |
-
"Speed: 5.0ms preprocess, 3001.3ms inference, 1.0ms postprocess per image at shape (1, 3, 608, 640)\n",
|
307 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
308 |
-
"\n",
|
309 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_266.jpg: 576x640 (no detections), 2601.7ms\n",
|
310 |
-
"Speed: 9.0ms preprocess, 2601.7ms inference, 0.0ms postprocess per image at shape (1, 3, 576, 640)\n",
|
311 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
312 |
-
"\n",
|
313 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_267.jpg: 576x640 (no detections), 2567.9ms\n",
|
314 |
-
"Speed: 4.1ms preprocess, 2567.9ms inference, 1.0ms postprocess per image at shape (1, 3, 576, 640)\n",
|
315 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
316 |
-
"\n",
|
317 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_268.jpg: 544x640 (no detections), 2416.0ms\n",
|
318 |
-
"Speed: 8.4ms preprocess, 2416.0ms inference, 1.0ms postprocess per image at shape (1, 3, 544, 640)\n",
|
319 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
320 |
-
"\n",
|
321 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_269.jpg: 640x640 (no detections), 2701.3ms\n",
|
322 |
-
"Speed: 5.0ms preprocess, 2701.3ms inference, 2.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
323 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
324 |
-
"\n",
|
325 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_270.jpg: 640x608 (no detections), 2640.0ms\n",
|
326 |
-
"Speed: 7.0ms preprocess, 2640.0ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 608)\n",
|
327 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
328 |
-
"\n",
|
329 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_271.jpg: 640x576 (no detections), 2340.2ms\n",
|
330 |
-
"Speed: 6.0ms preprocess, 2340.2ms inference, 2.4ms postprocess per image at shape (1, 3, 640, 576)\n",
|
331 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
332 |
-
"\n",
|
333 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_272.jpg: 640x640 (no detections), 2743.8ms\n",
|
334 |
-
"Speed: 5.0ms preprocess, 2743.8ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
335 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
336 |
-
"\n",
|
337 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_273.jpg: 640x576 (no detections), 2384.5ms\n",
|
338 |
-
"Speed: 6.0ms preprocess, 2384.5ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 576)\n",
|
339 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
340 |
-
"\n",
|
341 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_274.jpg: 640x640 (no detections), 2654.5ms\n",
|
342 |
-
"Speed: 4.0ms preprocess, 2654.5ms inference, 1.4ms postprocess per image at shape (1, 3, 640, 640)\n",
|
343 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
344 |
-
"\n",
|
345 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_275.jpg: 608x640 (no detections), 2572.4ms\n",
|
346 |
-
"Speed: 6.5ms preprocess, 2572.4ms inference, 1.0ms postprocess per image at shape (1, 3, 608, 640)\n",
|
347 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
348 |
-
"\n",
|
349 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_276.jpg: 640x608 (no detections), 2579.2ms\n",
|
350 |
-
"Speed: 4.5ms preprocess, 2579.2ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 608)\n",
|
351 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
352 |
-
"\n",
|
353 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_277.jpg: 640x640 (no detections), 2855.4ms\n",
|
354 |
-
"Speed: 4.3ms preprocess, 2855.4ms inference, 1.1ms postprocess per image at shape (1, 3, 640, 640)\n",
|
355 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
356 |
-
"\n",
|
357 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_278.jpg: 576x640 (no detections), 2473.8ms\n",
|
358 |
-
"Speed: 3.5ms preprocess, 2473.8ms inference, 1.0ms postprocess per image at shape (1, 3, 576, 640)\n",
|
359 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
360 |
-
"\n",
|
361 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_279.jpg: 640x608 (no detections), 2617.1ms\n",
|
362 |
-
"Speed: 5.7ms preprocess, 2617.1ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 608)\n",
|
363 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
364 |
-
"\n",
|
365 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_280.jpg: 640x576 (no detections), 2668.2ms\n",
|
366 |
-
"Speed: 7.3ms preprocess, 2668.2ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 576)\n",
|
367 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
368 |
-
"\n",
|
369 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_281.jpg: 640x576 (no detections), 2513.2ms\n",
|
370 |
-
"Speed: 5.0ms preprocess, 2513.2ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 576)\n",
|
371 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
372 |
-
"\n",
|
373 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_282.jpg: 608x640 (no detections), 2709.1ms\n",
|
374 |
-
"Speed: 3.0ms preprocess, 2709.1ms inference, 1.0ms postprocess per image at shape (1, 3, 608, 640)\n",
|
375 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
376 |
-
"\n",
|
377 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_283.jpg: 640x608 (no detections), 2524.4ms\n",
|
378 |
-
"Speed: 4.0ms preprocess, 2524.4ms inference, 1.3ms postprocess per image at shape (1, 3, 640, 608)\n",
|
379 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
380 |
-
"\n",
|
381 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_284.jpg: 640x640 1 12, 3507.4ms\n",
|
382 |
-
"Speed: 6.2ms preprocess, 3507.4ms inference, 4.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
383 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
384 |
-
"\n",
|
385 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_285.jpg: 640x640 (no detections), 3255.0ms\n",
|
386 |
-
"Speed: 7.0ms preprocess, 3255.0ms inference, 1.5ms postprocess per image at shape (1, 3, 640, 640)\n",
|
387 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
388 |
-
"\n",
|
389 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_286.jpg: 640x640 (no detections), 2852.1ms\n",
|
390 |
-
"Speed: 6.1ms preprocess, 2852.1ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
391 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
392 |
-
"\n",
|
393 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_287.jpg: 640x640 (no detections), 3035.4ms\n",
|
394 |
-
"Speed: 9.7ms preprocess, 3035.4ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
395 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
396 |
-
"\n",
|
397 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\normal_288.jpg: 640x640 (no detections), 2979.7ms\n",
|
398 |
-
"Speed: 7.0ms preprocess, 2979.7ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
399 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
400 |
-
"\n",
|
401 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax.jpg: 640x640 2 12s, 2726.2ms\n",
|
402 |
-
"Speed: 9.6ms preprocess, 2726.2ms inference, 2.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
403 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
404 |
-
"\n",
|
405 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_1.jpg: 640x640 (no detections), 2585.8ms\n",
|
406 |
-
"Speed: 4.0ms preprocess, 2585.8ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
407 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
408 |
-
"\n",
|
409 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_10.jpg: 640x640 (no detections), 2687.8ms\n",
|
410 |
-
"Speed: 8.9ms preprocess, 2687.8ms inference, 2.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
411 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
412 |
-
"\n",
|
413 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_11.jpg: 640x640 2 12s, 2579.5ms\n",
|
414 |
-
"Speed: 9.0ms preprocess, 2579.5ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
415 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
416 |
-
"\n",
|
417 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_12.jpg: 640x576 (no detections), 2315.9ms\n",
|
418 |
-
"Speed: 8.0ms preprocess, 2315.9ms inference, 2.0ms postprocess per image at shape (1, 3, 640, 576)\n",
|
419 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
420 |
-
"\n",
|
421 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_13.jpg: 640x640 1 12, 2694.2ms\n",
|
422 |
-
"Speed: 8.8ms preprocess, 2694.2ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
423 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
424 |
-
"\n",
|
425 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_14.jpg: 640x576 1 12, 2380.3ms\n",
|
426 |
-
"Speed: 8.0ms preprocess, 2380.3ms inference, 2.0ms postprocess per image at shape (1, 3, 640, 576)\n",
|
427 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
428 |
-
"\n",
|
429 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_15.jpg: 640x512 (no detections), 2388.5ms\n",
|
430 |
-
"Speed: 9.0ms preprocess, 2388.5ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 512)\n",
|
431 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
432 |
-
"\n",
|
433 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_16.jpg: 544x640 (no detections), 2464.6ms\n",
|
434 |
-
"Speed: 6.0ms preprocess, 2464.6ms inference, 0.0ms postprocess per image at shape (1, 3, 544, 640)\n",
|
435 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
436 |
-
"\n",
|
437 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_17.jpg: 640x608 1 12, 2433.5ms\n",
|
438 |
-
"Speed: 6.0ms preprocess, 2433.5ms inference, 2.0ms postprocess per image at shape (1, 3, 640, 608)\n",
|
439 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
440 |
-
"\n",
|
441 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_18.jpg: 544x640 (no detections), 2350.2ms\n",
|
442 |
-
"Speed: 8.6ms preprocess, 2350.2ms inference, 1.5ms postprocess per image at shape (1, 3, 544, 640)\n",
|
443 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
444 |
-
"\n",
|
445 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_19.jpg: 640x544 2 12s, 2253.8ms\n",
|
446 |
-
"Speed: 7.5ms preprocess, 2253.8ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 544)\n",
|
447 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
448 |
-
"\n",
|
449 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_2.jpg: 640x640 5 12s, 2717.7ms\n",
|
450 |
-
"Speed: 6.0ms preprocess, 2717.7ms inference, 2.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
451 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
452 |
-
"\n",
|
453 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_20.jpg: 544x640 (no detections), 2328.1ms\n",
|
454 |
-
"Speed: 8.0ms preprocess, 2328.1ms inference, 1.0ms postprocess per image at shape (1, 3, 544, 640)\n",
|
455 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
456 |
-
"\n",
|
457 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_21.jpg: 640x544 (no detections), 2251.9ms\n",
|
458 |
-
"Speed: 6.0ms preprocess, 2251.9ms inference, 0.0ms postprocess per image at shape (1, 3, 640, 544)\n",
|
459 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
460 |
-
"\n",
|
461 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_22.jpg: 544x640 (no detections), 2298.1ms\n",
|
462 |
-
"Speed: 4.0ms preprocess, 2298.1ms inference, 1.0ms postprocess per image at shape (1, 3, 544, 640)\n",
|
463 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
464 |
-
"\n",
|
465 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_23.jpg: 640x640 (no detections), 2646.4ms\n",
|
466 |
-
"Speed: 7.0ms preprocess, 2646.4ms inference, 0.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
467 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
468 |
-
"\n",
|
469 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_24.jpg: 576x640 (no detections), 2346.5ms\n",
|
470 |
-
"Speed: 6.2ms preprocess, 2346.5ms inference, 0.0ms postprocess per image at shape (1, 3, 576, 640)\n",
|
471 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
472 |
-
"\n",
|
473 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_25.jpg: 640x576 (no detections), 2653.4ms\n",
|
474 |
-
"Speed: 5.0ms preprocess, 2653.4ms inference, 2.0ms postprocess per image at shape (1, 3, 640, 576)\n",
|
475 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
476 |
-
"\n",
|
477 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_26.jpg: 640x640 (no detections), 2516.8ms\n",
|
478 |
-
"Speed: 9.0ms preprocess, 2516.8ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
479 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
480 |
-
"\n",
|
481 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_27.jpg: 640x640 (no detections), 2601.4ms\n",
|
482 |
-
"Speed: 11.3ms preprocess, 2601.4ms inference, 0.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
483 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
484 |
-
"\n",
|
485 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_28.jpg: 544x640 (no detections), 2216.8ms\n",
|
486 |
-
"Speed: 4.0ms preprocess, 2216.8ms inference, 0.0ms postprocess per image at shape (1, 3, 544, 640)\n",
|
487 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
488 |
-
"\n",
|
489 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_29.jpg: 608x640 1 12, 2216.2ms\n",
|
490 |
-
"Speed: 11.5ms preprocess, 2216.2ms inference, 1.0ms postprocess per image at shape (1, 3, 608, 640)\n",
|
491 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
492 |
-
"\n",
|
493 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_3.jpg: 640x640 5 12s, 2517.2ms\n",
|
494 |
-
"Speed: 7.0ms preprocess, 2517.2ms inference, 2.2ms postprocess per image at shape (1, 3, 640, 640)\n",
|
495 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
496 |
-
"\n",
|
497 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_30.jpg: 576x640 2 12s, 2476.1ms\n",
|
498 |
-
"Speed: 5.0ms preprocess, 2476.1ms inference, 2.0ms postprocess per image at shape (1, 3, 576, 640)\n",
|
499 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
500 |
-
"\n",
|
501 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_31.jpg: 608x640 1 12, 3539.7ms\n",
|
502 |
-
"Speed: 9.6ms preprocess, 3539.7ms inference, 5.0ms postprocess per image at shape (1, 3, 608, 640)\n",
|
503 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
504 |
-
"\n",
|
505 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_32.jpg: 576x640 (no detections), 3733.9ms\n",
|
506 |
-
"Speed: 4.7ms preprocess, 3733.9ms inference, 1.0ms postprocess per image at shape (1, 3, 576, 640)\n",
|
507 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
508 |
-
"\n",
|
509 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_33.jpg: 640x576 2 12s, 4301.1ms\n",
|
510 |
-
"Speed: 14.4ms preprocess, 4301.1ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 576)\n",
|
511 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
512 |
-
"\n",
|
513 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_34.jpg: 640x608 (no detections), 3040.5ms\n",
|
514 |
-
"Speed: 46.6ms preprocess, 3040.5ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 608)\n",
|
515 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
516 |
-
"\n",
|
517 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_35.jpg: 576x640 2 12s, 3081.7ms\n",
|
518 |
-
"Speed: 5.0ms preprocess, 3081.7ms inference, 1.1ms postprocess per image at shape (1, 3, 576, 640)\n",
|
519 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
520 |
-
"\n",
|
521 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_36.jpg: 640x352 1 12, 1573.1ms\n",
|
522 |
-
"Speed: 2.0ms preprocess, 1573.1ms inference, 3.0ms postprocess per image at shape (1, 3, 640, 352)\n",
|
523 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
524 |
-
"\n",
|
525 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_37.jpg: 640x640 (no detections), 2848.4ms\n",
|
526 |
-
"Speed: 7.1ms preprocess, 2848.4ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
527 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
528 |
-
"\n",
|
529 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_38.jpg: 640x640 (no detections), 2817.8ms\n",
|
530 |
-
"Speed: 7.5ms preprocess, 2817.8ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
531 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
532 |
-
"\n",
|
533 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_39.jpg: 640x608 (no detections), 2536.7ms\n",
|
534 |
-
"Speed: 13.2ms preprocess, 2536.7ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 608)\n",
|
535 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
536 |
-
"\n",
|
537 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_4.jpg: 640x480 (no detections), 2033.7ms\n",
|
538 |
-
"Speed: 5.2ms preprocess, 2033.7ms inference, 1.5ms postprocess per image at shape (1, 3, 640, 480)\n",
|
539 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
540 |
-
"\n",
|
541 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_40.jpg: 640x640 (no detections), 2666.4ms\n",
|
542 |
-
"Speed: 7.4ms preprocess, 2666.4ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
543 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
544 |
-
"\n",
|
545 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_41.jpg: 640x640 (no detections), 2651.1ms\n",
|
546 |
-
"Speed: 7.0ms preprocess, 2651.1ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
547 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
548 |
-
"\n",
|
549 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_42.jpg: 512x640 1 12, 2246.9ms\n",
|
550 |
-
"Speed: 4.0ms preprocess, 2246.9ms inference, 2.0ms postprocess per image at shape (1, 3, 512, 640)\n",
|
551 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
552 |
-
"\n",
|
553 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_43.jpg: 544x640 2 12s, 2312.6ms\n",
|
554 |
-
"Speed: 7.0ms preprocess, 2312.6ms inference, 2.0ms postprocess per image at shape (1, 3, 544, 640)\n",
|
555 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
556 |
-
"\n",
|
557 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_44.jpg: 544x640 1 12, 2232.2ms\n",
|
558 |
-
"Speed: 7.0ms preprocess, 2232.2ms inference, 1.0ms postprocess per image at shape (1, 3, 544, 640)\n",
|
559 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
560 |
-
"\n",
|
561 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_45.jpg: 544x640 (no detections), 2306.5ms\n",
|
562 |
-
"Speed: 9.0ms preprocess, 2306.5ms inference, 1.0ms postprocess per image at shape (1, 3, 544, 640)\n",
|
563 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
564 |
-
"\n",
|
565 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_46.jpg: 640x608 (no detections), 2751.3ms\n",
|
566 |
-
"Speed: 6.0ms preprocess, 2751.3ms inference, 1.0ms postprocess per image at shape (1, 3, 640, 608)\n",
|
567 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
568 |
-
"\n",
|
569 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_5.jpg: 544x640 (no detections), 2290.5ms\n",
|
570 |
-
"Speed: 5.0ms preprocess, 2290.5ms inference, 1.0ms postprocess per image at shape (1, 3, 544, 640)\n",
|
571 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
572 |
-
"\n",
|
573 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_6.jpg: 640x576 3 12s, 2351.8ms\n",
|
574 |
-
"Speed: 6.0ms preprocess, 2351.8ms inference, 15.7ms postprocess per image at shape (1, 3, 640, 576)\n",
|
575 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
576 |
-
"\n",
|
577 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_7.jpg: 640x480 (no detections), 2077.6ms\n",
|
578 |
-
"Speed: 8.0ms preprocess, 2077.6ms inference, 0.0ms postprocess per image at shape (1, 3, 640, 480)\n",
|
579 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
580 |
-
"\n",
|
581 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_8.jpg: 640x640 2 12s, 2559.7ms\n",
|
582 |
-
"Speed: 6.8ms preprocess, 2559.7ms inference, 2.0ms postprocess per image at shape (1, 3, 640, 640)\n",
|
583 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n",
|
584 |
-
"\n",
|
585 |
-
"image 1/1 c:\\Users\\Zeus\\Downloads\\yolov8\\pneumothorax\\pneumothorax_9.jpg: 640x576 (no detections), 2332.8ms\n",
|
586 |
-
"Speed: 5.0ms preprocess, 2332.8ms inference, 0.0ms postprocess per image at shape (1, 3, 640, 576)\n",
|
587 |
-
"Results saved to \u001b[1mC:\\Users\\Zeus\\runs\\detect\\predict12\u001b[0m\n"
|
588 |
-
]
|
589 |
-
},
|
590 |
-
{
|
591 |
-
"name": "stderr",
|
592 |
-
"output_type": "stream",
|
593 |
-
"text": [
|
594 |
-
"100%|██████████| 1/1 [06:01<00:00, 361.85s/it]\n"
|
595 |
-
]
|
596 |
-
}
|
597 |
-
],
|
598 |
-
"source": [
|
599 |
-
"from ultralytics import YOLO\n",
|
600 |
-
"\n",
|
601 |
-
"# Load a pretrained YOLOv8n model\n",
|
602 |
-
"model = YOLO('best.pt')\n",
|
603 |
-
"\n",
|
604 |
-
"path_folders= ['pneumothorax']\n",
|
605 |
-
"\n",
|
606 |
-
"list_df=[]\n",
|
607 |
-
"\n",
|
608 |
-
"for path_folder in tqdm.tqdm(path_folders,leave=True):\n",
|
609 |
-
"\n",
|
610 |
-
" img_list = os.listdir(path_folder) # list of images in the directory\n",
|
611 |
-
" list_path =[]\n",
|
612 |
-
" image_list = []\n",
|
613 |
-
" for image in img_list:\n",
|
614 |
-
" list_path.append(os.path.join(path_folder, image))\n",
|
615 |
-
" image_list.append(image)\n",
|
616 |
-
"\n",
|
617 |
-
" # list_path.remove('images\\\\.ipynb_checkpoints')\n",
|
618 |
-
"\n",
|
619 |
-
" # save images\n",
|
620 |
-
" results=[]\n",
|
621 |
-
" for image_path in list_path:\n",
|
622 |
-
" results.append(model.predict(image_path, save=True, conf=0.1, batch=2))\n",
|
623 |
-
" \n",
|
624 |
-
"\n",
|
625 |
-
" # get clases\n",
|
626 |
-
" all_predictions = []\n",
|
627 |
-
" for result in results:\n",
|
628 |
-
" boxes = result[0].boxes\n",
|
629 |
-
" boxes = boxes.cls.cpu().numpy().tolist()\n",
|
630 |
-
" all_predictions.append(boxes)\n",
|
631 |
-
"\n",
|
632 |
-
" df = pd.DataFrame()\n",
|
633 |
-
" df['image_name'] = image_list\n",
|
634 |
-
" df['predictions'] = all_predictions\n",
|
635 |
-
" list_df.append(df)"
|
636 |
-
]
|
637 |
-
},
|
638 |
-
{
|
639 |
-
"cell_type": "code",
|
640 |
-
"execution_count": 27,
|
641 |
-
"metadata": {
|
642 |
-
"tags": []
|
643 |
-
},
|
644 |
-
"outputs": [
|
645 |
-
{
|
646 |
-
"data": {
|
647 |
-
"text/html": [
|
648 |
-
"<div>\n",
|
649 |
-
"<style scoped>\n",
|
650 |
-
" .dataframe tbody tr th:only-of-type {\n",
|
651 |
-
" vertical-align: middle;\n",
|
652 |
-
" }\n",
|
653 |
-
"\n",
|
654 |
-
" .dataframe tbody tr th {\n",
|
655 |
-
" vertical-align: top;\n",
|
656 |
-
" }\n",
|
657 |
-
"\n",
|
658 |
-
" .dataframe thead th {\n",
|
659 |
-
" text-align: right;\n",
|
660 |
-
" }\n",
|
661 |
-
"</style>\n",
|
662 |
-
"<table border=\"1\" class=\"dataframe\">\n",
|
663 |
-
" <thead>\n",
|
664 |
-
" <tr style=\"text-align: right;\">\n",
|
665 |
-
" <th></th>\n",
|
666 |
-
" <th>image_name</th>\n",
|
667 |
-
" <th>predictions</th>\n",
|
668 |
-
" </tr>\n",
|
669 |
-
" </thead>\n",
|
670 |
-
" <tbody>\n",
|
671 |
-
" <tr>\n",
|
672 |
-
" <th>0</th>\n",
|
673 |
-
" <td>chest-x-ray-in-normal-pregnancy (1).jpg</td>\n",
|
674 |
-
" <td>[0.0]</td>\n",
|
675 |
-
" </tr>\n",
|
676 |
-
" <tr>\n",
|
677 |
-
" <th>1</th>\n",
|
678 |
-
" <td>chest-x-ray-in-normal-pregnancy.jpg</td>\n",
|
679 |
-
" <td>[0.0]</td>\n",
|
680 |
-
" </tr>\n",
|
681 |
-
" <tr>\n",
|
682 |
-
" <th>2</th>\n",
|
683 |
-
" <td>normal-chest-radiograph-female-2.jpg</td>\n",
|
684 |
-
" <td>[]</td>\n",
|
685 |
-
" </tr>\n",
|
686 |
-
" <tr>\n",
|
687 |
-
" <th>3</th>\n",
|
688 |
-
" <td>normal-chest-radiograph-female-3.jpg</td>\n",
|
689 |
-
" <td>[]</td>\n",
|
690 |
-
" </tr>\n",
|
691 |
-
" <tr>\n",
|
692 |
-
" <th>4</th>\n",
|
693 |
-
" <td>normal-chest-radiograph-female-5.jpg</td>\n",
|
694 |
-
" <td>[]</td>\n",
|
695 |
-
" </tr>\n",
|
696 |
-
" <tr>\n",
|
697 |
-
" <th>...</th>\n",
|
698 |
-
" <td>...</td>\n",
|
699 |
-
" <td>...</td>\n",
|
700 |
-
" </tr>\n",
|
701 |
-
" <tr>\n",
|
702 |
-
" <th>95</th>\n",
|
703 |
-
" <td>pneumothorax_40.jpg</td>\n",
|
704 |
-
" <td>[]</td>\n",
|
705 |
-
" </tr>\n",
|
706 |
-
" <tr>\n",
|
707 |
-
" <th>96</th>\n",
|
708 |
-
" <td>pneumothorax_41.jpg</td>\n",
|
709 |
-
" <td>[]</td>\n",
|
710 |
-
" </tr>\n",
|
711 |
-
" <tr>\n",
|
712 |
-
" <th>97</th>\n",
|
713 |
-
" <td>pneumothorax_42.jpg</td>\n",
|
714 |
-
" <td>[0.0]</td>\n",
|
715 |
-
" </tr>\n",
|
716 |
-
" <tr>\n",
|
717 |
-
" <th>98</th>\n",
|
718 |
-
" <td>pneumothorax_43.jpg</td>\n",
|
719 |
-
" <td>[0.0, 0.0]</td>\n",
|
720 |
-
" </tr>\n",
|
721 |
-
" <tr>\n",
|
722 |
-
" <th>99</th>\n",
|
723 |
-
" <td>pneumothorax_44.jpg</td>\n",
|
724 |
-
" <td>[0.0]</td>\n",
|
725 |
-
" </tr>\n",
|
726 |
-
" </tbody>\n",
|
727 |
-
"</table>\n",
|
728 |
-
"<p>100 rows × 2 columns</p>\n",
|
729 |
-
"</div>"
|
730 |
-
],
|
731 |
-
"text/plain": [
|
732 |
-
" image_name predictions\n",
|
733 |
-
"0 chest-x-ray-in-normal-pregnancy (1).jpg [0.0]\n",
|
734 |
-
"1 chest-x-ray-in-normal-pregnancy.jpg [0.0]\n",
|
735 |
-
"2 normal-chest-radiograph-female-2.jpg []\n",
|
736 |
-
"3 normal-chest-radiograph-female-3.jpg []\n",
|
737 |
-
"4 normal-chest-radiograph-female-5.jpg []\n",
|
738 |
-
".. ... ...\n",
|
739 |
-
"95 pneumothorax_40.jpg []\n",
|
740 |
-
"96 pneumothorax_41.jpg []\n",
|
741 |
-
"97 pneumothorax_42.jpg [0.0]\n",
|
742 |
-
"98 pneumothorax_43.jpg [0.0, 0.0]\n",
|
743 |
-
"99 pneumothorax_44.jpg [0.0]\n",
|
744 |
-
"\n",
|
745 |
-
"[100 rows x 2 columns]"
|
746 |
-
]
|
747 |
-
},
|
748 |
-
"execution_count": 27,
|
749 |
-
"metadata": {},
|
750 |
-
"output_type": "execute_result"
|
751 |
-
}
|
752 |
-
],
|
753 |
-
"source": [
|
754 |
-
"list_df[0].head(100)"
|
755 |
-
]
|
756 |
-
},
|
757 |
-
{
|
758 |
-
"cell_type": "code",
|
759 |
-
"execution_count": 28,
|
760 |
-
"metadata": {},
|
761 |
-
"outputs": [],
|
762 |
-
"source": [
|
763 |
-
"## Saving each df (three class yolov8)\n",
|
764 |
-
"\n",
|
765 |
-
"df_pneumothorax=list_df[0]"
|
766 |
-
]
|
767 |
-
},
|
768 |
-
{
|
769 |
-
"cell_type": "code",
|
770 |
-
"execution_count": 29,
|
771 |
-
"metadata": {},
|
772 |
-
"outputs": [],
|
773 |
-
"source": [
|
774 |
-
"## Exporting the individual dataframes to csv files (three class v8)\n",
|
775 |
-
"\n",
|
776 |
-
"\n",
|
777 |
-
"df_pneumothorax.to_csv('pneumothorax_v8.csv')"
|
778 |
-
]
|
779 |
-
},
|
780 |
-
{
|
781 |
-
"cell_type": "code",
|
782 |
-
"execution_count": 25,
|
783 |
-
"metadata": {},
|
784 |
-
"outputs": [],
|
785 |
-
"source": [
|
786 |
-
"# ## Saving each df\n",
|
787 |
-
"# df_aortic=list_df[0]\n",
|
788 |
-
"# df_atelec=list_df[1]\n",
|
789 |
-
"# df_cal=list_df[2]\n",
|
790 |
-
"# df_cardio=list_df[3]\n",
|
791 |
-
"# df_ild=list_df[4]\n",
|
792 |
-
"# df_opacity=list_df[5]\n",
|
793 |
-
"# df_nodules=list_df[6]\n",
|
794 |
-
"# df_effusion=list_df[7]\n",
|
795 |
-
"# df_pneumothorax=list_df[8]"
|
796 |
-
]
|
797 |
-
},
|
798 |
-
{
|
799 |
-
"cell_type": "code",
|
800 |
-
"execution_count": 26,
|
801 |
-
"metadata": {
|
802 |
-
"tags": []
|
803 |
-
},
|
804 |
-
"outputs": [],
|
805 |
-
"source": [
|
806 |
-
"## Exporting the individual dataframes to csv files\n",
|
807 |
-
"# df_aortic.to_csv('aortic_v8.csv')\n",
|
808 |
-
"# df_atelec.to_csv('atelec_v8.csv')\n",
|
809 |
-
"# df_cal.to_csv('calcifications_v8.csv')\n",
|
810 |
-
"# df_cardio.to_csv('cardiomegaly_v8.csv')\n",
|
811 |
-
"# df_ild.to_csv('ild_v8.csv')\n",
|
812 |
-
"# df_opacity.to_csv('opacity_v8.csv')\n",
|
813 |
-
"# df_nodules.to_csv('nodules_v8.csv')\n",
|
814 |
-
"# df_effusion.to_csv('effusion_v8.csv')\n",
|
815 |
-
"# df_pneumothorax.to_csv('pneumothorax_v8.csv')"
|
816 |
-
]
|
817 |
-
}
|
818 |
-
],
|
819 |
-
"metadata": {
|
820 |
-
"accelerator": "GPU",
|
821 |
-
"colab": {
|
822 |
-
"gpuType": "T4",
|
823 |
-
"provenance": []
|
824 |
-
},
|
825 |
-
"kernelspec": {
|
826 |
-
"display_name": "Python 3 (ipykernel)",
|
827 |
-
"language": "python",
|
828 |
-
"name": "python3"
|
829 |
-
},
|
830 |
-
"language_info": {
|
831 |
-
"codemirror_mode": {
|
832 |
-
"name": "ipython",
|
833 |
-
"version": 3
|
834 |
-
},
|
835 |
-
"file_extension": ".py",
|
836 |
-
"mimetype": "text/x-python",
|
837 |
-
"name": "python",
|
838 |
-
"nbconvert_exporter": "python",
|
839 |
-
"pygments_lexer": "ipython3",
|
840 |
-
"version": "3.11.8"
|
841 |
-
}
|
842 |
-
},
|
843 |
-
"nbformat": 4,
|
844 |
-
"nbformat_minor": 4
|
845 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|