MCPcopy Create free account

hub / github.com/chips96/DEYOLO / functions

Functions1,029 in github.com/chips96/DEYOLO

↓ 1 callersMethodupload_metrics
Upload model metrics to Ultralytics HUB.
ultralytics/hub/session.py:97
↓ 1 callersFunctionv8_transforms
Convert images to a size suitable for YOLOv8 training.
ultralytics/yolo/data/augment.py:812
↓ 1 callersFunctionval
Validate trained YOLO model on validation dataset.
ultralytics/yolo/v8/detect/val.py:280
↓ 1 callersMethodvalidate
Runs validation on test set using self.validator. The returned dict is expected to contain "fitness" key.
ultralytics/yolo/engine/trainer.py:504
↓ 1 callersMethodwrite_results_ir
Write inference results to a file or directory.
ultralytics/yolo/engine/predictor.py:196
↓ 1 callersMethodwrite_results_vi
Write inference results to a file or directory.
ultralytics/yolo/engine/predictor.py:161
↓ 1 callersFunctionxywh2ltwh
Convert the bounding box format from [x, y, w, h] to [x1, y1, w, h], where x1, y1 are the top-left coordinates. Args: x (np.ndarray
ultralytics/yolo/utils/ops.py:449
↓ 1 callersFunctionxyxy2ltwh
Convert nx4 bounding boxes from [x1, y1, x2, y2] to [x1, y1, w, h], where xy1=top-left, xy2=bottom-right Args: x (np.ndarray | torch.T
ultralytics/yolo/utils/ops.py:464
↓ 1 callersFunctionxyxy2xywhn
Convert bounding box coordinates from (x1, y1, x2, y2) format to (x, y, width, height, normalized) format. x, y, width and height are normali
ultralytics/yolo/utils/ops.py:406
MethodDCSP_CORE
examples/YOLOv8-ONNXRuntime-CPP/inference.cpp:7
MethodInference
examples/YOLOv8-CPP-Inference/inference.cpp:3
MethodTensorProcess
examples/YOLOv8-ONNXRuntime-CPP/inference.cpp:152
MethodWarmUpSession
examples/YOLOv8-ONNXRuntime-CPP/inference.cpp:247
Method__call__
Calculate the sum of the loss for box, cls and dfl multiplied by batch size.
ultralytics/yolo/utils/loss.py:155
Method__call__
Check whether to stop training Args: epoch (int): Current epoch of training fitness (float): Fitness value o
ultralytics/yolo/utils/torch_utils.py:480
Method__call__
Converts hex color codes to rgb values.
ultralytics/yolo/utils/plotting.py:38
Method__call__
Applies label transformations to an image, instances and semantic masks.
ultralytics/yolo/data/augment.py:42
Method__call__
Applies a series of transformations to input data.
ultralytics/yolo/data/augment.py:55
Method__call__
Applies pre-processing transforms and mixup/mosaic transforms to labels data.
ultralytics/yolo/data/augment.py:87
Method__call__
Affine images and targets. Args: labels (dict): a dict of `bboxes`, `segments`, `keypoints`.
ultralytics/yolo/data/augment.py:437
Method__call__
Applies random horizontal or vertical flip to an image with a given probability.
ultralytics/yolo/data/augment.py:508
Method__call__
Resize image and padding for detection, instance segmentation, pose.
ultralytics/yolo/data/augment.py:540
Method__call__
Return updated labels and image with added border.
ultralytics/yolo/data/augment.py:579
Method__call__
Implement Copy-Paste augmentation https://arxiv.org/abs/2012.07177, labels as nx5 np.array(cls, xyxy).
ultralytics/yolo/data/augment.py:647
Method__call__
Generates object detections and returns a dictionary with detection results.
ultralytics/yolo/data/augment.py:717
Method__call__
Return formatted image, classes, bounding boxes & keypoints to be used by 'collate_fn'.
ultralytics/yolo/data/augment.py:758
Method__call__
(self, im)
ultralytics/yolo/data/augment.py:912
Method__call__
(self, im)
ultralytics/yolo/data/augment.py:930
Method__call__
(self, im)
ultralytics/yolo/data/augment.py:944
Method__call__
Transforms input image and labels with probability 'p'.
ultralytics/yolo/data/dataloaders/v5augmentations.py:51
Method__call__
(self, im)
ultralytics/yolo/data/dataloaders/v5augmentations.py:370
Method__call__
(self, im)
ultralytics/yolo/data/dataloaders/v5augmentations.py:388
Method__call__
(self, im)
ultralytics/yolo/data/dataloaders/v5augmentations.py:402
Method__call__
Performs inference on an image or stream.
ultralytics/yolo/engine/predictor.py:235
Method__call__
Supports validation of a pre-trained model if passed or a model being trained if trainer is passed (trainer gets priority).
ultralytics/yolo/engine/validator.py:93
Method__call__
Returns list of exported files/dirs after running callbacks.
ultralytics/yolo/engine/exporter.py:146
Method__call__
Calls the 'predict' function with given arguments to perform object detection.
ultralytics/yolo/engine/model.py:101
Method__call__
Attempts to add a new event to the events list and send events if the rate limit is reached. Args: cfg (IterableSimpleNa
ultralytics/hub/utils.py:184
Method__enter__
Changes the current directory to the specified directory.
ultralytics/yolo/utils/files.py:19
Method__enter__
Executes when entering TryExcept context, initializes instance.
ultralytics/yolo/utils/__init__.py:589
Method__enter__
Start timing.
ultralytics/yolo/utils/ops.py:35
Method__exit__
Restore the current working directory on context exit.
ultralytics/yolo/utils/files.py:23
Method__exit__
Defines behavior when exiting a 'with' block, prints error message if necessary.
ultralytics/yolo/utils/__init__.py:593
Method__exit__
Stop timing.
ultralytics/yolo/utils/ops.py:42
Method__getattr__
Custom attribute access error message with helpful information.
ultralytics/yolo/utils/__init__.py:133
Method__getattr__
Custom attribute access error message with helpful information.
ultralytics/yolo/utils/__init__.py:153
Method__getattr__
Raises error if object has no requested attribute.
ultralytics/yolo/engine/model.py:105
Method__getitem__
Retrieve a specific bounding box or a set of bounding boxes using indexing. Args: index (int, slice, or np.ndarray): The
ultralytics/yolo/utils/instance.py:159
Method__getitem__
Retrieve a specific instance or a set of instances using indexing. Args: index (int, slice, or np.ndarray): The index, s
ultralytics/yolo/utils/instance.py:262
Method__getitem__
Returns transformed label information for given index.
ultralytics/yolo/data/base.py:319
Method__getitem__
Returns subset of data and targets corresponding to given indices.
ultralytics/yolo/data/dataset.py:261
Method__getitem__
Applies mosaic, mixup and rectangular training transformations to an item in the dataset. Args: index (int): Index of th
ultralytics/yolo/data/dataset_wrappers.py:30
Method__getitem__
Get a sample and its corresponding label, filename and shape from the dataset.
ultralytics/yolo/data/dataloaders/v5loader.py:793
Method__getitem__
Retrieves data items of 'dataset' via indices & creates InfiniteDataLoader.
ultralytics/yolo/data/dataloaders/v5loader.py:1215
Method__getitem__
Return a BaseTensor with the specified index of the data tensor.
ultralytics/yolo/engine/results.py:61
Method__getitem__
Return a Results object for the specified index.
ultralytics/yolo/engine/results.py:108
Method__init__
Initialize the VarifocalLoss class.
ultralytics/yolo/utils/loss.py:18
Method__init__
(self, )
ultralytics/yolo/utils/loss.py:35
Method__init__
(self, sigmas)
ultralytics/yolo/utils/loss.py:93
Method__init__
(self, model)
ultralytics/yolo/utils/loss.py:109
Method__init__
Create an exception for when a model is not found.
ultralytics/yolo/utils/errors.py:8
Method__init__
Create EMA.
ultralytics/yolo/utils/torch_utils.py:342
Method__init__
Initialize early stopping object Args: patience (int, optional): Number of epochs to wait after fitness stops improving
ultralytics/yolo/utils/torch_utils.py:468
Method__init__
Initialize colors as hex = matplotlib.colors.TABLEAU_COLORS.values().
ultralytics/yolo/utils/plotting.py:26
Method__init__
Initialize the Annotator class with image and line width along with color palette for keypoints and limbs.
ultralytics/yolo/utils/plotting.py:65
Method__init__
Sets the working directory to 'new_dir' upon instantiation.
ultralytics/yolo/utils/files.py:14
Method__init__
Initialize TryExcept class with optional message and verbosity settings.
ultralytics/yolo/utils/__init__.py:584
Method__init__
Initialize the Profile class. Args: t (float): Initial time. Defaults to 0.0.
ultralytics/yolo/utils/ops.py:25
Method__init__
(self, paths: list, num_timed_runs=100, num_warmup_runs=10,
ultralytics/yolo/utils/benchmarks.py:163
Method__init__
Initialize attributes for the YOLO model.
ultralytics/yolo/utils/metrics.py:187
Method__init__
(self, save_dir=Path('.'), plot=False, on_plot=None, names=())
ultralytics/yolo/utils/metrics.py:662
Method__init__
(self, save_dir=Path('.'), plot=False, on_plot=None, names=())
ultralytics/yolo/utils/metrics.py:746
Method__init__
(self, save_dir=Path('.'), plot=False, on_plot=None, names=())
ultralytics/yolo/utils/metrics.py:855
Method__init__
(self)
ultralytics/yolo/utils/metrics.py:944
Method__init__
(self, bboxes, format='xyxy')
ultralytics/yolo/utils/instance.py:36
Method__init__
Args: bboxes (ndarray): bboxes with shape [N, 4]. segments (list | ndarray): segments. keypoints (ndarray
ultralytics/yolo/utils/instance.py:186
Method__init__
Initialize a TaskAlignedAssigner object with customizable hyperparameters.
ultralytics/yolo/utils/tal.py:72
Method__init__
Dataloader that infinitely recycles workers, inherits from DataLoader.
ultralytics/yolo/data/build.py:25
Method__init__
Initialize class.
ultralytics/yolo/data/utils.py:370
Method__init__
(self, img_path, img_path2, imgsz=640, cac
ultralytics/yolo/data/base.py:50
Method__init__
Initialize YOLO object with root, image size, augmentations, and cache settings. Args: root (str): Dataset path.
ultralytics/yolo/data/dataset.py:231
Method__init__
Initialize a SemanticDataset object.
ultralytics/yolo/data/dataset.py:285
Method__init__
Args: dataset (BaseDataset): The base dataset to apply transformations to.
ultralytics/yolo/data/dataset_wrappers.py:18
Method__init__
(self)
ultralytics/yolo/data/augment.py:27
Method__init__
Initializes the Compose object with a list of transforms.
ultralytics/yolo/data/augment.py:51
Method__init__
(self, dataset, pre_transform=None, p=0.0)
ultralytics/yolo/data/augment.py:82
Method__init__
Initializes the object with a dataset, image size, probability, and border.
ultralytics/yolo/data/augment.py:133
Method__init__
(self, degrees=0.0, translate=0.1, scale=0.5,
ultralytics/yolo/data/augment.py:305
Method__init__
(self, hgain=0.5, sgain=0.5, vgain=0.5)
ultralytics/yolo/data/augment.py:503
Method__init__
(self, p=0.5, direction='horizontal', flip_idx=None)
ultralytics/yolo/data/augment.py:532
Method__init__
Initialize LetterBox object with specific parameters.
ultralytics/yolo/data/augment.py:571
Method__init__
(self, p=0.5)
ultralytics/yolo/data/augment.py:644
Method__init__
Initialize the transform object for YOLO bbox formatted params.
ultralytics/yolo/data/augment.py:691
Method__init__
(self, bbox_format='xywh', normalize=True, return_mask=Fals
ultralytics/yolo/data/augment.py:742
Method__init__
Resizes image and crops it to center with max dimensions 'h' and 'w'.
ultralytics/yolo/data/augment.py:905
Method__init__
Converts an image from numpy array to PyTorch tensor.
ultralytics/yolo/data/augment.py:925
Method__init__
Initialize YOLOv8 ToTensor object with optional half-precision support.
ultralytics/yolo/data/augment.py:939
Method__init__
Dataloader that reuses workers for same syntax as vanilla DataLoader.
ultralytics/yolo/data/dataloaders/v5loader.py:172
Method__init__
Sampler that repeats dataset samples infinitely.
ultralytics/yolo/data/dataloaders/v5loader.py:195
Method__init__
source = [screen_number left top width height] (pixels).
ultralytics/yolo/data/dataloaders/v5loader.py:207
← previousnext →501–600 of 1,029, ranked by callers