my
Browse files
app.py
CHANGED
|
@@ -80,7 +80,7 @@ def process_image():
|
|
| 80 |
# Check contents in the root directory
|
| 81 |
print("Current directory contents:", os.listdir('/'))
|
| 82 |
|
| 83 |
-
model = YOLOv10(f'./
|
| 84 |
dataset = sv.DetectionDataset.from_yolo(
|
| 85 |
images_directory_path=f"/data/MyNewVersion5.0Dataset/valid/images",
|
| 86 |
annotations_directory_path=f"/data/MyNewVersion5.0Dataset/valid/labels",
|
|
|
|
| 80 |
# Check contents in the root directory
|
| 81 |
print("Current directory contents:", os.listdir('/'))
|
| 82 |
|
| 83 |
+
model = YOLOv10(f'./runs/detect/train3/weights/best (1).pt')
|
| 84 |
dataset = sv.DetectionDataset.from_yolo(
|
| 85 |
images_directory_path=f"/data/MyNewVersion5.0Dataset/valid/images",
|
| 86 |
annotations_directory_path=f"/data/MyNewVersion5.0Dataset/valid/labels",
|