ARG-NCTU/Singapore_Maritime_Dataset_coco
Viewer • Updated • 13.4k • 71
How to use ARG-NCTU/rtdetr-spscd_base_1280_b8_e100 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("ARG-NCTU/rtdetr-spscd_base_1280_b8_e100", "<weights>.pt")
model = YOLO(weights)
source = 'http://images.cocodataset.org/val2017/000000039769.jpg'
model.predict(source=source, save=True)best.pt - Best model checkpointresults.csv - Complete training metricsresults.png - Training curves visualizationconfusion_matrix.png - Confusion matrixF1_curve.png, PR_curve.png - Performance curvessamples/ - Sample validation predictionsNote: TensorBoard logs are included if available. You can also visualize training using results.csv and the curve images.
from ultralytics import RTDETR
# Load model
model = RTDETR('best.pt')
# Run inference
results = model('your_image.jpg')
results.pngresults.csv for detailed epoch-by-epoch metrics