PoseTrainer
Bases: v8.detect.DetectionTrainer
Source code in ultralytics/yolo/v8/pose/train.py
__init__(cfg=DEFAULT_CFG, overrides=None, _callbacks=None)
Initialize a PoseTrainer object with specified configurations and overrides.
Source code in ultralytics/yolo/v8/pose/train.py
get_model(cfg=None, weights=None, verbose=True)
Get pose estimation model with specified configuration and weights.
Source code in ultralytics/yolo/v8/pose/train.py
get_validator()
Returns an instance of the PoseValidator class for validation.
Source code in ultralytics/yolo/v8/pose/train.py
plot_metrics()
plot_training_samples(batch, ni)
Plot a batch of training samples with annotated class labels, bounding boxes, and keypoints.
Source code in ultralytics/yolo/v8/pose/train.py
train
Train the YOLO model on the given data and device.
Source code in ultralytics/yolo/v8/pose/train.py
Created 2023-04-16, Updated 2023-05-30
Authors: Glenn Jocher (4)