MCPcopy Create free account

hub / github.com/YaoaoY/yolov8_GUI / functions

Functions1,475 in github.com/YaoaoY/yolov8_GUI

↓ 1 callersMethodprint_results
Prints the results of the model's predictions.
ultralytics/engine/validator.py:247
↓ 1 callersMethodprint_table
(self, table_rows)
ultralytics/utils/benchmarks.py:347
↓ 1 callersMethodprocess_cls_preds
Update confusion matrix for classification task Args: preds (Array[N, min(nc,5)]): Predicted class labels. t
ultralytics/utils/metrics.py:197
↓ 1 callersFunctionprofile
YOLOv8 speed/memory/FLOPs profiler Usage: input = torch.randn(16, 3, 640, 640) m1 = lambda x: x * torch.sigmoid(x) m
ultralytics/utils/torch_utils.py:425
↓ 1 callersMethodprofile_onnx_model
(self, onnx_file: str)
ultralytics/utils/benchmarks.py:282
↓ 1 callersMethodprofile_tensorrt_model
(self, engine_file: str)
ultralytics/utils/benchmarks.py:254
↓ 1 callersMethodprogress_string
Returns a string describing training progress.
ultralytics/engine/trainer.py:519
↓ 1 callersFunctionqInitResources
()
ui/resources.py:3169
↓ 1 callersFunctionqInitResources
()
ui/toast/rc_icons.py:1197
↓ 1 callersFunctionregister_tracker
Register tracking callbacks to the model for object tracking during prediction. Args: model (object): The model object to register t
ultralytics/trackers/track.py:56
↓ 1 callersMethodremove_duplicate_stracks
Remove duplicate stracks with non-maximum IOU distance.
ultralytics/trackers/byte_tracker.py:350
↓ 1 callersMethodremove_zero_area_boxes
Remove zero-area boxes, i.e. after clipping some boxes may have zero width or height. This removes them.
ultralytics/utils/instance.py:331
↓ 1 callersMethodrequest_api_key
Prompt the user to input their API key. Returns the model ID.
ultralytics/hub/auth.py:55
↓ 1 callersFunctionrequest_with_credentials
Make an AJAX request with cookies attached in a Google Colab environment. Args: url (str): The URL to make the request to. Retu
ultralytics/hub/utils.py:24
↓ 1 callersFunctionrequests_with_progress
Make an HTTP request using the specified method and URL, with an optional progress bar. Args: method (str): The HTTP method to use (
ultralytics/hub/utils.py:61
↓ 1 callersMethodres_address
(self, img_res, result, height, width, model, out)
classes/yolo_abandon_02.py:294
↓ 1 callersMethodres_address
(self, img_res, result, height, width, model, out)
classes/yolo.py:180
↓ 1 callersMethodres_address
(self, img_res, result, height, width, model, out)
classes/yolo_abandon_03.py:194
↓ 1 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/utils/ops.py:532
↓ 1 callersMethodreset
Resets the settings to default and saves them.
ultralytics/utils/__init__.py:788
↓ 1 callersMethodreset_id
Resets the ID counter of STrack.
ultralytics/trackers/byte_tracker.py:317
↓ 1 callersMethodreshape_outputs
Update a TorchVision classification model to class count 'n' if required.
ultralytics/nn/tasks.py:382
↓ 1 callersMethodresize_grips
(self)
ui/ui_function.py:125
↓ 1 callersMethodresume_training
Resume YOLO training from given epoch and best fitness.
ultralytics/engine/trainer.py:579
↓ 1 callersMethodretranslateUi
(self, MainWindow)
ui/main_window.py:1826
↓ 1 callersMethodretranslateUi
(self, Form)
ui/dialog/rtsp_dialog.py:158
↓ 1 callersMethodretranslateUi
(self, Form)
ui/dialog/id_dialog.py:158
↓ 1 callersFunctionrle2polygon
Convert Run-Length Encoding (RLE) mask to polygon coordinates. Args: segmentation (dict, list): RLE mask representation of the objec
ultralytics/data/converter.py:118
↓ 1 callersMethodrun_continue
(self)
classes/car_chart.py:89
↓ 1 callersFunctionrun_ray_tune
Runs hyperparameter tuning using Ray Tune. Args: model (YOLO): Model to run the tuner on. space (dict, optional): The hyperp
ultralytics/utils/tuner.py:6
↓ 1 callersMethodsave_crop
Save cropped predictions to `save_dir/cls/file_name.jpg`. Args: save_dir (str | pathlib.Path): Save path. fi
ultralytics/engine/results.py:324
↓ 1 callersFunctionsave_img_base64
(image_data, path)
utils/flask_utils.py:26
↓ 1 callersMethodsave_metrics
Saves training metrics to a CSV file.
ultralytics/engine/trainer.py:532
↓ 1 callersMethodsave_model
Save model checkpoints based on various conditions.
ultralytics/engine/trainer.py:407
↓ 1 callersFunctionsave_one_box
Save image crop as {file} with crop size multiple {gain} and {pad} pixels. Save and/or return crop. This function takes a bounding box and an ima
ultralytics/utils/plotting.py:315
↓ 1 callersMethodsave_preds
Save video predictions as mp4 at specified path.
ultralytics/engine/predictor.py:327
↓ 1 callersMethodsave_txt
Save predictions into txt file. Args: txt_file (str): txt file path. save_conf (bool): save confidence score
ultralytics/engine/results.py:290
↓ 1 callersFunctionscale_image
Takes a mask, and resizes it to the original image size Args: masks (np.ndarray): resized and padded masks/images, [h, w, num]/[h, w,
ultralytics/utils/ops.py:321
↓ 1 callersFunctionscale_img
(img, ratio=1.0, same_shape=False, gs=32)
ultralytics/utils/torch_utils.py:270
↓ 1 callersFunctionscale_masks
Rescale segment masks to shape. Args: masks (torch.Tensor): (N, C, H, W). shape (tuple): Height and width. padding (
ultralytics/utils/ops.py:644
↓ 1 callersFunctionsegment2box
Convert 1 segment label to 1 box label, applying inside-image constraint, i.e. (xy1, xy2, ...) to (xyxy) Args: segment (torch.Tensor):
ultralytics/utils/ops.py:77
↓ 1 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/utils/ops.py:515
↓ 1 callersFunctionselect_candidates_in_gts
select the positive anchor center in gt Args: xy_centers (Tensor): shape(h*w, 4) gt_bboxes (Tensor): shape(b, n_boxes, 4) Ret
ultralytics/utils/tal.py:12
↓ 1 callersFunctionselect_highest_overlaps
if an anchor box is assigned to multiple gts, the one with the highest iou will be selected. Args: mask_pos (Tensor): shape(b, n_
ultralytics/utils/tal.py:29
↓ 1 callersMethodselect_topk_candidates
Select the top-k candidates based on the given metrics. Args: metrics (Tensor): A tensor of shape (b, max_num_obj, h*w),
ultralytics/utils/tal.py:162
↓ 1 callersMethodset_layer_lr_decay
(self, layer_lr_decay)
ultralytics/models/sam/modules/tiny_encoder.py:589
↓ 1 callersMethodset_lock_id
(self,lock_id)
main.py:409
↓ 1 callersFunctionset_logging
Sets up logging for the given name.
ultralytics/utils/__init__.py:207
↓ 1 callersMethodset_model_attributes
To set or update model parameters before training.
ultralytics/engine/trainer.py:509
↓ 1 callersMethodset_prompts
Set prompts in advance.
ultralytics/models/sam/predict.py:357
↓ 1 callersMethodset_rectangle
Sets the shape of bounding boxes for YOLO detections as rectangles.
ultralytics/data/base.py:213
↓ 1 callersFunctionset_sentry
Initialize the Sentry SDK for error tracking and reporting. Only used if sentry_sdk package is installed and sync=True in settings. Run 'yolo
ultralytics/utils/__init__.py:643
↓ 1 callersMethodsettingBox
(self, enable)
ui/ui_function.py:37
↓ 1 callersMethodsetup_model
Initialize YOLO model with given parameters and set it to evaluation mode.
ultralytics/engine/predictor.py:303
↓ 1 callersMethodsetup_model
Set up YOLO model with specified thresholds and device.
ultralytics/models/sam/predict.py:295
↓ 1 callersMethodsetup_source
Sets up source and inference mode.
ultralytics/engine/predictor.py:205
↓ 1 callersMethodsetup_source
Sets up source and inference mode.
ultralytics/models/sam/predict.py:335
↓ 1 callersMethodsimple_target_tracking
(self, detections, img_res)
classes/yolo_abandon_02.py:403
↓ 1 callersMethodsingle_mask_loss
Mask loss for one image.
ultralytics/utils/loss.py:290
↓ 1 callersMethodsingle_object_tracking
(self, detections, img_box)
classes/yolo_abandon_02.py:175
↓ 1 callersMethodsingle_object_tracking
(self, detections, img_box)
classes/yolo.py:276
↓ 1 callersMethodsingle_object_tracking
(self, detections, img_box, org_2, store_xyxy_for_id)
classes/yolo_abandon_01.py:166
↓ 1 callersMethodsingle_object_tracking
(self, detections, img_box)
classes/yolo_abandon_03.py:319
↓ 1 callersFunctionsmart_value
Convert a string to an underlying type such as int, float, bool, etc.
ultralytics/cfg/__init__.py:276
↓ 1 callersFunctionstart
Start training models with Ultralytics HUB (DEPRECATED). Args: key (str, optional): A string containing either the API key and model
ultralytics/hub/__init__.py:42
↓ 1 callersMethodstop
(self)
classes/car_chart.py:81
↓ 1 callersFunctionstrip_auth
Clean longer Ultralytics HUB URLs by stripping potential authentication information.
ultralytics/utils/checks.py:443
↓ 1 callersFunctiontemporary_modules
Context manager for temporarily adding or modifying modules in Python's module cache (`sys.modules`). This function can be used to change th
ultralytics/nn/tasks.py:501
↓ 1 callersMethodtlbr_to_tlwh
Converts top-left bottom-right format to top-left width height format.
ultralytics/trackers/byte_tracker.py:149
↓ 1 callersMethodtlwh_to_xyah
Convert bounding box to format `(center x, center y, aspect ratio, height)`, where the aspect ratio is `width / height`.
ultralytics/trackers/byte_tracker.py:139
↓ 1 callersMethodtlwh_to_xywh
Convert bounding box to format `(center x, center y, width, height)`.
ultralytics/trackers/bot_sort.py:92
↓ 1 callersMethodto
Return a copy of the Results object with tensors on the specified device and dtype.
ultralytics/engine/results.py:149
↓ 1 callersMethodtoggleMenu
(self, enable)
ui/ui_function.py:17
↓ 1 callersMethodtop
(self, Form)
ui/custom_grips.py:121
↓ 1 callersFunctiontrain
Train the YOLO classification model.
ultralytics/models/yolo/classify/train.py:146
↓ 1 callersFunctiontrain
Train a YOLO segmentation model based on passed arguments.
ultralytics/models/yolo/segment/train.py:50
↓ 1 callersFunctiontrain
Train and optimize YOLO model given training data and device.
ultralytics/models/yolo/detect/train.py:108
↓ 1 callersFunctiontrain
Train the YOLO model on the given data and device.
ultralytics/models/yolo/pose/train.py:65
↓ 1 callersFunctiontrain
Train and optimize RTDETR model given training data and device.
ultralytics/models/rtdetr/train.py:59
↓ 1 callersMethodtrain
Allow device='', device=None on Multi-GPU systems to default to device=0.
ultralytics/engine/trainer.py:167
↓ 1 callersMethoduiDefinitions
(self)
ui/ui_function.py:96
↓ 1 callersFunctionuncrop_masks
Uncrop masks by padding them to the original image size.
ultralytics/models/sam/amg.py:236
↓ 1 callersMethodupdate_attr
Updates attributes and saves stripped model with optimizer removed.
ultralytics/utils/torch_utils.py:373
↓ 1 callersMethodupdate_labels
include_class, filter labels to include only these classes (optional).
ultralytics/data/base.py:125
↓ 1 callersMethodupdate_labels_info
custom your label format here.
ultralytics/data/base.py:257
↓ 1 callersMethodupdate_metrics
Updates metrics based on predictions and batch.
ultralytics/engine/validator.py:231
↓ 1 callersMethodupload_metrics
Upload model metrics to Ultralytics HUB.
ultralytics/hub/session.py:97
↓ 1 callersFunctionval
Validate YOLO model using custom data.
ultralytics/models/yolo/classify/val.py:95
↓ 1 callersFunctionval
Validate trained YOLO model on validation data.
ultralytics/models/yolo/segment/val.py:247
↓ 1 callersFunctionval
Validate trained YOLO model on validation dataset.
ultralytics/models/yolo/detect/val.py:261
↓ 1 callersFunctionval
Performs validation on YOLO model using given data.
ultralytics/models/yolo/pose/val.py:212
↓ 1 callersMethodvalidate
Runs validation on test set using self.validator. The returned dict is expected to contain "fitness" key.
ultralytics/engine/trainer.py:474
↓ 1 callersMethodverbose
Return log string for each task.
ultralytics/engine/results.py:273
↓ 1 callersFunctionwindow_partition
Partition into non-overlapping windows with padding if needed. Args: x (tensor): input tokens with [B, H, W, C]. window_size
ultralytics/models/sam/modules/encoders.py:435
↓ 1 callersFunctionwindow_unpartition
Window unpartition into original sequences and removing padding. Args: windows (tensor): input tokens with [B * num_windows, window_s
ultralytics/models/sam/modules/encoders.py:459
↓ 1 callersFunctionwrap_unauthorized_return_value
(message: str)
utils/flask_utils.py:85
↓ 1 callersMethodwrite_results
Write inference results to a file or directory.
ultralytics/engine/predictor.py:152
↓ 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/utils/ops.py:456
↓ 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/utils/ops.py:471
↓ 1 callersMethodyolo_init
(self)
main.py:88
← previousnext →601–700 of 1,475, ranked by callers