Skip to content

Learning Blocks

Vision Pro

Preview

A modern detection model that draws a box around each object, in five sizes from Nano to Large.

Try it in Studio
On this page

What is this learning block?

Vision Pro is a box-detection model. In the model list it is marked DEVELOPER PREVIEW. You pick it on the training page with Choose a different model.

What does it do?

For each object in the image, Vision Pro predicts a box (position and size), a label, and a confidence score. Example: helmet, 0.91 with a box around the helmet.

How does it learn?

Vision Pro is trained from scratch on your images; it does not start from a pre-trained network. That means it usually needs more images and more training cycles than the other models.

During training Studio automatically:

  • mixes pieces of several images together (mosaic) and flips images, so the model sees more variety,
  • starts with a small learning rate, raises it, and lowers it again towards the end,
  • keeps a smoothed copy of the weights, which is usually more stable than the latest weights.

What model architecture does it use?

  1. 1Input imageSize is a multiple of 32
  2. 2BackboneFinds features at several scales
  3. 3NeckCombines small and large features
  4. 4Three headsSmall, medium and large objects
  5. 5BoxesBox, label, confidence
Vision Pro

The three heads look at the image at 1/8, 1/16 and 1/32 of its size, so the model can find both small and large objects. It is anchor-free: it predicts boxes directly instead of adjusting a fixed set of template boxes.

What settings can I configure?

SettingDefaultWhat it does
Model sizeNanoNano (smallest, fastest), Tiny, Small, Medium, Large (largest, slowest). Larger sizes can learn more but are slower and bigger.
Maximum training cyclesSuggestedStudio suggests 100–150 based on your dataset size.
Learning rate0.0007 for Nano, 0.001 for other sizesSet automatically when you change the model size.
Batch size32Images per learning step. Lower it if training fails because of memory.
Training deviceCPUChoose GPU only if your PetalEdge server offers it.
Data augmentationon (always)Always on for Vision Pro.

Image size: Vision Pro uses a multiple of 32 (smaller sizes are rounded up), at least 96.

What problems can it solve?

  • Detecting objects when you need their size as well as their position.
  • Scenes with objects of very different sizes.
  • Objects that overlap or sit close together.

Simple example

You label helmets and vests in 400 site photos, choose Nano and keep the suggested training cycles. After training, the evaluation shows an mAP@[IoU=50] of, for example, 0.8. In live classification each helmet and vest gets its own box.

How do I understand the training results?

The Evaluation page shows detection scores:

  • mAP@[IoU=50]: the main score. A prediction counts as correct when its box overlaps the real box by at least 50 %. Higher is better (1.0 is perfect).
  • mAP: the same, averaged over stricter overlap levels (50 % to 95 %). It is always lower than mAP@50.
  • mAP@[IoU=75]: a strict version that needs very tight boxes.
  • mAP@[area=small/medium/large]: scores for small, medium and large objects.
  • Recall@[max_detections=…]: how many real objects were found when the model may report 1, 10 or 100 boxes per image.

Detection models do not show a confusion matrix. See Evaluating an Image model.