Files
Marker_segmentation/Marker_Segmentation_Training.ipynb
T
2026-11-02 15:27:47 +05:30

160 KiB

Marker Segmentation - YOLO Training (Simple Version)

This notebook trains a YOLO segmentation model to detect and outline one object: Marker.

Your dataset is already split into train, valid, and test folders, with polygon-format labels (not boxes), so this notebook does NOT re-split, re-annotate, or convert anything. It just:

  1. Installs the tools we need
  2. Connects to Google Drive and unzips your dataset
  3. Points YOLO at your train/valid/test folders
  4. Trains a segmentation model (with settings that help avoid overfitting)
  5. Saves the trained model to Google Drive
  6. Checks how good the model is (validation - box AND mask accuracy)
  7. Tests the model on the test images
  8. Saves all results (weights + charts + test predictions) to Google Drive

You only need to do ONE manual thing: approve the Google Drive popup when it appears. Every other cell runs by itself.

Before running: In the menu above, go to Runtime → Change runtime type → GPU. This makes training much faster.

Note: your label .txt files must contain polygon points (class_id x1 y1 x2 y2 ... xn yn), not bounding boxes (class_id x_center y_center width height). If they're still boxes, this notebook will run but will train a box-only model, not a segmentation model.

Step 1: Install the tools we need

In [ ]:
# "ultralytics" gives us the YOLO model.
# "opencv-python-headless" lets us read and process images.
!pip install -q -U ultralytics opencv-python-headless

# Basic tools for working with files and folders.
import os
import glob
import shutil
import zipfile
from pathlib import Path

# Tools for reading images and showing pictures on screen.
import cv2
import matplotlib.pyplot as plt

# The YOLO model itself.
from ultralytics import YOLO

# Check that a GPU is connected. Training needs a GPU to be fast.
!nvidia-smi --query-gpu=name,memory.total --format=csv
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.7/46.7 kB 1.4 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 20.7 MB/s eta 0:00:00
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.0/88.0 kB 4.3 MB/s eta 0:00:00
[?25hCreating new Ultralytics Settings v0.0.8 file ✅ 
View Ultralytics Settings with 'yolo settings' or at '/root/.config/Ultralytics/settings.json'
Update Settings with 'yolo settings key=value', i.e. 'yolo settings runs_dir=path/to/dir'. For help see https://docs.ultralytics.com/usage/settings.
name, memory.total [MiB]
Tesla T4, 15360 MiB

Step 2: Connect Google Drive and unzip the dataset

This is the only step that needs you to click something (the Drive permission popup). Everything after this runs on its own.

In [ ]:
# Connect to Google Drive. A popup will ask you to allow access - click Allow.
from google.colab import drive
drive.mount('/content/drive')

# ======================================================
# EDIT THIS LINE ONLY: path to your polygon-format dataset zip file in Drive.
# ======================================================
DATASET_ZIP = "/content/drive/MyDrive/marker_seg_dataset.zip"

# Folder where we will unzip the dataset.
RAW_ROOT = "/content/dataset"
os.makedirs(RAW_ROOT, exist_ok=True)

# Unzip the dataset into RAW_ROOT.
with zipfile.ZipFile(DATASET_ZIP, 'r') as zf:
    zf.extractall(RAW_ROOT)

# Show the folders inside, so we can confirm train/valid/test are there.
print("Dataset folders found:")
!find "$RAW_ROOT" -maxdepth 3 -type d
Mounted at /content/drive
Dataset folders found:
/content/dataset
/content/dataset/train
/content/dataset/train/images
/content/dataset/train/labels
/content/dataset/valid
/content/dataset/valid/images
/content/dataset/valid/labels
/content/dataset/test
/content/dataset/test/images
/content/dataset/test/labels

Step 3: Tell YOLO where the data is (data.yaml)

Your dataset already has train, valid, and test folders, each with images and labels inside (the labels files contain polygon points, not boxes). This cell just writes a small config file that points YOLO to those folders and tells it there is only 1 class: Marker.

If your folder names are different, edit TRAIN_DIR, VALID_DIR, and TEST_DIR below.

In [ ]:
# Names of your split folders inside the unzipped dataset.
# EDIT THESE if your folders are named differently.
TRAIN_DIR = "train"
VALID_DIR = "valid"
TEST_DIR = "test"

CLASS_NAMES = ["Marker"]   # only one class

# Write the data.yaml file that YOLO reads during training.
data_yaml = f"""
path: {RAW_ROOT}
train: {TRAIN_DIR}/images
val: {VALID_DIR}/images
test: {TEST_DIR}/images

names:
  0: Marker
"""

DATA_YAML_PATH = f"{RAW_ROOT}/data.yaml"
with open(DATA_YAML_PATH, "w") as f:
    f.write(data_yaml)

print("data.yaml created:")
print(data_yaml)

# Quick sanity check: a segmentation label line should have MANY numbers
# after the class id (polygon points), not exactly 4 (a box).
sample_label_files = glob.glob(f"{RAW_ROOT}/{TRAIN_DIR}/labels/*.txt")
if sample_label_files:
    with open(sample_label_files[0]) as f:
        first_line = f.readline().split()
    num_values = len(first_line) - 1  # minus the class id
    if num_values <= 5:
        print(f"\nWARNING: '{sample_label_files[0]}' looks like BOX format "
              f"({num_values} values after class id). Segmentation labels need "
              "many more values (polygon points). Double-check your export format.")
    else:
        print(f"\nLooks good: '{sample_label_files[0]}' has {num_values} polygon "
              "values after the class id.")
else:
    print("\nWARNING: no label files found to check - verify your dataset path/structure.")
data.yaml created:

path: /content/dataset
train: train/images
val: valid/images
test: test/images

names:
  0: Marker


Looks good: '/content/dataset/train/labels/marker_202071_jpg.rf.7dfb7815fe0d73e13eccbb96eff895fc.txt' has 22 polygon values after the class id.

Step 4: Train the YOLO segmentation model

A few settings here are chosen on purpose to stop the model from overfitting (memorizing the training images instead of learning the general shape of the marker):

  • MODEL_SIZE = "s" (small model) - a smaller model is less likely to memorize a small dataset.
  • -seg checkpoint - this is a segmentation-specific pretrained model, not a plain detector.
  • patience=30 - training stops early if it stops improving, instead of training forever.
  • single_cls=True - tells YOLO this is a one-class problem.
  • Built-in augmentation (small rotations, flips, brightness changes, etc.) - shows the model slightly different versions of each image every epoch, so it can't just memorize the exact pixels.

This step can take a while depending on your dataset size and Colab GPU.

In [ ]:
MODEL_SIZE = "s"   # "n" = fastest/smallest, "s" = small, "m" = medium (more accurate but more likely to overfit on small data)
EPOCHS = 150       # maximum number of training rounds (early stopping usually stops before this)
IMG_SIZE = 640     # image size used for training
BATCH = 16         # how many images are processed at once

# Load a YOLO SEGMENTATION model that is already pre-trained on general objects.
# We will fine-tune it to recognize and outline our "Marker" class.
model = YOLO(f"yolo26{MODEL_SIZE}-seg.pt")

# Start training.
results = model.train(
    data=DATA_YAML_PATH,
    epochs=EPOCHS,
    imgsz=IMG_SIZE,
    batch=BATCH,
    patience=30,          # stop early if no improvement for 30 rounds (helps avoid overfitting)
    project="/content/runs",
    name="marker_seg",
    exist_ok=True,
    seed=42,              # keeps results repeatable
    single_cls=True,      # one class only
    optimizer="AdamW",
    lr0=0.001,            # starting learning rate
    lrf=0.01,             # final learning rate (as a fraction of the start)
    cos_lr=True,          # smoothly lowers the learning rate over time
    weight_decay=0.0005,  # helps prevent overfitting
    # --- Built-in image augmentation (small random changes every epoch) ---
    hsv_h=0.015, hsv_s=0.7, hsv_v=0.4,  # slight color/brightness changes
    degrees=10.0,      # small random rotation
    translate=0.1,     # small random shift
    scale=0.5,         # small random zoom
    fliplr=0.5,        # 50% chance of a horizontal flip
    mosaic=1.0,        # combines multiple images together during training
    close_mosaic=15,   # turns that off for the last 15 rounds, for cleaner fine-tuning
    plots=True,        # saves training charts so we can check for overfitting
    val=True,          # checks performance on the validation set every round
    cache=True,        # keeps images in memory for faster training
)

# Path to the best version of the model found during training.
BEST_WEIGHTS = str(Path(results.save_dir) / "weights" / "best.pt")
print(f"Training done. Best model saved at: {BEST_WEIGHTS}")
Downloading https://github.com/ultralytics/assets/releases/download/v8.4.0/yolo26s-seg.pt to 'yolo26s-seg.pt': 100% ━━━━━━━━━━━━ 22.4MB 151.6MB/s 0.1s
Ultralytics 8.4.157 🚀 Python-3.13.15 torch-2.11.0+cu128 CUDA:0 (Tesla T4, 14913MiB)
engine/trainer: agnostic_nms=False, amp=True, angle=1.0, augment=False, auto_augment=randaugment, batch=16, bgr=0.0, box=7.5, cache=True, cfg=None, channels_last=None, classes=None, close_mosaic=15, cls=0.5, cls_pw=0.0, cls_remap=True, compile=False, conf=None, copy_paste=0.0, copy_paste_mode=flip, cos_lr=True, cutmix=0.0, data=/content/dataset/data.yaml, degrees=10.0, deterministic=True, device=, dfl=1.5, dgrad=0.5, dis=6.0, distill_model=None, dlam=1.0, dlog=1.0, dnn=False, dropout=0.0, dynamic=False, embed=None, epochs=150, erasing=0.4, exist_ok=True, fliplr=0.5, flipud=0.0, format=torchscript, fraction=1.0, freeze=None, hsv_h=0.015, hsv_s=0.7, hsv_v=0.4, imgsz=640, iou=0.7, keras=False, kobj=1.0, line_width=None, lr0=0.001, lrf=0.01, mask_ratio=4, max_det=300, mixup=0.0, mode=train, model=yolo26s-seg.pt, momentum=0.937, mosaic=1.0, multi_scale=0.0, name=marker_seg, nbs=64, nms=None, opset=None, optimize=False, optimizer=AdamW, overlap_mask=True, patience=30, perspective=0.0, plots=True, pose=12.0, pretrained=True, profile=False, project=/content/runs, quantize=None, rect=False, resume=False, retina_masks=False, rle=1.0, save=True, save_conf=False, save_crop=False, save_dir=/content/runs/marker_seg, save_frames=False, save_json=False, save_period=-1, save_txt=False, scale=0.5, seed=42, shear=0.0, show=False, show_boxes=True, show_conf=True, show_labels=True, simplify=True, single_cls=True, source=None, split=val, stream_buffer=False, task=segment, time=None, tracker=tracktrack.yaml, translate=0.1, val=True, verbose=True, vid_stride=1, visualize=False, warmup_bias_lr=0.1, warmup_epochs=3.0, warmup_momentum=0.8, weight_decay=0.0005, workers=8, workspace=None
Downloading https://ultralytics.com/assets/Arial.ttf to '/root/.config/Ultralytics/Arial.ttf': 100% ━━━━━━━━━━━━ 755.1KB 15.6MB/s 0.0s
Overriding class names with single class.
Overriding model.yaml nc=80 with nc=1

                   from  n    params  module                                       arguments                     
  0                  -1  1       928  ultralytics.nn.modules.conv.Conv             [3, 32, 3, 2]                 
  1                  -1  1     18560  ultralytics.nn.modules.conv.Conv             [32, 64, 3, 2]                
  2                  -1  1     26080  ultralytics.nn.modules.block.C3k2            [64, 128, 1, False, 0.25]     
  3                  -1  1    147712  ultralytics.nn.modules.conv.Conv             [128, 128, 3, 2]              
  4                  -1  1    103360  ultralytics.nn.modules.block.C3k2            [128, 256, 1, False, 0.25]    
  5                  -1  1    590336  ultralytics.nn.modules.conv.Conv             [256, 256, 3, 2]              
  6                  -1  1    346112  ultralytics.nn.modules.block.C3k2            [256, 256, 1, True]           
  7                  -1  1   1180672  ultralytics.nn.modules.conv.Conv             [256, 512, 3, 2]              
  8                  -1  1   1380352  ultralytics.nn.modules.block.C3k2            [512, 512, 1, True]           
  9                  -1  1    656896  ultralytics.nn.modules.block.SPPF            [512, 512, 5, 3, True]        
 10                  -1  1    990976  ultralytics.nn.modules.block.C2PSA           [512, 512, 1]                 
 11                  -1  1         0  torch.nn.modules.upsampling.Upsample         [None, 2, 'nearest']          
 12             [-1, 6]  1         0  ultralytics.nn.modules.conv.Concat           [1]                           
 13                  -1  1    477184  ultralytics.nn.modules.block.C3k2            [768, 256, 1, True]           
 14                  -1  1         0  torch.nn.modules.upsampling.Upsample         [None, 2, 'nearest']          
 15             [-1, 4]  1         0  ultralytics.nn.modules.conv.Concat           [1]                           
 16                  -1  1    136192  ultralytics.nn.modules.block.C3k2            [512, 128, 1, True]           
 17                  -1  1    147712  ultralytics.nn.modules.conv.Conv             [128, 128, 3, 2]              
 18            [-1, 13]  1         0  ultralytics.nn.modules.conv.Concat           [1]                           
 19                  -1  1    378880  ultralytics.nn.modules.block.C3k2            [384, 256, 1, True]           
 20                  -1  1    590336  ultralytics.nn.modules.conv.Conv             [256, 256, 3, 2]              
 21            [-1, 10]  1         0  ultralytics.nn.modules.conv.Concat           [1]                           
 22                  -1  1   1843712  ultralytics.nn.modules.block.C3k2            [768, 512, 1, True, 0.5, True]
 23        [16, 19, 22]  1   2418463  ultralytics.nn.modules.head.Segment26        [1, 32, 128, 1, True, [128, 256, 512]]
YOLO26s-seg summary: 309 layers, 11,434,463 parameters, 11,434,463 gradients, 37.3 GFLOPs

Transferred 830/844 items from pretrained weights
AMP: running Automatic Mixed Precision (AMP) checks...
AMP: downloading yolo26n.pt for AMP checks (one-time, not used for training)...
Downloading https://github.com/ultralytics/assets/releases/download/v8.4.0/yolo26n.pt to 'weights/yolo26n.pt': 100% ━━━━━━━━━━━━ 5.3MB 68.9MB/s 0.1s
AMP: checks passed ✅
train: Fast image access ✅ (ping: 0.0±0.0 ms, read: 633.9±278.2 MB/s, size: 25.5 KB)
train: Scanning /content/dataset/train/labels... 1637 images, 72 backgrounds, 0 corrupt: 100% ━━━━━━━━━━━━ 1637/1637 1.5Kit/s 1.1s
train: New cache created: /content/dataset/train/labels.cache
WARNING ⚠️ cache='ram' may produce non-deterministic training results. Consider cache='disk' as a deterministic alternative if your disk space allows.
train: Caching images (1.9GB RAM): 100% ━━━━━━━━━━━━ 1637/1637 364.0it/s 4.5s
albumentations: Blur(p=0.01, blur_limit=(3, 7)), MedianBlur(p=0.01, blur_limit=(3, 7)), ToGray(p=0.01, method='weighted_average', num_output_channels=3), CLAHE(p=0.01, clip_limit=(1.0, 4.0), tile_grid_size=(8, 8))
val: Fast image access ✅ (ping: 0.0±0.0 ms, read: 286.5±112.4 MB/s, size: 16.5 KB)
val: Scanning /content/dataset/valid/labels... 156 images, 14 backgrounds, 0 corrupt: 100% ━━━━━━━━━━━━ 156/156 1.1Kit/s 0.1s
val: New cache created: /content/dataset/valid/labels.cache
WARNING ⚠️ cache='ram' may produce non-deterministic training results. Consider cache='disk' as a deterministic alternative if your disk space allows.
val: Caching images (0.2GB RAM): 100% ━━━━━━━━━━━━ 156/156 132.6it/s 1.2s
optimizer: AdamW(lr=0.001, momentum=0.937) with parameter groups 134 weight(decay=0.0), 154 weight(decay=0.0005), 154 bias(decay=0.0)
Plotting labels to /content/runs/marker_seg/labels.jpg... 
Using 1637 train, 156 val images for fraction=1.0 at imgsz=640
Using 2 dataloader workers
Logging results to /content/runs/marker_seg
Starting training for 150 epochs...

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
      1/150      5.72G      1.086      1.458      2.276   0.009927      2.747         10        640: 100% ━━━━━━━━━━━━ 103/103 1.5it/s 1:10
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2s/it 11.2s
                   all        156        188      0.838      0.622       0.74      0.496       0.78      0.521      0.635      0.366

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
      2/150       6.8G      1.134      1.276      1.136    0.01099      1.209         10        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.1it/s 2.4s
                   all        156        188      0.731      0.782      0.802      0.584      0.726      0.777      0.785      0.578

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
      3/150       6.8G      1.105       1.19      1.004     0.0108        1.1          7        640: 100% ━━━━━━━━━━━━ 103/103 2.0it/s 50.3s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.6it/s 3.1s
                   all        156        188       0.81      0.766      0.815      0.592      0.832      0.729      0.806      0.605

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
      4/150      6.83G      1.144      1.208      1.055    0.01112      1.095         10        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 50.1s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.1it/s 2.4s
                   all        156        188       0.84       0.84      0.882      0.635      0.861      0.857      0.892      0.662

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
      5/150      6.83G      1.093      1.173      1.005    0.01053      1.027         16        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.9s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.5it/s 3.2s
                   all        156        188      0.766      0.707      0.771      0.546       0.78      0.734      0.795      0.563

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
      6/150      6.83G      1.072      1.219     0.9578   0.009873      1.024         19        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.4s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.799       0.83      0.852       0.65      0.809       0.84      0.861      0.662

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
      7/150      6.83G      1.042      1.116     0.9073   0.009678     0.8797         12        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.6s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.847      0.822      0.873      0.692      0.867      0.798      0.862      0.648

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
      8/150      6.83G      1.006      1.095      0.877   0.009067     0.9264         15        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.4s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.801      0.846      0.882      0.663      0.806      0.851      0.883      0.688

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
      9/150      6.83G     0.9957      1.073     0.8233   0.008964     0.7975         10        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.3s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.6it/s 3.1s
                   all        156        188      0.881      0.702      0.833      0.609      0.919      0.722      0.848      0.631

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     10/150      6.84G       1.01      1.067     0.8256   0.009728     0.8249         15        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.3s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.9it/s 2.6s
                   all        156        188      0.884      0.768      0.887      0.701      0.896      0.779      0.908      0.701

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     11/150      6.84G     0.9536      1.026     0.7704   0.008817     0.8009          8        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.6s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.5it/s 3.4s
                   all        156        188      0.858      0.865       0.91      0.731      0.863       0.87      0.916      0.731

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     12/150      6.84G     0.9601      1.047     0.7665   0.009059     0.7861          9        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 50.0s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.845      0.846      0.903      0.711      0.859      0.851      0.899      0.701

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     13/150      6.84G     0.9339      1.045     0.7738   0.008731     0.7669          7        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.7s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.1it/s 2.4s
                   all        156        188      0.876      0.814      0.904      0.703      0.871      0.809      0.895      0.707

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     14/150      6.84G     0.9226      1.011     0.7718   0.008412      0.746         19        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.2s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.818      0.846      0.898      0.742      0.834      0.862      0.907      0.732

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     15/150      6.84G       0.92     0.9859     0.7287   0.007949     0.6953         16        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.6s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.828      0.867      0.879      0.709      0.827      0.883      0.889      0.698

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     16/150      6.84G     0.9114      1.003     0.7186   0.008301     0.7077         12        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.6s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.7it/s 3.0s
                   all        156        188        0.9      0.862      0.926      0.755      0.906      0.867      0.932      0.739

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     17/150      6.84G     0.8783     0.9284     0.6557   0.007641     0.6294          9        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.865      0.867      0.923      0.744      0.881      0.867      0.933      0.739

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     18/150      6.84G     0.8578     0.9274     0.6539    0.00775     0.6975          7        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.0s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.838      0.937      0.915      0.726      0.848      0.947      0.934      0.713

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     19/150      6.84G     0.8953     0.9506     0.6869   0.008038     0.6713         10        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.5s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.7it/s 3.0s
                   all        156        188       0.89      0.858      0.915      0.739       0.89      0.858      0.915      0.718

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     20/150      6.84G     0.9154     0.9748      0.724   0.008048     0.6906          8        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188      0.917      0.877       0.93       0.77      0.911      0.872      0.926      0.759

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     21/150      6.84G     0.8638     0.9118     0.6605    0.00769     0.6513          9        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.2s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.0it/s 2.5s
                   all        156        188      0.922      0.851       0.94      0.797      0.928      0.856      0.946      0.778

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     22/150      6.84G     0.8472     0.8961     0.6247   0.007427     0.6197         14        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.3s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.892      0.888       0.94      0.773      0.892      0.888      0.943      0.748

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     23/150      6.84G     0.8748     0.9383     0.6784   0.008056     0.6553         12        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.858      0.865      0.899      0.739      0.872      0.888      0.914      0.737

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     24/150      6.84G     0.8402     0.9115     0.6424   0.007344      0.664         12        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.6s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.6it/s 3.1s
                   all        156        188      0.898       0.89      0.912      0.751      0.909      0.901      0.914      0.735

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     25/150      6.84G     0.8435     0.8889     0.6157    0.00739     0.5992         11        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.2s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.881      0.909      0.936       0.77      0.886      0.914      0.946      0.776

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     26/150      6.84G     0.8392     0.9069      0.664    0.00731     0.6412          9        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.835      0.916       0.92       0.77      0.815      0.936      0.921      0.749

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     27/150      6.84G     0.8055      0.877     0.6325   0.006656     0.6444          8        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.5s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.7it/s 3.0s
                   all        156        188      0.836      0.921      0.935      0.789      0.852      0.918      0.938      0.782

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     28/150      6.84G     0.8081     0.9155     0.6152   0.006835     0.6027          7        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.3s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188      0.876      0.938      0.935      0.799      0.881      0.943      0.943      0.771

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     29/150      6.84G     0.8184     0.8897     0.5963   0.006927       0.62         14        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.6s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.1it/s 2.3s
                   all        156        188      0.886      0.899      0.943      0.784      0.903      0.915      0.953      0.772

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     30/150      6.84G     0.8076     0.8807     0.6021   0.006909     0.5744         14        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.6s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.0it/s 2.6s
                   all        156        188        0.9      0.915      0.942       0.81        0.9      0.914      0.941      0.779

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     31/150      6.84G     0.8045     0.8515     0.5724   0.007045     0.5503         12        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.6s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.891      0.904      0.944      0.775      0.886      0.899      0.942       0.77

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     32/150      6.84G     0.7627     0.8206     0.5628   0.006471     0.5527         13        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.6it/s 3.1s
                   all        156        188      0.855      0.931      0.924      0.778      0.864      0.941      0.932      0.751

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     33/150      6.84G     0.7711     0.8596     0.5952   0.006317     0.5684         16        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.2s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.893      0.891      0.926      0.773      0.904      0.902      0.932      0.756

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     34/150      6.84G     0.7844     0.9146     0.6023    0.00659     0.5876          7        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.9s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.856      0.915      0.913      0.786      0.861       0.92      0.922      0.745

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     35/150      6.84G     0.7514      0.828     0.5704   0.006253     0.5546          7        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.7s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.7it/s 2.9s
                   all        156        188      0.905      0.912      0.953      0.815      0.902      0.899      0.952      0.788

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     36/150      6.84G     0.7729      0.827     0.5706   0.006434     0.5208         12        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.4s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188      0.849      0.904      0.921      0.785      0.851      0.904      0.926      0.747

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     37/150      6.84G     0.7762     0.8743     0.5856   0.006663     0.5789         15        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.2s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.901      0.878      0.936      0.801       0.91      0.888      0.951      0.774

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     38/150      6.84G     0.7518     0.8513     0.5715   0.006161     0.5304         14        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.3s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.7it/s 3.0s
                   all        156        188      0.877      0.904       0.94      0.803      0.872      0.899       0.93      0.782

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     39/150      6.84G     0.7363     0.8326     0.5387   0.006162     0.4989         11        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.2s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.893      0.933      0.944      0.815      0.898      0.939      0.949      0.769

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     40/150      6.84G     0.7693     0.8261     0.5675   0.006538     0.5509         13        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.4s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188      0.906      0.931      0.942      0.796      0.917      0.941      0.957      0.772

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     41/150      6.84G     0.7523     0.7952     0.5397   0.006423     0.5009         12        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.7s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.8it/s 2.8s
                   all        156        188      0.913      0.931      0.953      0.821      0.907      0.926      0.946       0.81

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     42/150      6.84G     0.7555     0.8068     0.5415   0.006011     0.4933          8        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.5s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188       0.93      0.936      0.946      0.801      0.905      0.959      0.954      0.792

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     43/150      6.84G     0.7244     0.8341     0.5161   0.006263     0.4886          6        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.6s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.1it/s 2.4s
                   all        156        188      0.906      0.924      0.943      0.824      0.894      0.943      0.951      0.797

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     44/150      6.84G     0.7279      0.823     0.5346   0.006065     0.4846         11        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.6s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.0it/s 2.5s
                   all        156        188      0.921      0.935      0.949      0.822      0.927       0.94      0.956      0.796

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     45/150      6.84G     0.7099     0.8135     0.5169   0.006042     0.4887         16        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.7s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.905      0.907       0.95      0.818      0.913       0.92       0.96      0.799

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     46/150      6.84G     0.7213     0.7734     0.5159   0.005792     0.4834         13        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.7s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.1it/s 2.4s
                   all        156        188      0.919       0.92       0.95      0.822      0.925      0.924      0.958      0.791

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     47/150      6.84G     0.7216     0.8276     0.5031   0.005705     0.4919         13        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.7s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188      0.902      0.936      0.947      0.822      0.896      0.965      0.965      0.822

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     48/150      6.84G     0.7099     0.7759      0.498   0.005872     0.5016         11        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.3s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188      0.886      0.957      0.948      0.831      0.895      0.968      0.963      0.815

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     49/150      6.84G     0.7124     0.7997     0.5049   0.005869     0.5181          8        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.0s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.0it/s 2.6s
                   all        156        188      0.906      0.952      0.954      0.824      0.917      0.963      0.967      0.806

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     50/150      6.84G     0.6932     0.7725     0.5011   0.005713      0.506         15        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.2s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.922      0.937      0.959      0.821      0.927      0.942      0.965      0.798

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     51/150      6.84G     0.6998     0.7998     0.4992   0.005618     0.4932         25        640: 100% ━━━━━━━━━━━━ 103/103 2.0it/s 51.5s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.1it/s 2.4s
                   all        156        188      0.907      0.963      0.954      0.838      0.917      0.973      0.971      0.821

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     52/150      6.84G     0.7061     0.7832     0.4952   0.005672     0.4373          8        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 50.1s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.1it/s 2.3s
                   all        156        188      0.896      0.952      0.949      0.834      0.899      0.948      0.953      0.803

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     53/150      6.84G     0.6912     0.7592     0.4626   0.005614     0.4164         13        640: 100% ━━━━━━━━━━━━ 103/103 2.0it/s 51.7s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.907      0.915      0.957      0.838      0.924      0.931      0.973      0.808

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     54/150      6.84G     0.6884     0.7716     0.4633   0.005507      0.407         14        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.0s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.9it/s 2.6s
                   all        156        188      0.918       0.95      0.963      0.855      0.941      0.928      0.964      0.817

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     55/150      6.84G     0.7005      0.767     0.4957   0.005656     0.4576         10        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.0s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.905      0.931      0.947      0.834       0.91      0.936      0.957      0.797

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     56/150      6.84G     0.6638     0.7344     0.4323   0.005242     0.3998          9        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.0s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.1it/s 2.4s
                   all        156        188      0.894      0.944      0.948      0.838      0.899      0.949      0.952        0.8

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     57/150      6.84G     0.6874     0.7902     0.4634   0.005281     0.4994          9        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.7s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.926       0.92      0.952      0.834      0.937      0.931      0.967      0.815

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     58/150      6.84G     0.6859     0.7818     0.4836   0.005458     0.4497         10        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.6s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.899      0.948      0.949      0.846      0.909      0.958      0.951      0.811

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     59/150      6.84G     0.6725     0.7341     0.4497   0.005168     0.3976          6        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.9s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.907      0.963      0.962      0.857      0.912      0.968      0.966      0.835

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     60/150      6.84G     0.6829     0.7733      0.462   0.005506       0.43          5        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.4s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.1it/s 2.3s
                   all        156        188      0.918      0.956      0.954      0.841      0.937      0.946       0.96       0.82

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     61/150      6.84G      0.648     0.7483      0.433   0.005243     0.4005          8        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 50.2s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.0it/s 2.5s
                   all        156        188      0.912      0.934      0.951      0.845      0.896      0.961      0.953      0.807

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     62/150      6.84G     0.6502     0.7496     0.4387   0.005031     0.4283         12        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.4s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.932      0.936       0.96      0.852      0.923      0.963      0.967      0.811

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     63/150      6.84G     0.6539      0.745     0.4455   0.004961     0.4247         30        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.5s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.6it/s 3.2s
                   all        156        188      0.922      0.938      0.949      0.845      0.932      0.948      0.961      0.806

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     64/150      6.84G      0.618     0.7323     0.4164   0.004748     0.3921         15        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.0s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.891      0.953      0.942      0.848      0.896      0.958      0.955      0.807

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     65/150      6.84G     0.6265     0.6686     0.4082   0.004713     0.3949         17        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.3s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.6it/s 3.2s
                   all        156        188      0.918      0.958      0.955       0.87      0.929      0.968      0.972      0.834

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     66/150      6.84G     0.6334     0.7148     0.4189   0.004857     0.3876         16        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.1s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.932      0.949      0.958      0.882      0.943      0.959      0.975      0.834

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     67/150      6.84G     0.6228     0.6741     0.4005    0.00496     0.3392          7        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.1s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.6it/s 3.1s
                   all        156        188      0.895      0.956      0.949      0.863      0.905      0.967      0.971      0.833

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     68/150      6.84G     0.6304     0.7093     0.4266   0.005051      0.383         18        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.3s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.904      0.955       0.95      0.861      0.909      0.961      0.957      0.827

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     69/150      6.84G     0.6104     0.6808     0.3952   0.004855     0.3549         11        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.3s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.6it/s 3.1s
                   all        156        188      0.925      0.916      0.959       0.86      0.941      0.932      0.971      0.823

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     70/150      6.84G     0.5994     0.6855     0.3956    0.00452      0.364          8        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.933      0.947      0.969      0.874      0.944      0.957      0.983      0.842

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     71/150      6.84G     0.5832     0.6725     0.4084    0.00443     0.3801          6        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.9s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.9it/s 2.6s
                   all        156        188      0.919      0.963      0.958      0.853      0.924      0.968      0.965      0.826

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     72/150      6.84G        0.6     0.7145     0.4067   0.004485     0.3876         16        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.3s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.906       0.97      0.969      0.871      0.911      0.975      0.975      0.836

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     73/150      6.84G     0.5994     0.6725     0.3868     0.0048     0.3451         12        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.1s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.1it/s 2.4s
                   all        156        188      0.926      0.952      0.959      0.855      0.937      0.963      0.967      0.824

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     74/150      6.84G     0.6133     0.6943     0.3937   0.004509     0.3811         10        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 50.0s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.1it/s 2.3s
                   all        156        188      0.936      0.935      0.967      0.865      0.941      0.941      0.968      0.833

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     75/150      6.84G     0.5878     0.6849     0.3695   0.004285     0.3591          9        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.6s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.918      0.979       0.96      0.873      0.923      0.984      0.973       0.84

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     76/150      6.84G     0.5894      0.694     0.3854   0.004537     0.3525         13        640: 100% ━━━━━━━━━━━━ 103/103 2.0it/s 50.4s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.914      0.957      0.972       0.87      0.919      0.963      0.976      0.845

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     77/150      6.84G     0.5852     0.6743      0.368   0.004218     0.3173         17        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188       0.96      0.941      0.975      0.888      0.962      0.957      0.978      0.852

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     78/150      6.84G     0.5594      0.639     0.3524   0.004299     0.3307         17        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.6s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.927      0.949      0.962       0.88      0.932      0.954      0.972      0.844

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     79/150      6.84G     0.5707     0.6582     0.3676   0.004074     0.3399         11        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.2s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.5it/s 3.3s
                   all        156        188      0.916      0.941      0.959      0.878      0.921      0.947      0.968      0.823

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     80/150      6.84G     0.5696     0.6633     0.3731    0.00434     0.3483          8        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.922      0.938       0.96      0.889      0.932      0.948      0.973      0.846

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     81/150      6.84G     0.5708     0.6675     0.3644   0.004143     0.3168         16        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.6it/s 3.1s
                   all        156        188      0.919      0.966      0.962      0.883      0.924      0.971      0.971      0.838

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     82/150      6.84G     0.5653     0.6708     0.3433   0.004096     0.3329         11        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.7s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188       0.92      0.957      0.956      0.878      0.929      0.974      0.973      0.836

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     83/150      6.84G     0.5531     0.6501     0.3476   0.004141       0.33         20        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.9it/s 2.7s
                   all        156        188      0.928      0.963      0.963      0.889      0.938      0.973      0.978      0.855

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     84/150      6.84G     0.5325     0.6664     0.3277   0.003895      0.312         16        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.7s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.9it/s 2.6s
                   all        156        188      0.904      0.973      0.961      0.883      0.919      0.989      0.975      0.841

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     85/150      6.84G       0.55     0.6312     0.3413   0.004083     0.3115         12        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.4s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.915      0.977      0.965      0.898      0.925      0.988      0.979      0.847

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     86/150      6.84G     0.5493     0.6448     0.3442   0.004028     0.2986          5        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.1s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.904      0.973      0.962      0.886      0.909      0.979      0.975      0.844

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     87/150      6.84G      0.532     0.6541     0.3306   0.004009     0.2939          7        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.6s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.1it/s 2.4s
                   all        156        188      0.928      0.958      0.969      0.896      0.923      0.984       0.98      0.849

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     88/150      6.84G     0.5487     0.6396     0.3418   0.003943     0.3129          6        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.6it/s 3.1s
                   all        156        188      0.902      0.968       0.96      0.891      0.942      0.941      0.969      0.842

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     89/150      6.84G     0.5311     0.6251     0.3263   0.003857     0.3168         10        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.7s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.923      0.973      0.973      0.902      0.923      0.973      0.973      0.851

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     90/150      6.84G     0.5345     0.6517     0.3398     0.0039      0.319          9        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.9s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.924      0.973       0.97      0.889      0.929      0.979      0.978      0.847

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     91/150      6.84G     0.5342     0.6487     0.3342   0.003717     0.2974         15        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.7s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.6it/s 3.0s
                   all        156        188      0.915      0.968      0.967      0.888       0.92      0.973      0.975      0.839

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     92/150      6.84G     0.5319      0.655     0.3431   0.003791     0.3101         16        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.5s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.928      0.957       0.97      0.895      0.938      0.968      0.981      0.854

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     93/150      6.84G     0.5099     0.6389     0.3135   0.003748     0.2798         15        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.0s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.7it/s 2.9s
                   all        156        188      0.924      0.973      0.972      0.886      0.934      0.984      0.978      0.849

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     94/150      6.84G     0.5171      0.636     0.3247   0.003683     0.3035          7        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.7s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.917      0.963      0.963      0.897      0.922      0.968      0.967      0.847

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     95/150      6.84G     0.5218     0.6328     0.3297   0.003831     0.2851          6        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.0s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.6it/s 3.1s
                   all        156        188      0.939      0.941      0.968      0.898      0.941      0.957      0.979       0.85

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     96/150      6.84G      0.512     0.6292     0.3298    0.00358     0.2693         17        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.4s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.928      0.962      0.967      0.896      0.933      0.968      0.978      0.855

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     97/150      6.84G      0.509     0.6123     0.3162   0.003697     0.2833         15        640: 100% ━━━━━━━━━━━━ 103/103 2.0it/s 50.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.929       0.97      0.973      0.899      0.933      0.984      0.978      0.856

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     98/150      6.84G     0.5142     0.6063     0.3219   0.003689      0.283          4        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.7s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.924      0.973      0.969        0.9      0.929      0.979      0.973      0.854

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
     99/150      6.84G     0.5084     0.6238     0.3132   0.003548     0.2687         17        640: 100% ━━━━━━━━━━━━ 103/103 2.0it/s 50.5s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.9it/s 2.6s
                   all        156        188      0.921      0.957       0.96      0.896      0.937      0.973      0.973      0.857

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    100/150      6.84G     0.4962     0.5999     0.3055   0.003409     0.2891         13        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.9s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.6it/s 3.1s
                   all        156        188      0.909      0.973      0.958      0.887      0.919      0.984       0.97      0.855

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    101/150      6.84G      0.469     0.5655     0.2826    0.00332     0.2734         10        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.0s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.923      0.968      0.962      0.901      0.933      0.979      0.975      0.855

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    102/150      6.84G     0.4883     0.5899     0.2939    0.00343     0.2713         13        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.4s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.1it/s 2.4s
                   all        156        188      0.913      0.973       0.96      0.893      0.923      0.984      0.973      0.848

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    103/150      6.84G     0.4971     0.6273     0.3076   0.003403     0.2493         12        640: 100% ━━━━━━━━━━━━ 103/103 2.0it/s 50.6s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.8it/s 2.8s
                   all        156        188       0.92      0.973      0.974      0.902      0.925      0.979      0.978      0.857

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    104/150      6.84G     0.4721      0.595     0.2812    0.00326     0.2595          7        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.2s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.8it/s 2.8s
                   all        156        188      0.933      0.963      0.962      0.898      0.943      0.973      0.974      0.852

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    105/150      6.84G      0.496     0.5826     0.2996   0.003381     0.2704         11        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.5s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.925      0.979      0.966      0.901      0.935      0.989      0.977      0.853

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    106/150      6.84G     0.4766       0.57     0.2825   0.003318     0.2493          9        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 49.3s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.9it/s 2.6s
                   all        156        188      0.937      0.968      0.976      0.896      0.944      0.978      0.979      0.849

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    107/150      6.84G     0.4628     0.5808     0.2848   0.003201     0.2762          5        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.4s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.925      0.979      0.972      0.903       0.93      0.984      0.974      0.855

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    108/150      6.84G     0.4878     0.6088     0.2918   0.003384     0.2857          8        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.3s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.6it/s 3.1s
                   all        156        188      0.915      0.967      0.963      0.899       0.93      0.983      0.977      0.852

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    109/150      6.84G     0.4686     0.5866     0.2853   0.003212     0.2759         12        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188      0.919      0.972      0.972      0.897       0.93      0.983      0.976      0.858

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    110/150      6.84G     0.4838     0.5994     0.3036   0.003337     0.2556          9        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.4s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.7it/s 2.9s
                   all        156        188       0.91      0.969      0.964      0.902      0.929      0.982      0.979      0.862

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    111/150      6.84G     0.4723     0.5843     0.2853   0.003142     0.2494         10        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.6s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188      0.915      0.973      0.964      0.908      0.925      0.983      0.977       0.86

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    112/150      6.84G     0.4568     0.5844     0.2666   0.003056     0.2253          6        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 46.9s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.914      0.967      0.963      0.899       0.93      0.983      0.976      0.854

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    113/150      6.84G     0.4489     0.5582     0.2647   0.003066     0.2442          8        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.2s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.0it/s 2.5s
                   all        156        188      0.914       0.96      0.963      0.898      0.929      0.976      0.976      0.854

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    114/150      6.84G     0.4636     0.5857     0.2763   0.003096     0.2535         15        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.1s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188      0.914      0.973      0.974      0.902      0.925      0.982      0.978      0.858

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    115/150      6.84G     0.4464     0.5608     0.2636   0.003084     0.2024         24        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.1s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.914      0.968      0.963      0.897      0.929      0.984      0.978      0.857

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    116/150      6.84G     0.4536     0.5576     0.2601   0.003131     0.2288          9        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.4s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188      0.943      0.963      0.966      0.901      0.937      0.984      0.979      0.855

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    117/150      6.84G     0.4506     0.5569     0.2806   0.003085     0.2322         10        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.2s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188      0.924      0.979       0.97      0.901      0.929      0.984      0.978      0.859

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    118/150      6.84G     0.4477     0.5562     0.2696   0.003095     0.2155         12        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.2s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.7it/s 2.9s
                   all        156        188      0.919      0.973      0.964      0.901      0.929      0.984      0.976      0.856

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    119/150      6.84G     0.4432     0.5597     0.2657   0.002923      0.242          8        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.5s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.935      0.968      0.971        0.9       0.94      0.973      0.979      0.865

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    120/150      6.84G     0.4569     0.5618     0.2625   0.003015     0.2571         13        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.2s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.8it/s 2.7s
                   all        156        188      0.942      0.958      0.974      0.908      0.948      0.963      0.979      0.866

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    121/150      6.84G     0.4377     0.5581     0.2584    0.00299     0.2197          7        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.7s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.0it/s 2.5s
                   all        156        188      0.948      0.962      0.976      0.904      0.953      0.968      0.981      0.861

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    122/150      6.84G     0.4455     0.5935     0.2557   0.002845     0.2208         17        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.5s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.942      0.968      0.971      0.911      0.947      0.973      0.981      0.868

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    123/150      6.84G     0.4433     0.5642     0.2592   0.002918     0.2224         14        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.2s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.5it/s 3.3s
                   all        156        188      0.943      0.965       0.97       0.91      0.948       0.97      0.981      0.864

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    124/150      6.84G     0.4375     0.5699     0.2598   0.002957     0.2358         10        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.4s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188      0.948      0.961      0.974      0.913      0.953      0.966      0.981      0.865

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    125/150      6.84G     0.4383     0.5641     0.2574   0.003014     0.2374         19        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.4s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.1it/s 2.4s
                   all        156        188      0.943      0.963      0.976      0.911      0.948      0.968      0.981      0.871

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    126/150      6.84G     0.4275     0.5357      0.246   0.002934     0.2371          7        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.6s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.943      0.968      0.976      0.913      0.948      0.973       0.98      0.866

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    127/150      6.84G     0.4482     0.5687     0.2616   0.002994     0.2277          9        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.9it/s 2.7s
                   all        156        188      0.939      0.979      0.976      0.911      0.944      0.984       0.98      0.866

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    128/150      6.84G      0.425     0.5505     0.2472   0.002766     0.2261         13        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.4s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.948      0.966      0.975      0.913      0.953      0.971       0.98      0.863

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    129/150      6.84G     0.4325     0.5659     0.2602   0.002918     0.2113          7        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.2s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.6it/s 3.1s
                   all        156        188      0.948      0.978      0.976      0.911      0.954      0.984       0.98      0.862

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    130/150      6.84G     0.4465     0.5675       0.26   0.002893     0.2145         10        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.1s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188      0.953      0.977      0.977      0.911      0.958      0.983       0.98      0.867

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    131/150      6.84G     0.4379     0.5667     0.2506   0.002765     0.2219         14        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.1s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.0it/s 2.4s
                   all        156        188      0.948      0.975      0.977      0.908      0.953       0.98       0.98      0.862

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    132/150      6.84G     0.4238     0.5453     0.2498   0.002685     0.2199         13        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 47.9s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.938      0.973      0.976       0.91      0.944      0.978      0.979      0.865

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    133/150      6.84G     0.4177     0.5462     0.2465   0.002855     0.2325          3        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.2s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.935      0.973      0.976      0.908       0.94      0.979      0.979      0.861

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    134/150      6.84G     0.4197     0.5307     0.2451   0.002814     0.2034         11        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.0s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.8it/s 2.7s
                   all        156        188      0.934      0.973      0.976      0.908       0.94      0.979       0.98      0.864

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    135/150      6.84G     0.4236     0.5487     0.2441   0.002711     0.1921         14        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 47.0s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188      0.944      0.979      0.976      0.909      0.949      0.984       0.98      0.863
Closing dataloader mosaic
albumentations: Blur(p=0.01, blur_limit=(3, 7)), MedianBlur(p=0.01, blur_limit=(3, 7)), ToGray(p=0.01, method='weighted_average', num_output_channels=3), CLAHE(p=0.01, clip_limit=(1.0, 4.0), tile_grid_size=(8, 8))

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    136/150      6.84G     0.3878     0.4765     0.2127   0.004593     0.2081          9        640: 100% ━━━━━━━━━━━━ 103/103 2.1it/s 48.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188      0.914      0.979      0.964      0.904      0.924      0.989      0.976      0.859

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    137/150      6.84G      0.383     0.4598     0.2078   0.004297     0.1917          5        640: 100% ━━━━━━━━━━━━ 103/103 2.3it/s 45.3s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.0it/s 2.5s
                   all        156        188      0.938      0.963      0.974      0.904      0.943      0.968      0.978      0.864

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    138/150      6.84G     0.3821     0.4654     0.2065   0.004397     0.1805          6        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 46.3s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.943      0.968      0.975      0.913      0.948      0.973      0.979      0.864

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    139/150      6.84G     0.3741     0.4685     0.2033   0.004217     0.1848          5        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 46.5s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.946      0.968      0.976      0.911      0.952      0.973      0.979      0.867

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    140/150      6.84G     0.3826     0.4779     0.2109   0.004389     0.1949          8        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 46.6s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.7it/s 3.0s
                   all        156        188      0.948      0.968      0.976      0.911      0.953      0.973       0.98      0.866

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    141/150      6.84G     0.3754      0.457     0.2044    0.00422     0.1879          6        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 46.1s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188      0.953      0.965      0.976      0.911      0.958       0.97      0.979      0.865

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    142/150      6.84G     0.3714     0.4719      0.208   0.004199     0.1831          6        640: 100% ━━━━━━━━━━━━ 103/103 2.3it/s 45.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.953      0.963      0.975      0.913      0.958      0.968       0.98      0.863

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    143/150      6.84G     0.3726     0.4721     0.1929   0.004098     0.1799          7        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 46.9s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.6it/s 3.1s
                   all        156        188      0.953      0.964      0.975      0.914      0.958       0.97       0.98      0.862

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    144/150      6.84G     0.3599      0.469     0.1981   0.004178     0.1834          6        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 46.1s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.956      0.968      0.976      0.916      0.961      0.973       0.98      0.862

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    145/150      6.84G     0.3587     0.4649     0.1898   0.003918     0.1777          5        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 46.2s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.3s
                   all        156        188      0.958      0.968      0.975      0.913      0.963      0.973       0.98      0.861

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    146/150      6.84G     0.3593     0.4576     0.1907   0.003835     0.1807          8        640: 100% ━━━━━━━━━━━━ 103/103 2.3it/s 45.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.7it/s 2.9s
                   all        156        188      0.953      0.966      0.975      0.915      0.958      0.971       0.98      0.861

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    147/150      6.84G     0.3681     0.4761     0.1951   0.004174     0.1771          5        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 46.0s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.2it/s 2.2s
                   all        156        188      0.958      0.968      0.976      0.917      0.963      0.973       0.98      0.861

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    148/150      6.84G     0.3672     0.4437     0.1919   0.004061       0.18          4        640: 100% ━━━━━━━━━━━━ 103/103 2.3it/s 45.8s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188      0.956      0.968      0.975      0.917      0.961      0.973       0.98      0.861

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    149/150      6.84G     0.3717     0.4476      0.191   0.004282     0.1742          5        640: 100% ━━━━━━━━━━━━ 103/103 2.3it/s 45.7s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 1.9it/s 2.7s
                   all        156        188      0.957      0.968      0.975      0.916      0.962      0.973      0.979      0.861

      Epoch    GPU_mem   box_loss   seg_loss   cls_loss    l1_loss   sem_loss  Instances       Size
    150/150      6.84G     0.3609     0.4508     0.1793   0.003852      0.171          5        640: 100% ━━━━━━━━━━━━ 103/103 2.2it/s 46.0s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.3it/s 2.2s
                   all        156        188      0.957      0.968      0.976      0.917      0.962      0.973       0.98      0.862

150 epochs completed in 2.203 hours.
Optimizer stripped from /content/runs/marker_seg/weights/last.pt, 23.4MB
Optimizer stripped from /content/runs/marker_seg/weights/best.pt, 23.4MB

Validating /content/runs/marker_seg/weights/best.pt...
Ultralytics 8.4.157 🚀 Python-3.13.15 torch-2.11.0+cu128 CUDA:0 (Tesla T4, 14913MiB)
YOLO26s-seg summary (fused): 136 layers, 10,365,727 parameters, 0 gradients, 34.3 GFLOPs
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 5/5 2.6s/it 12.8s
                   all        156        188      0.948      0.968      0.976       0.91      0.953      0.973      0.981      0.871
Speed: 3.7ms preprocess, 56.7ms inference, 0.0ms loss, 4.2ms postprocess per image
Results saved to /content/runs/marker_seg
Training done. Best model saved at: /content/runs/marker_seg/weights/best.pt

Step 5: Save the trained model to Google Drive

We save it right away, before doing anything else, so the trained model is safe even if a later cell has a problem.

In [ ]:
# Folder in Google Drive where the trained model will be saved.
SAVE_DIR = "/content/drive/MyDrive/marker_seg_weights"
os.makedirs(SAVE_DIR, exist_ok=True)

# Copy the best model file to Google Drive.
shutil.copy(BEST_WEIGHTS, f"{SAVE_DIR}/marker_seg_best.pt")
print(f"Model saved to: {SAVE_DIR}/marker_seg_best.pt")
Model saved to: /content/drive/MyDrive/marker_seg_weights/marker_seg_best.pt

Step 6: Check how good the model is (validation)

This runs the model on the validation images and reports how accurate it is - both for the bounding boxes AND for the pixel masks (segmentation).

In [ ]:
# Load the best trained model.
trained_model = YOLO(BEST_WEIGHTS)

# Run validation and print the results.
metrics = trained_model.val(data=DATA_YAML_PATH, split="val", imgsz=IMG_SIZE, plots=True)

print("--- Box accuracy ---")
print(f"Precision: {metrics.box.mp:.4f}")
print(f"Recall:    {metrics.box.mr:.4f}")
print(f"mAP50:     {metrics.box.map50:.4f}")
print(f"mAP50-95:  {metrics.box.map:.4f}")

print("\n--- Mask (segmentation) accuracy ---")
print(f"Precision: {metrics.seg.mp:.4f}")
print(f"Recall:    {metrics.seg.mr:.4f}")
print(f"mAP50:     {metrics.seg.map50:.4f}")
print(f"mAP50-95:  {metrics.seg.map:.4f}")

# Show the confusion matrix chart, if it was created.
cm_path = Path(metrics.save_dir) / "confusion_matrix_normalized.png"
if cm_path.exists():
    img = plt.imread(str(cm_path))
    plt.figure(figsize=(6, 6))
    plt.imshow(img)
    plt.axis("off")
    plt.title("Confusion Matrix")
    plt.show()
Ultralytics 8.4.157 🚀 Python-3.13.15 torch-2.11.0+cu128 CUDA:0 (Tesla T4, 14913MiB)
YOLO26s-seg summary (fused): 136 layers, 10,365,727 parameters, 0 gradients, 34.3 GFLOPs
WARNING ⚠️ val: Slow image access detected (ping: 0.0±0.0 ms, read: 12.0±2.0 MB/s, size: 10.6 KB). Use local storage instead of remote/mounted storage for better performance. See https://docs.ultralytics.com/guides/model-training-tips
val: Scanning /content/dataset/valid/labels.cache... 156 images, 14 backgrounds, 0 corrupt: 100% ━━━━━━━━━━━━ 156/156 36.4Mit/s 0.0s
                 Class     Images  Instances      Box(P          R      mAP50  mAP50-95)     Mask(P          R      mAP50  mAP50-95): 100% ━━━━━━━━━━━━ 10/10 1.5it/s 6.9s
                   all        156        188      0.943      0.964      0.976      0.912      0.948      0.968      0.981      0.866
Speed: 6.8ms preprocess, 15.5ms inference, 0.0ms loss, 4.7ms postprocess per image
Results saved to /content/runs/segment/val
--- Box accuracy ---
Precision: 0.9428
Recall:    0.9637
mAP50:     0.9756
mAP50-95:  0.9117

--- Mask (segmentation) accuracy ---
Precision: 0.9481
Recall:    0.9681
mAP50:     0.9807
mAP50-95:  0.8665

Step 7: Test the model on the test images

The test images were never used during training, so this shows how the model performs on data it has never seen before. The saved images will show the outlined mask (not just a box) around each detected marker.

In [ ]:
TEST_OUT_DIR = "/content/test_predictions"
os.makedirs(TEST_OUT_DIR, exist_ok=True)

# Find all test images.
IMAGE_EXTENSIONS = {".jpg", ".jpeg", ".png", ".bmp", ".tiff", ".tif", ".webp"}
test_images = [p for p in glob.glob(f"{RAW_ROOT}/{TEST_DIR}/images/*") if Path(p).suffix.lower() in IMAGE_EXTENSIONS]

# Run the model on the test images and save pictures with masks drawn on them.
test_results = trained_model.predict(
    source=test_images,
    conf=0.4,           # only show detections the model is at least 40% sure about
    imgsz=IMG_SIZE,
    save=True,
    project=TEST_OUT_DIR,
    name="run",
    exist_ok=True,
)

print(f"Tested on {len(test_images)} images.")
print(f"Annotated result images saved in: {TEST_OUT_DIR}/run")
0: 640x640 2 items, 13.9ms
1: 640x640 1 item, 13.9ms
2: 640x640 2 items, 13.9ms
3: 640x640 1 item, 13.9ms
4: 640x640 1 item, 13.9ms
5: 640x640 2 items, 13.9ms
6: 640x640 2 items, 13.9ms
7: 640x640 (no detections), 13.9ms
8: 640x640 1 item, 13.9ms
9: 640x640 2 items, 13.9ms
10: 640x640 1 item, 13.9ms
11: 640x640 2 items, 13.9ms
12: 640x640 1 item, 13.9ms
13: 640x640 2 items, 13.9ms
14: 640x640 1 item, 13.9ms
15: 640x640 1 item, 13.9ms
16: 640x640 2 items, 13.9ms
17: 640x640 1 item, 13.9ms
18: 640x640 1 item, 13.9ms
19: 640x640 1 item, 13.9ms
20: 640x640 1 item, 13.9ms
21: 640x640 3 items, 13.9ms
22: 640x640 2 items, 13.9ms
23: 640x640 1 item, 13.9ms
24: 640x640 2 items, 13.9ms
25: 640x640 2 items, 13.9ms
26: 640x640 1 item, 13.9ms
27: 640x640 1 item, 13.9ms
28: 640x640 3 items, 13.9ms
29: 640x640 1 item, 13.9ms
30: 640x640 1 item, 13.9ms
31: 640x640 1 item, 13.9ms
32: 640x640 1 item, 13.9ms
33: 640x640 1 item, 13.9ms
34: 640x640 1 item, 13.9ms
35: 640x640 2 items, 13.9ms
36: 640x640 3 items, 13.9ms
37: 640x640 1 item, 13.9ms
38: 640x640 1 item, 13.9ms
39: 640x640 3 items, 13.9ms
40: 640x640 1 item, 13.9ms
41: 640x640 2 items, 13.9ms
42: 640x640 1 item, 13.9ms
43: 640x640 1 item, 13.9ms
44: 640x640 2 items, 13.9ms
45: 640x640 2 items, 13.9ms
46: 640x640 1 item, 13.9ms
47: 640x640 1 item, 13.9ms
48: 640x640 1 item, 13.9ms
49: 640x640 1 item, 13.9ms
50: 640x640 1 item, 13.9ms
51: 640x640 1 item, 13.9ms
52: 640x640 1 item, 13.9ms
53: 640x640 2 items, 13.9ms
54: 640x640 1 item, 13.9ms
55: 640x640 1 item, 13.9ms
56: 640x640 1 item, 13.9ms
57: 640x640 1 item, 13.9ms
58: 640x640 1 item, 13.9ms
59: 640x640 1 item, 13.9ms
60: 640x640 3 items, 13.9ms
61: 640x640 1 item, 13.9ms
62: 640x640 1 item, 13.9ms
63: 640x640 1 item, 13.9ms
64: 640x640 1 item, 13.9ms
65: 640x640 1 item, 13.9ms
66: 640x640 1 item, 13.9ms
67: 640x640 1 item, 13.9ms
68: 640x640 2 items, 13.9ms
69: 640x640 1 item, 13.9ms
70: 640x640 1 item, 13.9ms
71: 640x640 3 items, 13.9ms
72: 640x640 1 item, 13.9ms
73: 640x640 1 item, 13.9ms
74: 640x640 1 item, 13.9ms
75: 640x640 1 item, 13.9ms
76: 640x640 1 item, 13.9ms
77: 640x640 1 item, 13.9ms
78: 640x640 1 item, 13.9ms
Speed: 2.1ms preprocess, 13.9ms inference, 2.1ms postprocess per image at shape (1, 3, 640, 640)
Results saved to /content/test_predictions/run
Tested on 79 images.
Annotated result images saved in: /content/test_predictions/run

Step 8: Save all results to Google Drive

This zips up the trained model, training charts, and test result images, and saves everything to Drive in one file.

In [ ]:
ARCHIVE_STAGING_DIR = "/content/run_artifacts"
if os.path.exists(ARCHIVE_STAGING_DIR):
    shutil.rmtree(ARCHIVE_STAGING_DIR)
os.makedirs(ARCHIVE_STAGING_DIR)

# Copy the full training folder (model weights + charts).
shutil.copytree(results.save_dir, f"{ARCHIVE_STAGING_DIR}/training_output")

# Copy the test prediction images.
shutil.copytree(f"{TEST_OUT_DIR}/run", f"{ARCHIVE_STAGING_DIR}/test_predictions")

# Zip everything and save it to Google Drive.
ARCHIVE_BASE_NAME = "/content/drive/MyDrive/marker_seg_run_results"
archive_path = shutil.make_archive(base_name=ARCHIVE_BASE_NAME, format="zip", root_dir=ARCHIVE_STAGING_DIR)

print(f"All results saved to: {archive_path}")
All results saved to: /content/drive/MyDrive/marker_seg_run_results.zip

A quick note on overfitting

While training, keep an eye on the numbers printed each epoch:

  • If training accuracy keeps going up but validation accuracy stops improving (or gets worse), that's overfitting.
  • If this happens, the best fix is usually more training images of the marker in different conditions (lighting, angle, background) - and for segmentation specifically, make sure the polygon outlines in your labels are actually tight/accurate, since sloppy mask annotations teach the model the wrong shape.