MCPcopy Create free account

hub / github.com/YaoaoY/yolov8_GUI / functions

Functions1,475 in github.com/YaoaoY/yolov8_GUI

↓ 4 callersMethod__init__
Initialize YOLO network with default parameters and Convolutional Layers.
ultralytics/nn/modules/head.py:113
↓ 4 callersFunction_build_sam
Builds the selected SAM model architecture.
ultralytics/models/sam/build.py:67
↓ 4 callersFunction_log_images
Logs images to the experiment with optional annotations.
ultralytics/utils/callbacks/comet.py:212
↓ 4 callersMethod_predict_once
Perform a forward pass through the network. Args: x (torch.Tensor): The input tensor to the model. profile (
ultralytics/nn/tasks.py:64
↓ 4 callersFunctionattempt_download_asset
Attempt file download from GitHub release assets if not found locally. release = 'latest', 'v6.2', etc.
ultralytics/utils/downloads.py:217
↓ 4 callersFunctionbuild_dataloader
Return an InfiniteDataLoader or DataLoader for training or validation set.
ultralytics/data/build.py:93
↓ 4 callersFunctioncheck_det_dataset
Download, check and/or unzip dataset if not found locally.
ultralytics/data/utils.py:194
↓ 4 callersMethodconvert
Converts bounding box format from one type to another.
ultralytics/utils/instance.py:68
↓ 4 callersFunctioncrop_mask
It takes a mask and a bounding box, and returns a mask that is cropped to the bounding box Args: masks (torch.Tensor): [n, h, w] tenso
ultralytics/utils/ops.py:552
↓ 4 callersMethoddialog
(self,title,text,flags)
ui/toast/toast.py:269
↓ 4 callersFunctionexport_fmts_hub
Returns a list of HUB-supported export formats.
ultralytics/hub/__init__.py:70
↓ 4 callersFunctionfile_size
Return file/dir size (MB).
ultralytics/utils/files.py:130
↓ 4 callersFunctionguess_model_task
Guess the task of a PyTorch model from its architecture or configuration. Args: model (nn.Module | dict): PyTorch model or model con
ultralytics/nn/tasks.py:762
↓ 4 callersFunctionis_dir_writeable
Check if a directory is writeable. Args: dir_path (str | Path): The path to the directory. Returns: (bool): True if the
ultralytics/utils/__init__.py:451
↓ 4 callersMethodload
Load the weights into the model. Args: weights (dict | torch.nn.Module): The pre-trained weights to be loaded. verbos
ultralytics/nn/tasks.py:188
↓ 4 callersFunctionmake_anchors
Generate anchors from features.
ultralytics/utils/tal.py:246
↓ 4 callersMethodmoveWindow
(event)
ui/ui_function.py:104
↓ 4 callersFunctionoutput_to_target
Convert model output to target format [batch_id, class_id, x, y, w, h, conf] for plotting.
ultralytics/utils/plotting.py:537
↓ 4 callersFunctionplot_results
Plot training results.csv. Usage: from utils.plots import *; plot_results('path/to/results.csv').
ultralytics/utils/plotting.py:495
↓ 4 callersMethodpredict
Perform prediction using the YOLO model. Args: source (str | int | PIL | np.ndarray): The source of the image to make pr
ultralytics/engine/model.py:205
↓ 4 callersMethodprocess
Process predicted results for object detection and update metrics.
ultralytics/utils/metrics.py:673
↓ 4 callersMethodrun_callbacks
Runs all callbacks associated with a specified event.
ultralytics/engine/validator.py:206
↓ 4 callersMethodshadow_style
(self, widget, Color)
ui/ui_function.py:132
↓ 4 callersMethodsmart_load
Load model/trainer/validator/predictor.
ultralytics/engine/model.py:447
↓ 4 callersMethodupdate
Update a matched track :type new_track: STrack :type frame_id: int :return:
ultralytics/trackers/byte_tracker.py:93
↓ 4 callersFunctionurl2file
Convert URL to filename, i.e. https://url.com/file.txt?auth -> file.txt.
ultralytics/utils/__init__.py:809
↓ 4 callersFunctionyaml_model_load
Load a YOLOv8 model from a YAML file.
ultralytics/nn/tasks.py:726
↓ 3 callersMethod__init__
Initialize the Boxes class.
ultralytics/engine/results.py:402
↓ 3 callersFunction_fetch_trainer_metadata
Returns metadata for YOLO training including epoch and asset saving status.
ultralytics/utils/callbacks/comet.py:85
↓ 3 callersMethod_fuse_bn_tensor
(self, branch)
ultralytics/nn/modules/conv.py:192
↓ 3 callersFunction_log_scalars
Log scalars to the NeptuneAI experiment logger.
ultralytics/utils/callbacks/neptune.py:22
↓ 3 callersMethod_process_batch
Return correct prediction matrix Arguments: detections (array[N, 6]), x1, y1, x2, y2, conf, class labels (arr
ultralytics/models/yolo/pose/val.py:113
↓ 3 callersMethod_separate_heads
Separate the input tensor into the specified number of attention heads.
ultralytics/models/sam/modules/transformer.py:199
↓ 3 callersMethodauthenticate
Attempt to authenticate with the server using either id_token or API key. Returns: bool: True if authentication is succe
ultralytics/hub/auth.py:68
↓ 3 callersMethodbbox_decode
Decode predicted object bounding box coordinates from anchor points and distribution.
ultralytics/utils/loss.py:146
↓ 3 callersFunctionbuild_sam
Build a SAM model specified by ckpt.
ultralytics/models/sam/build.py:148
↓ 3 callersFunctioncheck_class_names
Check class names. Map imagenet class codes to human-readable names if required. Convert lists to dicts.
ultralytics/nn/autobackend.py:24
↓ 3 callersFunctioncheck_suffix
Check file(s) for acceptable suffix.
ultralytics/utils/checks.py:287
↓ 3 callersFunctioncheck_url
判断img_url路径是否含有中文字符 :param img_url: 图片路径 :return: True or False
utils/main_utils.py:9
↓ 3 callersFunctionclip_boxes
It takes a list of bounding boxes and a shape (height, width) and clips the bounding boxes to the shape Args: boxes (torch.Tensor)
ultralytics/utils/ops.py:283
↓ 3 callersMethodconvert_coords
Convert a bounding box's top-left-width-height format to its x-y-angle-height equivalent.
ultralytics/trackers/byte_tracker.py:113
↓ 3 callersMethodexport_onnx
YOLOv8 ONNX export.
ultralytics/engine/exporter.py:300
↓ 3 callersMethodfliplr
Reverses the order of the bounding boxes and segments horizontally.
ultralytics/utils/instance.py:304
↓ 3 callersMethodfuse
Fuse the `Conv2d()` and `BatchNorm2d()` layers of the model into a single layer, in order to improve the computation efficiency.
ultralytics/nn/tasks.py:119
↓ 3 callersFunctionget_github_assets
Return GitHub repo tag and assets (i.e. ['yolov8n.pt', 'yolov8s.pt', ...]).
ultralytics/utils/downloads.py:205
↓ 3 callersFunctionis_ascii
Check if a string is composed of only ASCII characters. Args: s (str): String to be checked. Returns: bool: True if the
ultralytics/utils/checks.py:28
↓ 3 callersFunctionis_kaggle
Check if the current script is running inside a Kaggle kernel. Returns: (bool): True if running inside a Kaggle kernel, False otherw
ultralytics/utils/__init__.py:369
↓ 3 callersFunctionis_online
Check internet connectivity by attempting to connect to a known online host. Returns: (bool): True if connection is successful, Fals
ultralytics/utils/__init__.py:408
↓ 3 callersMethodjoint_stracks
Combine two lists of stracks into a single one.
ultralytics/trackers/byte_tracker.py:322
↓ 3 callersMethodkeys
Returns a list of keys for accessing specific metrics.
ultralytics/utils/metrics.py:687
↓ 3 callersMethodmap
Returns the mean Average Precision (mAP) over IoU thresholds of 0.5 - 0.95 in steps of 0.05. Returns: (float): The mAP o
ultralytics/utils/metrics.py:597
↓ 3 callersMethodmaximize_restore
(self)
ui/ui_function.py:72
↓ 3 callersFunctionmodel_info
Model information. imgsz may be int or list, i.e. imgsz=640 or imgsz=[640, 320].
ultralytics/utils/torch_utils.py:172
↓ 3 callersMethodmodify
(self, sql, args=None)
classes/sql_connect.py:63
↓ 3 callersFunctionplot_mc_curve
Plots a metric-confidence curve.
ultralytics/utils/metrics.py:353
↓ 3 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/models/sam/predict.py:57
↓ 3 callersMethodpredict
Perform a forward pass through the network. Args: x (torch.Tensor): The input tensor to the model. profile (
ultralytics/nn/tasks.py:47
↓ 3 callersMethodpreprocess
Preprocesses the target counts and matches with the input batch size to output a tensor.
ultralytics/utils/loss.py:129
↓ 3 callersMethodretrieve
(self, model, preprocess, elements, search_text: str, device)
ultralytics/models/fastsam/prompt.py:308
↓ 3 callersMethodsave_config
(self)
classes/main_config.py:72
↓ 3 callersMethodscale
this might be similar with denormalize func but without normalized sign.
ultralytics/utils/instance.py:218
↓ 3 callersMethodsetupUi
(self, Form)
ui/dialog/id_dialog.py:22
↓ 3 callersMethodstream_inference
Streams real-time inference on camera feed and saves results to file.
ultralytics/engine/predictor.py:219
↓ 3 callersFunctiontorch_distributed_zero_first
Decorator to make all processes in distributed training wait for each local_master to do something.
ultralytics/utils/torch_utils.py:35
↓ 3 callersMethodupdate_features
Update features vector and smooth it using exponential moving average.
ultralytics/trackers/bot_sort.py:28
↓ 2 callersMethod__init__
(self, *args, data=None, use_segments=False, use_keypoints=False, **kwargs)
ultralytics/data/dataset.py:35
↓ 2 callersMethod__init__
( self, embedding_dim: int, num_heads: int, downsample_rate: int = 1, )
ultralytics/models/sam/modules/transformer.py:182
↓ 2 callersMethod__str__
Return a human-readable string representation of the object.
ultralytics/utils/__init__.py:115
↓ 2 callersMethod_add_tflite_metadata
Add metadata to *.tflite models per https://www.tensorflow.org/lite/models/convert/metadata.
ultralytics/engine/exporter.py:747
↓ 2 callersMethod_cat_labels
Return labels with mosaic border instances clipped.
ultralytics/data/augment.py:248
↓ 2 callersMethod_format_results
(result, filter=0)
ultralytics/models/fastsam/prompt.py:46
↓ 2 callersFunction_get_eval_batch_logging_interval
()
ultralytics/utils/callbacks/comet.py:36
↓ 2 callersMethod_get_loss
Get losses
ultralytics/models/utils/loss.py:181
↓ 2 callersFunction_get_max_image_predictions_to_log
()
ultralytics/utils/callbacks/comet.py:40
↓ 2 callersFunction_log_confusion_matrix
Log the confusion matrix to Comet experiment.
ultralytics/utils/callbacks/comet.py:199
↓ 2 callersFunction_log_debug_samples
Log files (images) as debug samples in the ClearML task. Args: files (list): A list of file paths in PosixPath format. title
ultralytics/utils/callbacks/clearml.py:24
↓ 2 callersFunction_log_image_predictions
Logs predicted boxes for a single image during training.
ultralytics/utils/callbacks/comet.py:223
↓ 2 callersFunction_log_images
Log scalars to the NeptuneAI experiment logger.
ultralytics/utils/callbacks/neptune.py:29
↓ 2 callersFunction_log_model
Log the best-trained model to Comet.ml.
ultralytics/utils/callbacks/comet.py:277
↓ 2 callersFunction_log_scalars
Logs scalar values to TensorBoard.
ultralytics/utils/callbacks/tensorboard.py:18
↓ 2 callersMethod_new_video
Create a new video capture object.
ultralytics/data/loaders.py:246
↓ 2 callersFunction_ntuple
From PyTorch internals.
ultralytics/utils/instance.py:13
↓ 2 callersMethod_pe_encoding
Positionally encode points that are normalized to [0,1].
ultralytics/models/sam/modules/encoders.py:284
↓ 2 callersMethod_process_batch
Return correct prediction matrix Arguments: detections (array[N, 6]), x1, y1, x2, y2, conf, class labels (arr
ultralytics/models/fastsam/val.py:131
↓ 2 callersMethod_process_batch
Return correct prediction matrix Arguments: detections (array[N, 6]), x1, y1, x2, y2, conf, class labels (arr
ultralytics/models/yolo/segment/val.py:131
↓ 2 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:94
↓ 2 callersFunction_scale_confidence_score
(score)
ultralytics/utils/callbacks/comet.py:44
↓ 2 callersFunction_should_log_confusion_matrix
()
ultralytics/utils/callbacks/comet.py:49
↓ 2 callersFunction_should_log_image_predictions
()
ultralytics/utils/callbacks/comet.py:53
↓ 2 callersMethod_update_labels
Update labels.
ultralytics/data/augment.py:240
↓ 2 callersMethodadd_callback
Add a callback.
ultralytics/engine/model.py:423
↓ 2 callersMethodadd_padding
Handle rect and mosaic situation.
ultralytics/utils/instance.py:253
↓ 2 callersFunctionattempt_load_weights
Loads an ensemble of models weights=[a,b,c] or a single model weights=[a] or weights=a.
ultralytics/nn/tasks.py:581
↓ 2 callersFunctionautopad
Pad to 'same' shape outputs.
ultralytics/nn/modules/conv.py:16
↓ 2 callersFunctionbatched_mask_to_box
Calculates boxes in XYXY format around masks. Return [0,0,0,0] for an empty mask. For input shape C1xC2x...xHxW, the output shape is C1xC2x..
ultralytics/models/sam/amg.py:277
↓ 2 callersFunctionbenchmark
Benchmark a YOLO model across different formats for speed and accuracy. Args: model (str | Path | optional): Path to the model file
ultralytics/utils/benchmarks.py:47
↓ 2 callersMethodbottom
(self, Form)
ui/custom_grips.py:161
↓ 2 callersMethodbox_label
Add one xyxy box to image with label.
ultralytics/utils/plotting.py:101
↓ 2 callersFunctionbuild_yolo_dataset
Build YOLO Dataset
ultralytics/data/build.py:72
↓ 2 callersFunctioncfg2dict
Convert a configuration object to a dictionary, whether it is a file path, a string, or a SimpleNamespace object. Args: cfg (str | P
ultralytics/cfg/__init__.py:80
← previousnext →101–200 of 1,475, ranked by callers