Views
No views yet
| Metric | Score |
|---|---|
| mAP50 — detection | 65.6% |
| mAP50 — segmentation | 65.0% |
| Precision | 79% |
| Classes | 16 |
| Training images | 6,008 |
| Validation images | 1,204 |
| Epochs | 75 |


| Category | Classes |
|---|---|
| Trash | trash_plastic, trash_metal, trash_fabric, trash_fishing_gear, trash_rubber, trash_wood, trash_paper, trash_etc |
| Marine life | animal_fish, animal_starfish, animal_shells, animal_crab, animal_eel, animal_etc, plant |
| Equipment | rov |
| Class | Instances | % |
|---|---|---|
| rov | 2,653 | 44.2% |
| trash_etc | 1,629 | 27.1% |
| trash_plastic | 1,490 | 24.8% |
| trash_metal | 901 | 15.0% |
| animal_fish | 611 | 10.2% |
| plant | 405 | 6.7% |
| animal_starfish | 274 | 4.6% |
| trash_wood | 271 | 4.5% |
| animal_eel | 267 | 4.4% |
| animal_crab | 247 | 4.1% |
| trash_fabric | 247 | 4.1% |
| animal_etc | 180 | 3.0% |
| animal_shells | 171 | 2.8% |
| trash_paper | 154 | 2.6% |
| trash_fishing_gear | 127 | 2.1% |
| trash_rubber | 113 | 1.9% |
conf=0.15 for better detection of rare trash classes.1from ultralytics import YOLO
2from huggingface_hub import hf_hub_download
3
4# Download model
5model_path = hf_hub_download(
6 repo_id="Krishna-Jaiswal/yolov8m-marine-trash",
7 filename="yolov8m_marine_best.pt"
8)
9
10# Run inference
11model = YOLO(model_path)
12results = model.predict("underwater_image.jpg", task="segment", conf=0.15)
13results[0].show()| Parameter | Value |
|---|---|
| Model | YOLOv8m-seg (pretrained COCO) |
| Optimizer | SGD |
| Learning rate | 0.01 → 0.001 (cosine decay) |
| Epochs | 75 (early stopping patience=20) |
| Batch size | 16 |
| Image size | 640×640 |
| Augmentation | Mosaic, Mixup=0.1, Copy-paste=0.1, HSV jitter, Flip |
| Platform | Kaggle T4 GPU |
1@dataset{trashcan2020,
2 title = {TrashCan 1.0: An Instance-segmentation Labeled Dataset of Trash Observations},
3 author = {Hong, Jungseok and Fulton, Michael and Sattar, Junaed},
4 year = {2020},
5 url = {https://conservancy.umn.edu/handle/11299/214865}
6}