MCPcopy Create free account

hub / github.com/YaoaoY/yolov8_GUI / functions

Functions1,475 in github.com/YaoaoY/yolov8_GUI

↓ 1 callersMethod__init__
(self)
ultralytics/utils/metrics.py:528
↓ 1 callersMethod__init__
Initializes an object that repeats a given sampler indefinitely.
ultralytics/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/engine/exporter.py:133
↓ 1 callersMethod__init__
Initialize YOLOv8 object with temporal parameters, such as feature history, alpha and current features.
ultralytics/trackers/bot_sort.py:17
↓ 1 callersMethod__init__
( self, input_dim: int, hidden_dim: int, output_dim: int, num_layers:
ultralytics/models/sam/modules/decoders.py:139
↓ 1 callersMethod__init__
(self)
classes/paint_chart.py:47
↓ 1 callersMethod__init__
(self, parent=None)
ui/toast/toast.py:242
↓ 1 callersMethod__iter__
Iterates over the 'sampler' and yields its contents.
ultralytics/data/build.py:59
↓ 1 callersMethod__len__
Return the length of the sources object.
ultralytics/data/loaders.py:115
↓ 1 callersMethod_apply_default_class_names
Applies default class names to an input YAML file or returns numerical class names.
ultralytics/nn/autobackend.py:468
↓ 1 callersMethod_clip_augmented
Clip YOLOv5 augmented inference tails.
ultralytics/nn/tasks.py:280
↓ 1 callersMethod_cost_mask
(self, bs, num_gts, masks=None, gt_mask=None)
ultralytics/models/utils/ops.py:113
↓ 1 callersFunction_create_experiment
Ensures that the experiment object is only created in a single process during distributed training.
ultralytics/utils/callbacks/comet.py:65
↓ 1 callersFunction_create_prediction_metadata_map
Create metadata map for model predictions by groupings them based on image ID.
ultralytics/utils/callbacks/comet.py:189
↓ 1 callersMethod_crop_image
(self, format_results)
ultralytics/models/fastsam/prompt.py:319
↓ 1 callersMethod_descale_pred
De-scale predictions following augmented inference (inverse operation).
ultralytics/nn/tasks.py:270
↓ 1 callersMethod_df_loss
Return sum of left and right DFL losses.
ultralytics/utils/loss.py:80
↓ 1 callersMethod_dice_loss
(self, inputs, targets, num_gts)
ultralytics/models/utils/loss.py:108
↓ 1 callersMethod_do_train
Train completed, evaluate and plot if specified by arguments.
ultralytics/engine/trainer.py:271
↓ 1 callersMethod_embed_boxes
Embeds box prompts.
ultralytics/models/sam/modules/encoders.py:193
↓ 1 callersMethod_embed_masks
Embeds mask inputs.
ultralytics/models/sam/modules/encoders.py:202
↓ 1 callersMethod_embed_points
Embeds point prompts.
ultralytics/models/sam/modules/encoders.py:173
↓ 1 callersFunction_fetch_annotations
Join the ground truth and prediction annotations if they exist.
ultralytics/utils/callbacks/comet.py:177
↓ 1 callersMethod_find_yaml
Return data.yaml file.
ultralytics/data/utils.py:357
↓ 1 callersFunction_format_ground_truth_annotations_for_detection
Format ground truth annotations for detection.
ultralytics/utils/callbacks/comet.py:127
↓ 1 callersMethod_format_img
Format the image for YOLOv5 from Numpy array to PyTorch tensor.
ultralytics/data/augment.py:744
↓ 1 callersFunction_format_prediction_annotations_for_detection
Format YOLO predictions for object detection visualization.
ultralytics/utils/callbacks/comet.py:154
↓ 1 callersMethod_format_segments
convert polygon points to bitmap.
ultralytics/data/augment.py:752
↓ 1 callersMethod_from_detection_model
Create a YOLOv5 classification model from a YOLOv5 detection model.
ultralytics/nn/tasks.py:349
↓ 1 callersMethod_from_yaml
Set YOLOv8 model configurations and define the model architecture.
ultralytics/nn/tasks.py:365
↓ 1 callersMethod_generate_anchors
(self, shapes, grid_size=0.05, dtype=torch.float32, device='cpu', eps=1e-2)
ultralytics/nn/modules/head.py:267
↓ 1 callersMethod_get_assigned_bboxes
(self, pred_bboxes, gt_bboxes, match_indices)
ultralytics/models/utils/loss.py:172
↓ 1 callersMethod_get_batch_size
Gets the batch size of the output given the batch size of the input prompts.
ultralytics/models/sam/modules/encoders.py:206
↓ 1 callersMethod_get_bbox_from_mask
(mask)
ultralytics/models/fastsam/prompt.py:78
↓ 1 callersFunction_get_clones
(module, n)
ultralytics/nn/modules/utils.py:18
↓ 1 callersFunction_get_comet_mode
()
ultralytics/utils/callbacks/comet.py:28
↓ 1 callersFunction_get_comet_model_name
()
ultralytics/utils/callbacks/comet.py:32
↓ 1 callersMethod_get_decoder_input
(self, feats, shapes, dn_embed=None, dn_bbox=None)
ultralytics/nn/modules/head.py:303
↓ 1 callersMethod_get_device
(self)
ultralytics/models/sam/modules/encoders.py:224
↓ 1 callersMethod_get_encoder_input
(self, x)
ultralytics/nn/modules/head.py:286
↓ 1 callersFunction_get_experiment_type
Return an experiment based on mode and project name.
ultralytics/utils/callbacks/comet.py:57
↓ 1 callersMethod_get_index
(self, match_indices)
ultralytics/models/utils/loss.py:166
↓ 1 callersMethod_get_loss_aux
Get auxiliary losses
ultralytics/models/utils/loss.py:117
↓ 1 callersMethod_get_loss_bbox
(self, pred_bboxes, gt_bboxes, postfix='')
ultralytics/models/utils/loss.py:70
↓ 1 callersMethod_get_loss_class
(self, pred_scores, targets, gt_scores, num_gts, postfix='')
ultralytics/models/utils/loss.py:49
↓ 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/cfg/__init__.py:148
↓ 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/engine/model.py:130
↓ 1 callersFunction_log_confusion_matrix
(validator)
ultralytics/utils/callbacks/dvc.py:51
↓ 1 callersFunction_log_images
(image_path, prefix='')
ultralytics/utils/callbacks/dvc.py:38
↓ 1 callersFunction_log_plot
Log plots to the NeptuneAI experiment logger.
ultralytics/utils/callbacks/neptune.py:36
↓ 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/utils/callbacks/clearml.py:44
↓ 1 callersFunction_log_plots
Logs evaluation plots and label plots for the experiment.
ultralytics/utils/callbacks/comet.py:268
↓ 1 callersFunction_logger_disabled
()
ultralytics/utils/callbacks/dvc.py:34
↓ 1 callersMethod_mix_transform
Applies MixUp or Mosaic augmentation to the label dictionary.
ultralytics/data/augment.py:109
↓ 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:475
↓ 1 callersMethod_mosaic4
Create a 2x2 image mosaic.
ultralytics/data/augment.py:155
↓ 1 callersMethod_mosaic9
Create a 3x3 image mosaic.
ultralytics/data/augment.py:191
↓ 1 callersMethod_new
Initializes a new model and infers the task type from the model definitions. Args: cfg (str): model configuration file
ultralytics/engine/model.py:108
↓ 1 callersMethod_pad_1x1_to_3x3_tensor
(self, kernel1x1)
ultralytics/nn/modules/conv.py:186
↓ 1 callersMethod_pipeline_coreml
YOLOv8 CoreML pipeline.
ultralytics/engine/exporter.py:805
↓ 1 callersMethod_predict_augment
Perform augmentations on input image x and return augmented inference.
ultralytics/nn/tasks.py:88
↓ 1 callersMethod_process_batch
Return correct prediction matrix Arguments: detections (array[N, 6]), x1, y1, x2, y2, conf, class labels (arr
ultralytics/models/yolo/detect/val.py:151
↓ 1 callersMethod_recombine_heads
Recombine the separated attention heads into a single tensor.
ultralytics/models/sam/modules/transformer.py:205
↓ 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/engine/model.py:437
↓ 1 callersMethod_reset_ckpt_args
Reset arguments when loading a PyTorch model.
ultralytics/engine/model.py:432
↓ 1 callersMethod_reset_parameters
(self)
ultralytics/nn/modules/head.py:341
↓ 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/utils/callbacks/comet.py:106
↓ 1 callersMethod_segment_image
(image, bbox)
ultralytics/models/fastsam/prompt.py:31
↓ 1 callersMethod_setup_ddp
Initializes and sets the DistributedDataParallel parameters for training.
ultralytics/engine/trainer.py:194
↓ 1 callersMethod_setup_train
Builds dataloaders and optimizer on correct rank process.
ultralytics/engine/trainer.py:206
↓ 1 callersMethod_single_check
Validate and format an image to numpy array.
ultralytics/data/loaders.py:285
↓ 1 callersMethod_single_check
Validate and format an image to torch.Tensor.
ultralytics/data/loaders.py:321
↓ 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/data/utils.py:367
↓ 1 callersMethod_update_labels
Update labels.
ultralytics/data/augment.py:598
↓ 1 callersMethodactivate
Start a new tracklet.
ultralytics/trackers/byte_tracker.py:66
↓ 1 callersFunctionadd_decomposed_rel_pos
Calculate decomposed Relative Positional Embeddings from :paper:`mvitv2`. https://github.com/facebookresearch/mvit/blob/19786631e330df9f3622e
ultralytics/models/sam/modules/encoders.py:516
↓ 1 callersFunctionadjust_bboxes_to_image_border
Adjust bounding boxes to stick to image border if they are within a certain threshold. Args: boxes (torch.Tensor): (n, 4) im
ultralytics/models/fastsam/utils.py:6
↓ 1 callersMethodaffine_transform
Center.
ultralytics/data/augment.py:309
↓ 1 callersFunctionamp_allclose
All close FP32 vs AMP results.
ultralytics/utils/checks.py:401
↓ 1 callersMethodapplyEcc
Initialize.
ultralytics/trackers/utils/gmc.py:87
↓ 1 callersMethodapplyFeatures
Initialize.
ultralytics/trackers/utils/gmc.py:119
↓ 1 callersMethodapplyFile
Return the homography matrix based on the GCPs in the next line of the input GMC file.
ultralytics/trackers/utils/gmc.py:307
↓ 1 callersMethodapplySparseOptFlow
Initialize.
ultralytics/trackers/utils/gmc.py:245
↓ 1 callersMethodapply_bboxes
Apply affine to bboxes only. Args: bboxes (ndarray): list of bboxes, xyxy format, with shape (num_bboxes, 4).
ultralytics/data/augment.py:349
↓ 1 callersMethodapply_image
Applies image transformation to labels.
ultralytics/data/augment.py:29
↓ 1 callersMethodapply_instances
Applies transformations to input 'labels' and returns object instances.
ultralytics/data/augment.py:33
↓ 1 callersMethodapply_keypoints
Apply affine to keypoints. Args: keypoints (ndarray): keypoints, [N, 17, 3]. M (ndarray): affine matrix.
ultralytics/data/augment.py:399
↓ 1 callersMethodapply_segments
Apply affine to segments and generate new bboxes from segments. Args: segments (ndarray): list of segments, [num_samples
ultralytics/data/augment.py:374
↓ 1 callersMethodapply_semantic
Applies semantic segmentation to an image.
ultralytics/data/augment.py:37
↓ 1 callersMethodareas
Return box areas.
ultralytics/utils/instance.py:82
↓ 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/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/data/loaders.py:356
↓ 1 callersFunctionbatch_iterator
Yield batches of data from the input arguments.
ultralytics/models/sam/amg.py:102
↓ 1 callersFunctionbbox2dist
Transform bbox(xyxy) to dist(ltrb).
ultralytics/utils/tal.py:273
← previousnext →301–400 of 1,475, ranked by callers