1.2 KiB
Executable File
1.2 KiB
Executable File
Fish Detection YOLO Pipeline
We plan to train our own YOLO model specifically for fish detection. The workflow and TODOs are:
-
Labeling
- Use
labelmeto annotate selected fish images. - Convert annotations to YOLO format (e.g., using
labelme2yoloor a custom script).
- Use
-
Training & Testing Scripts
- Implement
train_yolo.pythat:- Loads the annotated dataset via a configurable dataloader.
- Supports dataset splits (train/val/test) and typical YOLO hyperparameters.
- Saves checkpoints and training logs.
- Implement
test_yolo.pythat:- Loads trained checkpoints.
- Runs inference/evaluation on validation or test sets.
- Outputs metrics (precision/recall/mAP) and visualizes detections.
- Implement
-
Data Loaders
- Provide reusable dataloaders that:
- Handle YOLO-format labels and image augmentations.
- Support batching, shuffling, and CPU/GPU prefetching.
- Can be shared between training and testing scripts.
- Provide reusable dataloaders that:
TODO Summary
- Annotate images with
labelme.- Create
train_yolo.pywith dataloaders + training logic.- Create
test_yolo.pywith dataloaders + evaluation/visualization.