tensorturnBETA
HomeUse Cases

How to Train YOLO on a Custom Dataset Without Code

To train YOLO on your own images in TensorTurn, upload a labeled detection dataset (YOLO, COCO or VOC format, auto-detected), tell the chat which objects to detect, and it runs Ultralytics YOLO training on an isolated cloud GPU, self-healing any errors, then deploys the weights as a /predict API. With a few hundred well-labeled boxes per class you can reach genuinely useful detection accuracy; small, crowded or fine-grained objects need more data and land lower.

Classification vs. detection

YOLO is for object detection: it finds where objects are and draws bounding boxes around them, and it can detect several objects in one image. That is different from image classification, which labels the whole image as one class. Choose the YOLO workflow when you need location and counts — for example counting products on a shelf, spotting defects on a part, or detecting people and vehicles in a frame.

What data you need

How to train it on TensorTurn (no code)

Use your own GPU for longer runs

Detection training can be heavy, so you can connect your own GPU with a one-line command on Windows, macOS or Linux. The agent is outbound-HTTPS-only, so it works behind any NAT, firewall or VPN without opening ports, the token is stored as a SHA-256 hash, and you get live telemetry (CPU, RAM, GPU, VRAM, temperature, power). You can even combine several of your own machines into one run. Note the honest limit: this is your own single-tenant pool doing embarrassingly-parallel or periodic weight-averaging work, not tensor or pipeline parallelism across the WAN — it will not make a model too big for one machine suddenly fit.

How accurate can it be?

Detection accuracy is dominated by label quality and object size. For clear, large, well-labeled objects, mAP50 of 0.85–0.95 is achievable. For small, occluded or crowded objects, expect 0.40–0.70, and too few boxes per class produces weak, unreliable detectors. If results disappoint, the fix is almost always more and better-labeled examples of the hard cases, not a bigger model.

Deploy as an API

Save the best weights and publish an authenticated /predict endpoint on Modal that scales to zero when idle, secured with a SHA-256-hashed Bearer key and per-call logging. The playground gives cURL, JavaScript, Python and Rust snippets so you can send an image and receive boxes, classes and confidences.

Start building free

Frequently asked questions

Which YOLO does TensorTurn use?

It runs Ultralytics YOLO training. You describe the classes and dataset in chat, and TensorTurn generates and runs the training notebook, self-healing any errors.

What annotation formats are supported?

YOLO txt, COCO json and VOC xml, all auto-detected. You do not need to convert formats manually before uploading.

How many labeled images do I need?

As a rough minimum, 150–300 boxes per class. Small, varied or crowded objects need considerably more to reach usable accuracy.

Can I train on my own GPU?

Yes. Connect it with a one-line, outbound-HTTPS-only agent that works behind any firewall, and optionally combine several of your own machines into one run with a work-stealing scheduler.

Is the deployed detector fast enough for real time?

The endpoint returns detections per image and scales to zero when idle. Throughput depends on image size and the chosen GPU; test in the playground for your exact use case.