MCPcopy Create free account

hub / github.com/YaoaoY/yolov8_GUI / functions

Functions1,475 in github.com/YaoaoY/yolov8_GUI

↓ 1 callersMethodget_img_files
Read image files.
ultralytics/data/base.py:99
↓ 1 callersMethodget_indexes
Gets a list of shuffled indexes for mosaic augmentation.
ultralytics/data/augment.py:113
↓ 1 callersMethodget_json
Return dataset JSON for Ultralytics HUB.
ultralytics/data/utils.py:380
↓ 1 callersMethodget_kalmanfilter
Returns a Kalman filter object for tracking bounding boxes.
ultralytics/trackers/byte_tracker.py:297
↓ 1 callersMethodget_labels
Users can custom their own format here. Make sure your output is a list with each element like below: dict( im_fil
ultralytics/data/base.py:273
↓ 1 callersFunctionget_latest_opset
Return second-most (for maturity) recently supported ONNX opset by this version of torch.
ultralytics/utils/torch_utils.py:298
↓ 1 callersFunctionget_latest_run
Return path to most recent 'last.pt' in /runs (i.e. to --resume from).
ultralytics/utils/files.py:142
↓ 1 callersMethodget_model
Returns a modified PyTorch model configured for training YOLO.
ultralytics/models/yolo/classify/train.py:30
↓ 1 callersFunctionget_num_gradients
Return the total number of parameters with gradients in a YOLO model.
ultralytics/utils/torch_utils.py:201
↓ 1 callersMethodget_one
(self, sql, args=None)
classes/sql_connect.py:57
↓ 1 callersMethodget_onnx_model_info
(self, onnx_file: str)
ultralytics/utils/benchmarks.py:240
↓ 1 callersMethodget_pos_mask
Get in_gts mask, (b, max_num_obj, h*w).
ultralytics/utils/tal.py:129
↓ 1 callersMethodget_stats
Returns statistics about the model's performance.
ultralytics/engine/validator.py:239
↓ 1 callersMethodget_targets
Compute target labels, target bounding boxes, and target scores for the positive anchor points. Args: gt_labels (Tensor)
ultralytics/utils/tal.py:198
↓ 1 callersFunctionget_user_config_dir
Get the user config directory. Args: sub_dir (str): The name of the subdirectory to create. Returns: (Path): The path t
ultralytics/utils/__init__.py:550
↓ 1 callersMethodget_validator
Returns a NotImplementedError when the get_validator function is called.
ultralytics/engine/trainer.py:488
↓ 1 callersFunctionguess_model_scale
Takes a path to a YOLO model's YAML file as input and extracts the size character of the model's scale. The function uses regular expression
ultralytics/nn/tasks.py:744
↓ 1 callersFunctionhandle_yolo_settings
Handle YOLO settings command-line interface (CLI) commands. This function processes YOLO settings CLI commands such as reset. It should
ultralytics/cfg/__init__.py:240
↓ 1 callersMethodhex2rgb
Converts hex color codes to RGB values (i.e. default PIL order).
ultralytics/utils/plotting.py:53
↓ 1 callersFunctionhsv2colorjitter
Map HSV (hue, saturation, value) jitter into ColorJitter values (brightness, contrast, saturation, hue)
ultralytics/data/augment.py:808
↓ 1 callersMethodimg_predict
(self)
main.py:630
↓ 1 callersMethodinference
(self, im, *args, **kwargs)
ultralytics/engine/predictor.py:135
↓ 1 callersMethodinference
Predict masks for the given input prompts, using the currently set image. Args: im (torch.Tensor): The preprocessed imag
ultralytics/models/sam/predict.py:68
↓ 1 callersMethodinit_criterion
(self)
ultralytics/nn/tasks.py:216
↓ 1 callersMethodinit_criterion
Compute the classification loss between predictions and true labels.
ultralytics/nn/tasks.py:412
↓ 1 callersMethodinit_metrics
Initialize performance metrics for the YOLO model.
ultralytics/engine/validator.py:227
↓ 1 callersFunctioninit_seeds
Initialize random number generator (RNG) seeds https://pytorch.org/docs/stable/notes/randomness.html.
ultralytics/utils/torch_utils.py:323
↓ 1 callersFunctioninitialize_weights
Initialize model weights to random values.
ultralytics/utils/torch_utils.py:257
↓ 1 callersMethodinitiate
Create track from unassociated measurement. Parameters ---------- measurement : ndarray Bounding box coordinates
ultralytics/trackers/utils/kalman_filter.py:45
↓ 1 callersFunctionintersect_dicts
Returns a dictionary of intersecting keys with matching shapes, excluding 'exclude' keys, using da values.
ultralytics/utils/torch_utils.py:303
↓ 1 callersFunctioninverse_sigmoid
Inverse sigmoid function.
ultralytics/models/utils/ops.py:257
↓ 1 callersFunctioniou_distance
Compute cost based on IoU :type atracks: list[STrack] :type btracks: list[STrack] :rtype cost_matrix np.ndarray
ultralytics/trackers/utils/matching.py:89
↓ 1 callersFunctionis_box_near_crop_edge
Return a boolean tensor indicating if boxes are near the crop edge.
ultralytics/models/sam/amg.py:80
↓ 1 callersMethodis_fused
Check if the model has less than a certain threshold of BatchNorm layers. Args: thresh (int, optional): The threshold nu
ultralytics/nn/tasks.py:146
↓ 1 callersFunctionis_github_actions_ci
Determine if the current environment is a GitHub Actions CI Python runner. Returns: (bool): True if the current environment is a Git
ultralytics/utils/__init__.py:474
↓ 1 callersMethodis_hub_model
Check if the provided model is a HUB model.
ultralytics/engine/model.py:101
↓ 1 callersFunctionis_pytest_running
Determines whether pytest is currently running or not. Returns: (bool): True if pytest is running, False otherwise.
ultralytics/utils/__init__.py:464
↓ 1 callersFunctionis_url
Check if string is URL and check if URL exists.
ultralytics/utils/downloads.py:29
↓ 1 callersFunctionkpt_iou
Calculate Object Keypoint Similarity (OKS). Args: kpt1 (torch.Tensor): A tensor of shape (N, 17, 3) representing ground truth keypoi
ultralytics/utils/metrics.py:150
↓ 1 callersMethodkpts_decode
Decodes predicted keypoints to image coordinates.
ultralytics/utils/loss.py:377
↓ 1 callersMethodkpts_decode
Decodes keypoints.
ultralytics/nn/modules/head.py:133
↓ 1 callersMethodleft
(self, Form)
ui/custom_grips.py:201
↓ 1 callersFunctionlinear_init_
(module)
ultralytics/nn/modules/utils.py:27
↓ 1 callersMethodload_config
(self)
main.py:158
↓ 1 callersMethodload_config
(self)
classes/main_config.py:42
↓ 1 callersMethodload_image
Loads 1 image from dataset index 'i', returns (im, resized hw).
ultralytics/data/base.py:144
↓ 1 callersFunctionload_inference_source
Loads an inference source for object detection and applies necessary transformations. Args: source (str, Path, Tensor, PIL.Image, np
ultralytics/data/build.py:138
↓ 1 callersMethodload_rtsp
(self, ip)
main.py:387
↓ 1 callersFunctionltwh2xywh
Convert nx4 boxes from [x1, y1, w, h] to [x, y, w, h] where xy1=top-left, xy=center Args: x (torch.Tensor): the input tensor
ultralytics/utils/ops.py:486
↓ 1 callersFunctionltwh2xyxy
It converts the bounding box from [x1, y1, w, h] to [x1, y1, x2, y2] where xy1=top-left, xy2=bottom-right Args: x (np.ndarray | torch.
ultralytics/utils/ops.py:499
↓ 1 callersMethodmain_function_bind
(self)
main.py:123
↓ 1 callersFunctionmake_dirs
Create directories.
ultralytics/utils/files.py:148
↓ 1 callersMethodmark_lost
Mark the track as lost.
ultralytics/trackers/basetrack.py:60
↓ 1 callersMethodmasks
Plot masks at once. Args: masks (tensor): predicted masks on cuda, shape: [n, h, w] colors (List[List[Int]]): colors
ultralytics/utils/plotting.py:134
↓ 1 callersMethodmean_results
Calculate mean of detected objects & return precision, recall, mAP50, and mAP50-95.
ultralytics/utils/metrics.py:691
↓ 1 callersMethodmean_results
Return the mean metrics for bounding box and segmentation results.
ultralytics/utils/metrics.py:800
↓ 1 callersFunctionmerge_equals_args
Merges arguments around isolated '=' args in a list of strings. The function considers cases where the first argument ends with '=' or the se
ultralytics/cfg/__init__.py:187
↓ 1 callersFunctionmerge_multi_segment
Merge multiple segments into one list by connecting the coordinates with the minimum distance between each segment. This function connects th
ultralytics/data/converter.py:161
↓ 1 callersFunctionmin_index
Find a pair of indexes with the shortest distance between two arrays of 2D points. Args: arr1 (np.array): A NumPy array of shape (N,
ultralytics/data/converter.py:146
↓ 1 callersMethodmodel_bind
(self)
main.py:143
↓ 1 callersMethodmodel_load
(self)
main.py:112
↓ 1 callersMethodmoveDialog
(self)
ui/toast/toast.py:199
↓ 1 callersMethodmulti_predict
Predicts the mean and covariance of multiple object tracks using shared Kalman filter.
ultralytics/trackers/bot_sort.py:72
↓ 1 callersMethodmulti_predict
Perform multi-object predictive tracking using Kalman filter for given stracks.
ultralytics/trackers/byte_tracker.py:33
↓ 1 callersMethodmulti_predict
Returns the predicted tracks using the YOLOv8 network.
ultralytics/trackers/byte_tracker.py:313
↓ 1 callersFunctionmulti_scale_deformable_attn_pytorch
Multi-scale deformable attention. https://github.com/IDEA-Research/detrex/blob/main/detrex/layers/multi_scale_deform_attn.py
ultralytics/nn/modules/utils.py:41
↓ 1 callersFunctionone_cycle
Returns a lambda function for sinusoidal ramp from y1 to y2 https://arxiv.org/pdf/1812.01187.pdf.
ultralytics/utils/torch_utils.py:318
↓ 1 callersMethodopen_target_tracking
(self, detections, img_res)
classes/yolo.py:260
↓ 1 callersMethodopen_target_tracking
(self, detections, img_res)
classes/yolo_abandon_03.py:303
↓ 1 callersMethodoptimizer_step
Perform a single step of the training optimizer with gradient clipping and EMA update.
ultralytics/engine/trainer.py:458
↓ 1 callersMethodpaintStatus
(self, flags)
ui/toast/toast.py:103
↓ 1 callersFunctionplot_labels
Save and plot image with no axis or spines.
ultralytics/utils/plotting.py:262
↓ 1 callersMethodplot_metrics
Plot and display metrics visually.
ultralytics/engine/trainer.py:540
↓ 1 callersFunctionplot_pr_curve
Plots a precision-recall curve.
ultralytics/utils/metrics.py:328
↓ 1 callersMethodplot_predictions
Plots YOLO model predictions on batch images.
ultralytics/engine/validator.py:269
↓ 1 callersMethodplot_training_labels
Plots training labels for YOLO model.
ultralytics/engine/trainer.py:528
↓ 1 callersMethodplot_training_samples
Plots training samples during YOLOv5 training.
ultralytics/engine/trainer.py:524
↓ 1 callersMethodplot_val_samples
Plots validation samples during training.
ultralytics/engine/validator.py:265
↓ 1 callersFunctionpolygons2masks
Args: imgsz (tuple): The image size. polygons (list[np.ndarray]): each polygon is [N, M], N is number of polygons, M is number of
ultralytics/data/utils.py:159
↓ 1 callersFunctionpolygons2masks_overlap
Return a (640, 640) overlap mask.
ultralytics/data/utils.py:174
↓ 1 callersMethodpostprocess
Post-processes predictions for an image and returns them.
ultralytics/engine/predictor.py:187
↓ 1 callersMethodpostprocess
Describes and summarizes the purpose of 'postprocess()' but no details mentioned.
ultralytics/engine/validator.py:223
↓ 1 callersMethodpostprocess_masks
Remove padding and upscale masks to the original image size. Arguments: masks (torch.Tensor): Batched masks from the mask_
ultralytics/models/sam/modules/sam.py:133
↓ 1 callersMethodpre_transform
Pre-transform input image before inference. Args: im (List(np.ndarray)): (N, 3, h, w) for tensor, [(h, w, 3) x N] for list.
ultralytics/engine/predictor.py:140
↓ 1 callersMethodpred_to_json
Save one JSON result.
ultralytics/models/fastsam/val.py:192
↓ 1 callersMethodpred_to_json
Save one JSON result.
ultralytics/models/yolo/segment/val.py:192
↓ 1 callersMethodpred_to_json
Serialize YOLO predictions to COCO json format.
ultralytics/models/yolo/detect/val.py:221
↓ 1 callersFunctionpredict
Run YOLO model predictions on input images/videos.
ultralytics/models/yolo/classify/predict.py:35
↓ 1 callersFunctionpredict
Runs YOLO object detection on an image or video source.
ultralytics/models/yolo/segment/predict.py:47
↓ 1 callersFunctionpredict
Runs YOLO model inference on input image(s).
ultralytics/models/yolo/detect/predict.py:32
↓ 1 callersFunctionpredict
Runs YOLO to predict objects in an image or video.
ultralytics/models/yolo/pose/predict.py:45
↓ 1 callersMethodpredict
Perform a forward pass through the network. Args: x (torch.Tensor): The input tensor to the model profile (b
ultralytics/nn/tasks.py:453
↓ 1 callersMethodpredict
Predicts and returns segmentation masks for given image or video source.
ultralytics/models/sam/model.py:27
↓ 1 callersMethodpredict_masks
Predicts masks. See 'forward' for more details.
ultralytics/models/sam/modules/decoders.py:94
↓ 1 callersMethodpreprocess
Prepares input image before inference. Args: im (torch.Tensor | List(np.ndarray)): BCHW for tensor, [(HWC) x B] for list.
ultralytics/engine/predictor.py:116
↓ 1 callersMethodpreprocess
Preprocesses an input batch.
ultralytics/engine/validator.py:219
↓ 1 callersMethodpreprocess
Prepares input image before inference. Args: im (torch.Tensor | List(np.ndarray)): BCHW for tensor, [(HWC) x B] for list.
ultralytics/models/sam/predict.py:36
↓ 1 callersMethodpreprocess
Normalize pixel values and pad to a square input.
ultralytics/models/sam/modules/sam.py:164
↓ 1 callersMethodpreprocess_batch
Allows custom preprocessing model inputs and ground truths depending on task type.
ultralytics/engine/trainer.py:468
↓ 1 callersFunctionprint_args
Print function arguments (optional args dict).
ultralytics/utils/checks.py:440
← previousnext →501–600 of 1,475, ranked by callers