OceanGPT-X
Collection
4 items β’ Updated β’ 3
Run zjunlp/Ocean-router on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/zjunlp/Ocean-router. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/zjunlp/Ocean-router on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use zjunlp/Ocean-router with ultralytics:
from huggingface_hub import hf_hub_download
from ultralytics import YOLO
# pick the weights file from this repo's "Files and versions" tab
weights = hf_hub_download("zjunlp/Ocean-router", "<weights>.pt")
model = YOLO(weights)
source = 'http://images.cocodataset.org/val2017/000000039769.jpg'
model.predict(source=source, save=True)Two-stage lightweight classifiers used to dynamically route marine images to specialized detectors based on image modality and content.
| File | Task | Architecture | Input/Output |
|---|---|---|---|
cls_bio_sonar/best.pt |
Sonar vs. Biological routing | YOLOv11-cls | Image β [sonar_prob, bio_prob] |
fish_coral_cls/best.pt |
Fish vs. Coral routing | YOLOv5 | Image β [fish_prob, coral_prob] |
from ultralytics import YOLO
router = YOLO("cls_bio_sonar/best.pt")
results = router.predict("input.jpg")
Requires the official YOLOv5 repo
import torch
model = torch.hub.load("ultralytics/yolov5", "custom", path="fish_coral_cls/best.pt", force_reload=True)
results = model("input.jpg")
cls_bio_sonar decides if input is sonar or biological. If biological, fish_coral_cls routes to the appropriate species detector.