MCPcopy Create free account

hub / github.com/chips96/DEYOLO / functions

Functions1,029 in github.com/chips96/DEYOLO

↓ 2 callersMethodpredict_cli
Method used for CLI prediction. It uses always generator as outputs as not required by CLI mode.
ultralytics/yolo/engine/predictor.py:243
↓ 2 callersMethodprocess_batch
Update confusion matrix for object detection task. Args: detections (Array[N, 6]): Detected bounding boxes and their ass
ultralytics/yolo/utils/metrics.py:207
↓ 2 callersFunctionrandom_perspective
(im, targets=(), segments=(), degrees=10,
ultralytics/yolo/data/dataloaders/v5augmentations.py:148
↓ 2 callersFunctionresample_segments
Inputs a list of segments (n,2) and returns a list of segments (n,2) up-sampled to n points each. Args: segments (list): a list of (n,
ultralytics/yolo/utils/ops.py:525
↓ 2 callersMethodresult
Return annotated image as array.
ultralytics/yolo/utils/plotting.py:248
↓ 2 callersMethodrun_callbacks
Execute all callbacks for a given event.
ultralytics/yolo/engine/exporter.py:880
↓ 2 callersMethodsave_crop
Save cropped predictions to `save_dir/cls/file_name.jpg`. Args: save_dir (str | pathlib.Path): Save path. fi
ultralytics/yolo/engine/results.py:305
↓ 2 callersFunctionsave_one_box
Save image crop as {file} with crop size multiple {gain} and {pad} pixels. Save and/or return crop.
ultralytics/yolo/utils/plotting.py:306
↓ 2 callersMethodsave_txt
Save predictions into txt file. Args: txt_file (str): txt file path. save_conf (bool): save confidence score
ultralytics/yolo/engine/results.py:270
↓ 2 callersFunctionsegment2box
Convert 1 segment label to 1 box label, applying inside-image constraint, i.e. (xy1, xy2, ...) to (xyxy) Args: segment (torch.Tensor):
ultralytics/yolo/utils/ops.py:70
↓ 2 callersFunctionsegments2boxes
It converts segment labels to box labels, i.e. (cls, xy1, xy2, ...) to (cls, xywh) Args: segments (list): list of segments, each segme
ultralytics/yolo/utils/ops.py:508
↓ 2 callersMethodsetup_model
load/create/download model for any task.
ultralytics/yolo/engine/trainer.py:471
↓ 2 callersMethodshow
Display an image in a window using OpenCV imshow().
ultralytics/yolo/engine/predictor.py:381
↓ 2 callersFunctionsmooth
Box filter of fraction f.
ultralytics/yolo/utils/metrics.py:317
↓ 2 callersMethodto
Return a copy of the Results object with tensors on the specified device and dtype.
ultralytics/yolo/engine/results.py:149
↓ 2 callersFunctiontorch_safe_load
This function attempts to load a PyTorch model with the torch.load() function. If a ModuleNotFoundError is raised, it catches the error, logs
ultralytics/nn/tasks.py:330
↓ 2 callersFunctionunzip_file
Unzips a *.zip file to the specified path, excluding files containing strings in the exclude list. If the zipfile does not contain a single
ultralytics/yolo/utils/downloads.py:41
↓ 2 callersMethodupload_model
Upload a model checkpoint to Ultralytics HUB. Args: epoch (int): The current training epoch. weights (str):
ultralytics/hub/session.py:139
↓ 2 callersMethodval
Validate a model on a given dataset. Args: data (str): The dataset to validate on. Accepts all formats accepted by yolo
ultralytics/yolo/engine/model.py:250
↓ 2 callersMethodverbose
Return log string for each task.
ultralytics/yolo/engine/results.py:253
↓ 2 callersMethodwarmup
Warm up the model by running one forward pass with a dummy input. Args: imgsz (tuple): The shape of the dummy input tens
ultralytics/nn/autobackend.py:423
↓ 2 callersMethodwith_pos_embed
Add position embeddings if given.
ultralytics/nn/modules/transformer.py:39
↓ 2 callersMethodwith_pos_embed
(tensor, pos)
ultralytics/nn/modules/transformer.py:301
↓ 2 callersFunctionxyn2xy
Convert normalized coordinates to pixel coordinates of shape (n,2) Args: x (np.ndarray | torch.Tensor): The input tensor of normaliz
ultralytics/yolo/utils/ops.py:430
↓ 2 callersFunctionyaml_model_load
Load a YOLOv8 model from a YAML file.
ultralytics/nn/tasks.py:563
↓ 2 callersFunctionyaml_print
Pretty prints a yaml file or a yaml-formatted dictionary. Args: yaml_file: The file path of the yaml file or a yaml-formatted dictio
ultralytics/yolo/utils/__init__.py:305
↓ 1 callersMethodCreateSession
examples/YOLOv8-ONNXRuntime-CPP/inference.cpp:53
↓ 1 callersMethodRunSession
examples/YOLOv8-ONNXRuntime-CPP/inference.cpp:130
↓ 1 callersMethod__init__
(self)
ultralytics/yolo/utils/metrics.py:525
↓ 1 callersMethod__init__
Initializes an object that repeats a given sampler indefinitely.
ultralytics/yolo/data/build.py:55
↓ 1 callersMethod__init__
Initializes the Exporter class. Args: cfg (str, optional): Path to a configuration file. Defaults to DEFAULT_CFG.
ultralytics/yolo/engine/exporter.py:132
↓ 1 callersMethod__init__
Initialize an ensemble of models.
ultralytics/nn/tasks.py:314
↓ 1 callersMethod__init__
Initializes object and copies attributes from model object.
ultralytics/nn/autoshape.py:36
↓ 1 callersMethod__iter__
Iterates over the 'sampler' and yields its contents.
ultralytics/yolo/data/build.py:59
↓ 1 callersMethod__iter__
Returns an iterator object for iterating over images or videos found in a directory.
ultralytics/yolo/data/dataloaders/v5loader.py:293
↓ 1 callersMethod__len__
Return the length of the sources object.
ultralytics/yolo/data/dataloaders/stream_loaders.py:104
↓ 1 callersMethod_apply_default_class_names
Applies default class names to an input YAML file or returns numerical class names.
ultralytics/nn/autobackend.py:441
↓ 1 callersMethod_clip_augmented
Clip YOLOv5 augmented inference tails.
ultralytics/nn/tasks.py:296
↓ 1 callersFunction_create_experiment
Ensures that the experiment object is only created in a single process during distributed training.
ultralytics/yolo/utils/callbacks/comet.py:64
↓ 1 callersFunction_create_prediction_metadata_map
Create metadata map for model predictions by groupings them based on image ID.
ultralytics/yolo/utils/callbacks/comet.py:188
↓ 1 callersMethod_descale_pred
De-scale predictions following augmented inference (inverse operation).
ultralytics/nn/tasks.py:286
↓ 1 callersMethod_df_loss
Return sum of left and right DFL losses.
ultralytics/yolo/utils/loss.py:80
↓ 1 callersFunction_dict_to_yaml
(d, level=0)
docs/build_reference.py:83
↓ 1 callersMethod_do_train
Train completed, evaluate and plot if specified by arguments.
ultralytics/yolo/engine/trainer.py:301
↓ 1 callersFunction_fetch_annotations
Join the ground truth and prediction annotations if they exist.
ultralytics/yolo/utils/callbacks/comet.py:176
↓ 1 callersMethod_find_yaml
Return data.yaml file.
ultralytics/yolo/data/utils.py:390
↓ 1 callersFunction_format_ground_truth_annotations_for_detection
Format ground truth annotations for detection.
ultralytics/yolo/utils/callbacks/comet.py:126
↓ 1 callersFunction_format_prediction_annotations_for_detection
Format YOLO predictions for object detection visualization.
ultralytics/yolo/utils/callbacks/comet.py:153
↓ 1 callersMethod_format_segments
convert polygon points to bitmap.
ultralytics/yolo/data/augment.py:798
↓ 1 callersFunction_get_clones
(module, n)
ultralytics/nn/modules/utils.py:18
↓ 1 callersFunction_get_comet_mode
()
ultralytics/yolo/utils/callbacks/comet.py:27
↓ 1 callersFunction_get_comet_model_name
()
ultralytics/yolo/utils/callbacks/comet.py:31
↓ 1 callersFunction_get_experiment_type
Return an experiment based on mode and project name.
ultralytics/yolo/utils/callbacks/comet.py:56
↓ 1 callersMethod_get_model
Fetch and return model data from Ultralytics HUB.
ultralytics/hub/session.py:102
↓ 1 callersFunction_handle_deprecation
Hardcoded function to handle deprecated config keys
ultralytics/yolo/cfg/__init__.py:153
↓ 1 callersMethod_load
Initializes a new model and infers the task type from the model head. Args: weights (str): model checkpoint to be loaded
ultralytics/yolo/engine/model.py:138
↓ 1 callersFunction_log_confusion_matrix
(validator)
ultralytics/yolo/utils/callbacks/dvc.py:50
↓ 1 callersFunction_log_images
(image_path, prefix='')
ultralytics/yolo/utils/callbacks/dvc.py:37
↓ 1 callersFunction_log_plot
Log plots to the NeptuneAI experiment logger.
ultralytics/yolo/utils/callbacks/neptune.py:35
↓ 1 callersFunction_log_plot
Log an image as a plot in the plot section of ClearML. Args: title (str): The title of the plot. plot_path (str): The path t
ultralytics/yolo/utils/callbacks/clearml.py:43
↓ 1 callersFunction_log_plots
Logs evaluation plots and label plots for the experiment.
ultralytics/yolo/utils/callbacks/comet.py:267
↓ 1 callersFunction_logger_disabled
()
ultralytics/yolo/utils/callbacks/dvc.py:33
↓ 1 callersMethod_mix_transform
Applies MixUp or Mosaic augmentation to the label dictionary.
ultralytics/yolo/data/augment.py:110
↓ 1 callersMethod_model_type
This function takes a path to a model file and returns the model type Args: p: path to the model file. Defaults to path/
ultralytics/nn/autobackend.py:448
↓ 1 callersMethod_mosaic4
Create a 2x2 image mosaic.
ultralytics/yolo/data/augment.py:156
↓ 1 callersMethod_mosaic9
Create a 3x3 image mosaic.
ultralytics/yolo/data/augment.py:196
↓ 1 callersMethod_new
Initializes a new model and infers the task type from the model definitions. Args: cfg (str): model configuration file
ultralytics/yolo/engine/model.py:118
↓ 1 callersFunction_ntuple
From PyTorch internals.
ultralytics/yolo/utils/instance.py:13
↓ 1 callersMethod_pad_1x1_to_3x3_tensor
(self, kernel1x1)
ultralytics/nn/modules/conv.py:187
↓ 1 callersMethod_pipeline_coreml
YOLOv8 CoreML pipeline.
ultralytics/yolo/engine/exporter.py:757
↓ 1 callersMethod_process_batch
Return correct prediction matrix Arguments: detections (array[N, 6]), x1, y1, x2, y2, conf, class labels (arr
ultralytics/yolo/v8/detect/val.py:153
↓ 1 callersMethod_profile_one_layer
Profile the computation time and FLOPs of a single layer of the model on a given input. Appends the results to the provided list.
ultralytics/nn/tasks.py:107
↓ 1 callersMethod_register_signal_handlers
Register signal handlers for SIGTERM and SIGINT signals to gracefully handle termination.
ultralytics/hub/session.py:78
↓ 1 callersMethod_reset_callbacks
Reset all registered callbacks.
ultralytics/yolo/engine/model.py:413
↓ 1 callersMethod_reset_ckpt_args
Reset arguments when loading a PyTorch model.
ultralytics/yolo/engine/model.py:408
↓ 1 callersMethod_reset_parameters
(self)
ultralytics/nn/modules/transformer.py:215
↓ 1 callersFunction_scale_bounding_box_to_original_image_shape
YOLOv8 resizes images during training and the label values are normalized based on this resized shape. This function rescales the bounding box
ultralytics/yolo/utils/callbacks/comet.py:105
↓ 1 callersMethod_setup_ddp
Initializes and sets the DistributedDataParallel parameters for training.
ultralytics/yolo/engine/trainer.py:205
↓ 1 callersMethod_setup_train
Builds dataloaders and optimizer on correct rank process.
ultralytics/yolo/engine/trainer.py:217
↓ 1 callersMethod_single_check
Validate and format an image to numpy array.
ultralytics/yolo/data/dataloaders/stream_loaders.py:268
↓ 1 callersMethod_single_check
Validate and format an image to torch.Tensor.
ultralytics/yolo/data/dataloaders/stream_loaders.py:304
↓ 1 callersMethod_start_heartbeat
Begin a threaded heartbeat loop to report the agent's status to Ultralytics HUB.
ultralytics/hub/session.py:176
↓ 1 callersMethod_stop_heartbeat
Terminate the heartbeat loop.
ultralytics/hub/session.py:93
↓ 1 callersMethod_unzip
Unzip data.zip.
ultralytics/yolo/data/utils.py:400
↓ 1 callersMethod_update_labels
Update labels.
ultralytics/yolo/data/augment.py:633
↓ 1 callersMethodaffine_transform
Center.
ultralytics/yolo/data/augment.py:322
↓ 1 callersFunctionamp_allclose
All close FP32 vs AMP results.
ultralytics/yolo/utils/checks.py:374
↓ 1 callersMethodapply_bboxes
Apply affine to bboxes only. Args: bboxes (ndarray): list of bboxes, xyxy format, with shape (num_bboxes, 4).
ultralytics/yolo/data/augment.py:364
↓ 1 callersMethodapply_image
Applies image transformation to labels.
ultralytics/yolo/data/augment.py:30
↓ 1 callersMethodapply_instances
Applies transformations to input 'labels' and returns object instances.
ultralytics/yolo/data/augment.py:34
↓ 1 callersMethodapply_keypoints
Apply affine to keypoints. Args: keypoints (ndarray): keypoints, [N, 17, 3]. M (ndarray): affine matrix.
ultralytics/yolo/data/augment.py:414
↓ 1 callersMethodapply_segments
Apply affine to segments and generate new bboxes from segments. Args: segments (ndarray): list of segments, [num_samples
ultralytics/yolo/data/augment.py:389
↓ 1 callersMethodapply_semantic
Applies semantic segmentation to an image.
ultralytics/yolo/data/augment.py:38
↓ 1 callersMethodareas
Return box areas.
ultralytics/yolo/utils/instance.py:81
↓ 1 callersMethodauth_with_cookies
Attempt to fetch authentication via cookies and set id_token. User must be logged in to HUB and running in a supported browser.
ultralytics/hub/auth.py:88
↓ 1 callersFunctionautobatch
Automatically estimate the best YOLO batch size to use a fraction of the available CUDA memory. Args: model (torch.nn.module): YOLO
ultralytics/yolo/utils/autobatch.py:32
↓ 1 callersFunctionautocast_list
Merges a list of source of different types into a list of numpy arrays or PIL images
ultralytics/yolo/data/dataloaders/stream_loaders.py:340
↓ 1 callersFunctionbbox2dist
Transform bbox(xyxy) to dist(ltrb).
ultralytics/yolo/utils/tal.py:273
↓ 1 callersMethodbbox_decode
Decode predicted object bounding box coordinates from anchor points and distribution.
ultralytics/yolo/utils/loss.py:146
↓ 1 callersMethodbias_init
Initialize Detect() biases, WARNING: requires stride availability.
ultralytics/nn/modules/head.py:64
← previousnext →201–300 of 1,029, ranked by callers