Preparing for YOLO26 - 0/3

Desk Reference and Core Concepts

Preparing for YOLO26 - 0/3

Here is the professional and fluent English translation of your blog post, tailored for a technical yet engaging tech blog format. The machine learning terminologies have been carefully localized to their standard English equivalents.

Before diving into our massive 3-part series on training a custom object detection model with YOLO26, we need to make sure we are speaking the same language. I have prepared this section as a "Desk Reference" so you can fully grasp what we mean when we say, "The loss is dropping, but the mAP isn't increasing—are we experiencing overfitting?" during model training. Whenever you get stuck or confused while reading the series, you can always return to this page for reference. If you are ready, let's get the technical jargon out of the way and gear up for training!

1. Training and Data Dynamics

  • Epoch: A complete pass of the entire training dataset through the model.

  • Batch / Batch Size: The number of images processed simultaneously before a single update to the model's weights.

  • Learning Rate: A coefficient that determines how much the model's weights are adjusted during each update.

  • Warmup: A short period at the beginning of training where the learning rate is gradually increased from a low value to the target value.

  • Loss: A numerical value representing the difference between the model's predictions and the ground truth labels; training progresses by minimizing this value.

  • Augmentation (Data Augmentation): The technique of artificially increasing data diversity by applying controlled transformations to the training images.

  • Transfer Learning: A method of continuing training for a new task by starting with the weights of a model pre-trained on another dataset.

  • Data Leakage: A situation where information from the training data leaks—directly or indirectly—into the validation or test data, causing the results to appear better than they actually are.

  • K-Fold (Cross-Validation): A cross-validation method where the dataset is divided into K subsets (folds), and each time, a different fold is used as the validation data.

  • Seed (Random Seed): An initial value that ensures random operations, such as weight initialization and data shuffling, are reproducible.

2. Measuring Model Performance (Metrics)

  • IoU (Intersection over Union): A ratio measuring the degree of overlap between the predicted and the ground truth bounding box; it is used to determine whether a prediction is considered correct.

  • mAP (Mean Average Precision): The average detection performance calculated across all classes; it can be calculated at different intersection thresholds, such as mAP50 and mAP50-95.

  • Precision: The ratio indicating how many of the predictions the model flagged as objects are actually correct.

  • Recall: The ratio indicating how many of the actual objects in the image the model successfully detected.

  • F1 Score: A metric that combines precision and recall into a single number, reflecting the balance between the two.

  • Confusion Matrix: A table showing which classes the model confuses with which other classes.

  • Confidence Threshold: The minimum confidence score required for the model to consider a prediction valid.

  • NMS (Non-Maximum Suppression): A post-processing step that filters out multiple overlapping prediction boxes for the same object, keeping only the one with the highest confidence score.

3. Network Architecture and Learning Processes

  • Backbone: The section of the neural network that forms the main body of the model, extracting basic visual features from the image.

  • Anchor-free: A model approach that detects objects directly without needing predefined, fixed bounding box templates (anchors).

  • Overfitting: A scenario where the model memorizes the training data and performs worse than expected on unseen data.

  • Underfitting: A scenario where the model fails to perform adequately, even on the training data.

  • Hyperparameter: Configuration values set before training begins that are not learned from the data; learning rate and batch size are examples.

  • HPO (Hyperparameter Optimization): The systematic search process conducted to find the best possible hyperparameter combination.

  • Early Stopping: A technique that automatically halts training when validation performance hasn't improved for a specified period.

  • Baseline: The initial, reliable training result created with standard settings, against which all subsequent experiments will be compared.

4. Hardware and Deployment

  • VRAM (Video RAM): The memory on the graphics card where the model and batches of data are stored during training.

  • Checkpoint: A file containing the model's weights, saved at specific intervals or at the point of best performance during training.

  • FPS (Frames Per Second): The number of image frames the model can process in one second; used as a speed indicator in real-time systems.

  • Latency: The time elapsed from when an image enters the system to when the detection result is obtained.

  • Quantization: Representing model weights and calculations with fewer bits; it reduces the model size and accelerates inference speed, though it may cause a slight drop in accuracy.

  • FP16 / INT8: Formats indicating how numbers are stored in memory; FP16 is a 16-bit floating-point, and INT8 is an 8-bit integer representation. Both are used to speed up operations.

  • ONNX (Open Neural Network Exchange): An open format that allows models trained in different deep learning frameworks to be shared and run across various platforms.

  • TensorRT: A hardware-specific acceleration library used to speed up model inference on NVIDIA graphics cards and edge devices.

  • Edge Device: Typically a device with limited processing power where the model runs in real-time in the field, without needing a continuous connection to a cloud server.

What's Next? You now speak the language of the object detection world! With these concepts in our toolkit, it's time to get our hands dirty. You can now move on to Part 1: Pre-Training Preparation, where we will analyze our dataset, get to know our hardware, and choose our model.