MCPcopy Create free account

hub / github.com/YaoaoY/yolov8_GUI / functions

Functions1,475 in github.com/YaoaoY/yolov8_GUI

Methodforward
Applies the forward pass through C1 module.
ultralytics/nn/modules/conv.py:282
Methodforward
Forward pass for the YOLOv8 mask Proto module.
ultralytics/nn/modules/conv.py:295
Methodforward
(self, preds, batch, dn_bboxes=None, dn_scores=None, dn_meta=None)
ultralytics/models/utils/loss.py:252
Methodforward
Forward pass for HungarianMatcher. This function computes costs based on prediction and ground truth (classification cost, L1 cost be
ultralytics/models/utils/ops.py:45
Methodforward
(self, x: torch.Tensor)
ultralytics/models/sam/modules/encoders.py:102
Methodforward
Embeds different types of prompts, returning both sparse and dense embeddings. Arguments: points (tuple(torch.Tens
ultralytics/models/sam/modules/encoders.py:227
Methodforward
Generate positional encoding for a grid of the specified size.
ultralytics/models/sam/modules/encoders.py:293
Methodforward
(self, x: torch.Tensor)
ultralytics/models/sam/modules/encoders.py:361
Methodforward
(self, x: torch.Tensor)
ultralytics/models/sam/modules/encoders.py:416
Methodforward
(self, x: torch.Tensor)
ultralytics/models/sam/modules/encoders.py:579
Methodforward
Predict masks given image and prompt embeddings. Arguments: image_embeddings (torch.Tensor): the embeddings from the ima
ultralytics/models/sam/modules/decoders.py:57
Methodforward
Executes feedforward within the neural network module and applies activation.
ultralytics/models/sam/modules/decoders.py:153
Methodforward
(self, x)
ultralytics/models/sam/modules/tiny_encoder.py:86
Methodforward
(self, x)
ultralytics/models/sam/modules/tiny_encoder.py:111
Methodforward
(self, x)
ultralytics/models/sam/modules/tiny_encoder.py:146
Methodforward
(self, x)
ultralytics/models/sam/modules/tiny_encoder.py:200
Methodforward
(self, x)
ultralytics/models/sam/modules/tiny_encoder.py:223
Methodforward
(self, x)
ultralytics/models/sam/modules/tiny_encoder.py:281
Methodforward
(self, x)
ultralytics/models/sam/modules/tiny_encoder.py:357
Methodforward
(self, x)
ultralytics/models/sam/modules/tiny_encoder.py:464
Methodforward
(self, x: torch.Tensor)
ultralytics/models/sam/modules/tiny_encoder.py:486
Methodforward
(self, x)
ultralytics/models/sam/modules/tiny_encoder.py:651
Methodforward
Args: image_embedding (torch.Tensor): image to attend to. Should be shape B x embedding_dim x h x w for any h and w.
ultralytics/models/sam/modules/transformer.py:56
Methodforward
Apply self-attention and cross-attention to queries and keys and return the processed embeddings.
ultralytics/models/sam/modules/transformer.py:142
Methodforward
Compute the attention output given the input query, key, and value tensors.
ultralytics/models/sam/modules/transformer.py:211
Methodforward
Predicts masks end-to-end from provided images and prompts. If prompts are not known in advance, using SamPredictor is recomm
ultralytics/models/sam/modules/sam.py:57
Methodforward_fuse
Perform transposed convolution of 2D data.
ultralytics/nn/modules/conv.py:40
Methodforward_fuse
Applies activation and convolution transpose operation to input.
ultralytics/nn/modules/conv.py:111
Methodforward_fuse
Forward process
ultralytics/nn/modules/conv.py:162
Methodforward_split
Forward pass using split() instead of chunk().
ultralytics/nn/modules/block.py:184
Methodfuse
(self)
ultralytics/models/sam/modules/tiny_encoder.py:34
Methodfuse_convs
(self)
ultralytics/nn/modules/conv.py:219
Functionfuse_iou
Fuses ReID and IoU similarity matrices to yield a cost matrix for object tracking.
ultralytics/trackers/utils/matching.py:175
Functionfuse_motion
Fuse motion between tracks and detections with gating and Kalman filtering.
ultralytics/trackers/utils/matching.py:161
Functionfuse_score
Fuses cost matrix with detection scores to produce a single similarity matrix.
ultralytics/trackers/utils/matching.py:188
Functiongate_cost_matrix
Apply gating to the cost matrix based on predicted tracks and detected objects.
ultralytics/trackers/utils/matching.py:148
Methodgating_distance
Compute gating distance between state distribution and measurements. A suitable distance threshold can be obtained from `chi2inv95`. If
ultralytics/trackers/utils/kalman_filter.py:424
Functionget_alarm_list
(page)
app.py:287
Methodget_dataloader
Builds and returns a data loader for classification tasks with given parameters.
ultralytics/models/yolo/classify/val.py:65
Methodget_dataloader
Returns PyTorch DataLoader with transforms to preprocess images for inference.
ultralytics/models/yolo/classify/train.py:73
Methodget_dataloader
Construct and return dataloader.
ultralytics/models/yolo/detect/val.py:187
Methodget_dataloader
Construct and return dataloader.
ultralytics/models/yolo/detect/train.py:31
Functionget_default_callbacks
Return a copy of the default_callbacks dictionary with lists as default values. Returns: (defaultdict): A defaultdict with keys from
ultralytics/utils/callbacks/base.py:181
Methodget_desc
Return a formatted description of evaluation metrics.
ultralytics/models/fastsam/val.py:41
Methodget_desc
Returns a formatted string summarizing classification metrics.
ultralytics/models/yolo/classify/val.py:20
Methodget_desc
Return a formatted description of evaluation metrics.
ultralytics/models/yolo/segment/val.py:41
Methodget_desc
Return a formatted string summarizing class metrics of YOLO model.
ultralytics/models/yolo/detect/val.py:58
Methodget_desc
Returns description of evaluation metrics in string format.
ultralytics/models/yolo/pose/val.py:32
Methodget_dists
Get distances between tracks and detections using IoU and (optionally) ReID embeddings.
ultralytics/trackers/bot_sort.py:130
Functionget_export
Get an exported model dictionary with download URL.
ultralytics/hub/__init__.py:86
Functionget_flops_with_torch_profiler
Compute model FLOPs (thop alternative).
ultralytics/utils/torch_utils.py:243
Functionget_git_branch
Returns the current git branch name. If not in a git repository, returns None. Returns: (str | None): The current git branch name.
ultralytics/utils/__init__.py:523
Methodget_indexes
Return a list of random indexes from the dataset.
ultralytics/data/augment.py:142
Methodget_indexes
Get a random index from the dataset.
ultralytics/data/augment.py:276
Methodget_kalmanfilter
Returns an instance of KalmanFilterXYWH for object tracking.
ultralytics/trackers/bot_sort.py:116
Methodget_labels
Returns dictionary of labels for YOLO training.
ultralytics/data/dataset.py:102
Methodget_model
Return SegmentationModel initialized with specified config and weights.
ultralytics/models/yolo/segment/train.py:21
Methodget_model
Return a YOLO detection model.
ultralytics/models/yolo/detect/train.py:58
Methodget_model
Get pose estimation model with specified configuration and weights.
ultralytics/models/yolo/pose/train.py:25
Methodget_model
Return a YOLO detection model.
ultralytics/models/rtdetr/train.py:16
Functionget_monitor_list
(page)
app.py:272
Methodget_state
Get the authentication state. Returns: bool: True if either id_token or API key is set, False otherwise.
ultralytics/hub/auth.py:123
Methodget_stats
Returns a dictionary of metrics obtained by processing targets and predictions.
ultralytics/models/yolo/classify/val.py:57
Methodget_stats
Returns metrics statistics and results dictionary.
ultralytics/models/yolo/detect/val.py:123
Functionget_user_list
(page)
app.py:262
Methodget_validator
Returns an instance of ClassificationValidator for validation.
ultralytics/models/yolo/classify/train.py:98
Methodget_validator
Return an instance of SegmentationValidator for validation of YOLO model.
ultralytics/models/yolo/segment/train.py:29
Methodget_validator
Returns a DetectionValidator for YOLO model validation.
ultralytics/models/yolo/detect/train.py:65
Methodget_validator
Returns an instance of the PoseValidator class for validation.
ultralytics/models/yolo/pose/train.py:38
Methodget_validator
Returns a DetectionValidator for RTDETR model validation.
ultralytics/models/rtdetr/train.py:42
Functiongit_describe
Return human-readable git description, i.e. v5.0-5-g3e25f1e https://git-scm.com/docs/git-describe.
ultralytics/utils/checks.py:431
Methodid
Return the track IDs of the boxes (if available).
ultralytics/engine/results.py:428
Functionimread
(filename, flags=cv2.IMREAD_COLOR)
ultralytics/utils/patches.py:16
Functionimshow
(path, im)
ultralytics/utils/patches.py:28
Functionimwrite
(filename, img)
ultralytics/utils/patches.py:20
Methodinfo
Logs model info. Args: detailed (bool): Show detailed information about model. verbose (bool): Controls verb
ultralytics/models/sam/model.py:38
Methodinit_criterion
(self)
ultralytics/nn/tasks.py:291
Methodinit_criterion
(self)
ultralytics/nn/tasks.py:302
Methodinit_criterion
(self)
ultralytics/nn/tasks.py:325
Methodinit_criterion
Compute the classification loss between predictions and true labels.
ultralytics/nn/tasks.py:402
Methodinit_metrics
Initialize metrics and select mask processing function based on save_json flag.
ultralytics/models/fastsam/val.py:31
Methodinit_metrics
Initialize confusion matrix, class names, and top-1 and top-5 accuracy.
ultralytics/models/yolo/classify/val.py:24
Methodinit_metrics
Initialize metrics and select mask processing function based on save_json flag.
ultralytics/models/yolo/segment/val.py:31
Methodinit_metrics
Initialize evaluation metrics for YOLO.
ultralytics/models/yolo/detect/val.py:43
Methodinit_metrics
Initiate pose estimation metrics for YOLO model.
ultralytics/models/yolo/pose/val.py:48
Methodinit_track
Initialize track with detections, scores, and classes.
ultralytics/trackers/bot_sort.py:120
Methodinitiate
Create track from unassociated measurement. Parameters ---------- measurement : ndarray Bounding box coordinates
ultralytics/trackers/utils/kalman_filter.py:272
Functioninterceptor
()
app.py:155
Methodis_save_res
(self)
main.py:466
Methodis_save_txt
(self)
main.py:475
Methodis_show_labels
(self)
main.py:484
Methodis_show_trace
(self)
main.py:493
Methodkeys
Returns a list of keys for accessing metrics.
ultralytics/utils/metrics.py:794
Methodkeys
Returns list of evaluation metric keys.
ultralytics/utils/metrics.py:909
Methodkeys
Returns a list of keys for the results_dict property.
ultralytics/utils/metrics.py:975
Methodlabel_loss_items
Returns a loss dict with labelled training loss items tensor
ultralytics/models/yolo/classify/train.py:103
Methodlabel_loss_items
Returns a loss dict with labelled training loss items tensor
ultralytics/models/yolo/detect/train.py:70
Functionlinear_assignment
Linear assignment implementations with scipy and lap.lapjv.
ultralytics/trackers/utils/matching.py:50
Methodload_image
Loads 1 image from dataset index 'i', returns (im, resized hw).
ultralytics/models/rtdetr/val.py:24
Methodlock_id_selection
(self)
main.py:401
← previousnext →1,101–1,200 of 1,475, ranked by callers