MCPcopy Create free account

hub / github.com/chips96/DEYOLO / functions

Functions1,029 in github.com/chips96/DEYOLO

↓ 1 callersFunctionbox_candidates
(box1, box2, wh_thr=2, ar_thr=100, area_thr=0.1, eps=1e-16)
ultralytics/yolo/data/dataloaders/v5augmentations.py:304
↓ 1 callersMethodbox_candidates
(self, box1, box2, wh_thr=2, ar_thr=100, area_thr=0.1, eps=1e-16)
ultralytics/yolo/data/augment.py:493
↓ 1 callersMethodbuild_2d_sincos_position_embedding
(w, h, embed_dim=256, temperature=10000.)
ultralytics/nn/modules/transformer.py:83
↓ 1 callersMethodbuild_dataset
Build YOLO Dataset Args: img_path (str): Path to the folder containing images. img_path2 (str): Path to the folder co
ultralytics/yolo/v8/detect/val.py:178
↓ 1 callersMethodbuild_dataset
Build YOLO Dataset Args: img_path (str): Path to the folder containing images. img_path2 (str): Path to the folder co
ultralytics/yolo/v8/detect/train.py:21
↓ 1 callersMethodbuild_optimizer
Constructs an optimizer for the given model, based on the specified optimizer name, learning rate, momentum, weight decay, and number
ultralytics/yolo/engine/trainer.py:641
↓ 1 callersMethodbuild_transforms
Users can custom augmentations here like: if self.augment: # Training transforms return Compose([]
ultralytics/yolo/data/base.py:345
↓ 1 callersMethodbuild_transforms
Builds and appends transforms to the list.
ultralytics/yolo/data/dataset.py:156
↓ 1 callersMethodcache_images
Cache images to memory or disk.
ultralytics/yolo/data/base.py:213
↓ 1 callersMethodcache_images2
Cache images to memory or disk.
ultralytics/yolo/data/base.py:229
↓ 1 callersMethodcache_labels
Cache dataset labels, check images and read shapes. Args: path (Path): path where to save the cache file (default: Path('./labels.
ultralytics/yolo/data/dataset.py:41
↓ 1 callersFunctioncheck_amp
This function checks the PyTorch Automatic Mixed Precision (AMP) functionality of a YOLOv8 model. If the checks fail, it means there are anom
ultralytics/yolo/utils/checks.py:355
↓ 1 callersMethodcheck_cache_ram
Check image caching requirements vs available memory.
ultralytics/yolo/data/dataloaders/v5loader.py:732
↓ 1 callersFunctioncheck_disk_space
Check if there is sufficient disk space to download and store a file. Args: url (str, optional): The URL to the file. Defaults to 'h
ultralytics/yolo/utils/downloads.py:87
↓ 1 callersFunctioncheck_imshow
Check if environment supports image displays.
ultralytics/yolo/utils/checks.py:314
↓ 1 callersFunctioncheck_latest_pypi_version
Returns the latest version of a PyPI package without downloading or installing it. Parameters: package_name (str): The name of the p
ultralytics/yolo/utils/checks.py:122
↓ 1 callersFunctioncheck_pip_update_available
Checks if a new version of the ultralytics package is available on PyPI. Returns: (bool): True if an update is available, False othe
ultralytics/yolo/utils/checks.py:140
↓ 1 callersFunctioncheck_python
Check current python version against the required minimum version. Args: minimum (str): Required minimum version of python. Ret
ultralytics/yolo/utils/checks.py:187
↓ 1 callersMethodcheck_resume
Check if resume checkpoint exists and update arguments accordingly.
ultralytics/yolo/engine/trainer.py:590
↓ 1 callersMethodcheck_stats
Checks statistics.
ultralytics/yolo/engine/validator.py:244
↓ 1 callersFunctioncheck_train_batch_size
Check YOLO training batch size using the autobatch() function. Args: model (torch.nn.Module): YOLO model to check batch size for.
ultralytics/yolo/utils/autobatch.py:15
↓ 1 callersFunctioncheck_yolo
Return a human-readable YOLO software and hardware summary.
ultralytics/yolo/utils/checks.py:329
↓ 1 callersFunctioncheck_yolov5u_filename
Replace legacy YOLOv5 filenames with updated YOLOv5u filenames.
ultralytics/yolo/utils/checks.py:269
↓ 1 callersFunctionclassify_albumentations
( augment=True, size=224, scale=(0.08, 1.0), hflip=0.5, vflip=0.0,
ultralytics/yolo/data/augment.py:859
↓ 1 callersFunctionclassify_albumentations
( augment=True, size=224, scale=(0.08, 1.0), ratio=(0.75, 1.0 / 0.75), # 0.75
ultralytics/yolo/data/dataloaders/v5augmentations.py:312
↓ 1 callersFunctionclassify_transforms
Transforms to apply if albumentations not installed.
ultralytics/yolo/data/dataloaders/v5augmentations.py:354
↓ 1 callersFunctionclean_str
Cleans a string by replacing special characters with underscore _ Args: s (str): a string needing special characters replaced Ret
ultralytics/yolo/utils/ops.py:700
↓ 1 callersFunctionclip_coords
Clip line coordinates to the image boundaries. Args: coords (torch.Tensor | numpy.ndarray): A list of line coordinates. shap
ultralytics/yolo/utils/ops.py:292
↓ 1 callersFunctioncoco91_to_coco80_class
Converts 91-index COCO class IDs to 80-index COCO class IDs. Returns: (list): A list of 91 class IDs where the index represents the 80-in
ultralytics/yolo/data/converter.py:13
↓ 1 callersFunctioncompress_one_image
Compresses a single image file to reduced size while preserving its aspect ratio and quality using either the Python Imaging Library (PIL) or
ultralytics/yolo/data/utils.py:479
↓ 1 callersFunctioncompute_ap
Compute the average precision (AP) given the recall and precision curves. Args: recall (list): The recall curve. precision (
ultralytics/yolo/utils/metrics.py:375
↓ 1 callersFunctionconvert_coco
Converts COCO dataset annotations to a format suitable for training YOLOv5 models. Args: labels_dir (str, optional): Path to directory co
ultralytics/yolo/data/converter.py:28
↓ 1 callersFunctioncreate_markdown
(py_filepath, module_path, classes, functions)
docs/build_reference.py:33
↓ 1 callersFunctioncreate_nav_menu_yaml
(nav_items)
docs/build_reference.py:68
↓ 1 callersMethodcuda
Return a copy of the Results object with all tensors on GPU memory.
ultralytics/yolo/engine/results.py:145
↓ 1 callersFunctionddp_cleanup
Delete temp file if created.
ultralytics/yolo/utils/dist.py:64
↓ 1 callersFunctiondelete_dsstore
Deletes all ".DS_store" files under a specified directory. Args: path (str, optional): The directory path where the ".DS_store" file
ultralytics/yolo/data/utils.py:513
↓ 1 callersFunctiondraw_bounding_box
(img, class_id, confidence, x, y, x_plus_w, y_plus_h)
examples/YOLOv8-OpenCV-ONNX-Python/main.py:14
↓ 1 callersMethoddraw_detections
Draws bounding boxes and labels on the input image based on the detected objects. Args: img: The input image to draw det
examples/YOLOv8-ONNXRuntime/main.py:35
↓ 1 callersFunctionentrypoint
This function is the ultralytics package entrypoint, it's responsible for parsing the command line arguments passed to the package. This
ultralytics/yolo/cfg/__init__.py:266
↓ 1 callersMethodeval_json
Evaluate and return JSON format of prediction statistics.
ultralytics/yolo/engine/validator.py:278
↓ 1 callersFunctionexif_size
Returns exif-corrected PIL size.
ultralytics/yolo/data/dataloaders/v5loader.py:60
↓ 1 callersFunctionexport
Export a YOLOv model to a specific format.
ultralytics/yolo/engine/exporter.py:906
↓ 1 callersMethodexport_coreml
YOLOv8 CoreML export.
ultralytics/yolo/engine/exporter.py:452
↓ 1 callersMethodexport_edgetpu
YOLOv8 Edge TPU export https://coral.ai/docs/edgetpu/models-intro/.
ultralytics/yolo/engine/exporter.py:636
↓ 1 callersMethodexport_engine
YOLOv8 TensorRT export https://developer.nvidia.com/tensorrt.
ultralytics/yolo/engine/exporter.py:494
↓ 1 callersMethodexport_ncnn
YOLOv8 NCNN export using PNNX https://github.com/pnnx/pnnx.
ultralytics/yolo/engine/exporter.py:401
↓ 1 callersMethodexport_openvino
YOLOv8 OpenVINO export.
ultralytics/yolo/engine/exporter.py:355
↓ 1 callersMethodexport_paddle
YOLOv8 Paddle export.
ultralytics/yolo/engine/exporter.py:387
↓ 1 callersMethodexport_pb
YOLOv8 TensorFlow GraphDef *.pb export https://github.com/leimao/Frozen_Graph_TensorFlow.
ultralytics/yolo/engine/exporter.py:605
↓ 1 callersMethodexport_saved_model
YOLOv8 TensorFlow SavedModel export.
ultralytics/yolo/engine/exporter.py:559
↓ 1 callersMethodexport_tfjs
YOLOv8 TensorFlow.js export.
ultralytics/yolo/engine/exporter.py:663
↓ 1 callersMethodexport_tflite
YOLOv8 TensorFlow Lite export.
ultralytics/yolo/engine/exporter.py:621
↓ 1 callersMethodexport_torchscript
YOLOv8 TorchScript model export.
ultralytics/yolo/engine/exporter.py:284
↓ 1 callersFunctionextract_classes_and_functions
(filepath)
docs/build_reference.py:20
↓ 1 callersFunctionfeature_visualization
Visualize feature maps of a given model module during inference. Args: x (torch.Tensor): Features to be visualized. module_t
ultralytics/yolo/utils/plotting.py:509
↓ 1 callersFunctionfile_iterator
examples/YOLOv8-ONNXRuntime-CPP/main.cpp:8
↓ 1 callersMethodfinal_eval
Performs final evaluation and validation for object detection YOLO model.
ultralytics/yolo/engine/trainer.py:578
↓ 1 callersMethodfinalize_metrics
Finalizes and returns all metrics.
ultralytics/yolo/engine/validator.py:236
↓ 1 callersFunctionfind_free_network_port
Finds a free port on localhost. It is useful in single-node training when we don't want to connect to a real main node but have to set the `M
ultralytics/yolo/utils/dist.py:15
↓ 1 callersMethodforward
Forward pass of the model on a single scale. Wrapper for `_forward_once` method. Args: x1 (torch.Tensor | dict):
ultralytics/nn/tasks.py:32
↓ 1 callersMethodforward
Runs inference on the YOLOv8 MultiBackend model. Args: im (torch.Tensor): The image tensor to perform inference on.
ultralytics/nn/autobackend.py:298
↓ 1 callersMethodforward
(self, x)
ultralytics/nn/modules/transformer.py:163
↓ 1 callersMethodforward_ffn
(self, tgt)
ultralytics/nn/modules/transformer.py:304
↓ 1 callersMethodforward_post
(self, src, src_mask=None, src_key_padding_mask=None, pos=None)
ultralytics/nn/modules/transformer.py:43
↓ 1 callersMethodforward_pre
(self, src, src_mask=None, src_key_padding_mask=None, pos=None)
ultralytics/nn/modules/transformer.py:53
↓ 1 callersFunctionfuse_conv_and_bn
Fuse Conv2d() and BatchNorm2d() layers https://tehnokv.com/posts/fusing-batchnorm-and-conv/.
ultralytics/yolo/utils/torch_utils.py:114
↓ 1 callersFunctionfuse_deconv_and_bn
Fuse ConvTranspose2d() and BatchNorm2d() layers.
ultralytics/yolo/utils/torch_utils.py:138
↓ 1 callersFunctiongenerate_ddp_command
Generates and returns command for distributed training.
ultralytics/yolo/utils/dist.py:49
↓ 1 callersFunctiongenerate_ddp_file
Generates a DDP file and returns its file name.
ultralytics/yolo/utils/dist.py:26
↓ 1 callersMethodgenerate_results_dict
(self, model_name, t_onnx, t_engine, model_info)
ultralytics/yolo/utils/benchmarks.py:333
↓ 1 callersMethodgenerate_table_row
(self, model_name, t_onnx, t_engine, model_info)
ultralytics/yolo/utils/benchmarks.py:329
↓ 1 callersFunctionget_best_youtube_url
Retrieves the URL of the best quality MP4 video stream from a given YouTube video. This function uses the pafy or yt_dlp library to extract
ultralytics/yolo/data/dataloaders/stream_loaders.py:360
↓ 1 callersMethodget_box_metrics
Compute alignment metric given predicted and ground truth bounding boxes.
ultralytics/yolo/utils/tal.py:141
↓ 1 callersMethodget_dataloader
Get data loader from dataset path and batch size.
ultralytics/yolo/engine/validator.py:212
↓ 1 callersMethodget_dataset
Get train, val path from data dict if it exists. Returns None if data format is not recognized.
ultralytics/yolo/engine/trainer.py:465
↓ 1 callersFunctionget_default_args
Returns a dictionary of default arguments for a function. Args: func (callable): The function to inspect. Returns: (dict): A
ultralytics/yolo/utils/__init__.py:507
↓ 1 callersMethodget_desc
Get description of the YOLO model.
ultralytics/yolo/engine/validator.py:252
↓ 1 callersMethodget_equivalent_kernel_bias
(self)
ultralytics/nn/modules/conv.py:172
↓ 1 callersMethodget_files
(self)
ultralytics/yolo/utils/benchmarks.py:220
↓ 1 callersFunctionget_git_origin_url
Retrieves the origin URL of a git repository. Returns: (str | None): The origin URL of the git repository.
ultralytics/yolo/utils/__init__.py:479
↓ 1 callersMethodget_indexes
Gets a list of shuffled indexes for mosaic augmentation.
ultralytics/yolo/data/augment.py:114
↓ 1 callersMethodget_indexes
Get a random index from the dataset.
ultralytics/yolo/data/augment.py:288
↓ 1 callersMethodget_json
Return dataset JSON for Ultralytics HUB.
ultralytics/yolo/data/utils.py:413
↓ 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/yolo/data/base.py:357
↓ 1 callersFunctionget_latest_opset
Return second-most (for maturity) recently supported ONNX opset by this version of torch.
ultralytics/yolo/utils/torch_utils.py:289
↓ 1 callersFunctionget_latest_run
Return path to most recent 'last.pt' in /runs (i.e. to --resume from).
ultralytics/yolo/utils/files.py:87
↓ 1 callersFunctionget_num_gradients
Return the total number of parameters with gradients in a YOLO model.
ultralytics/yolo/utils/torch_utils.py:192
↓ 1 callersMethodget_onnx_model_info
(self, onnx_file: str)
ultralytics/yolo/utils/benchmarks.py:235
↓ 1 callersMethodget_pos_mask
Get in_gts mask, (b, max_num_obj, h*w).
ultralytics/yolo/utils/tal.py:129
↓ 1 callersMethodget_stats
Returns statistics about the model's performance.
ultralytics/yolo/engine/validator.py:240
↓ 1 callersMethodget_targets
Compute target labels, target bounding boxes, and target scores for the positive anchor points. Args: gt_labels (Tensor)
ultralytics/yolo/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/yolo/utils/__init__.py:520
↓ 1 callersMethodget_validator
Returns a NotImplementedError when the get_validator function is called.
ultralytics/yolo/engine/trainer.py:518
↓ 1 callersFunctionget_version
()
setup.py:16
↓ 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:581
↓ 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/yolo/cfg/__init__.py:245
↓ 1 callersMethodhex2rgb
(h)
ultralytics/yolo/utils/plotting.py:44
↓ 1 callersFunctionhsv2colorjitter
Map HSV (hue, saturation, value) jitter into ColorJitter values (brightness, contrast, saturation, hue)
ultralytics/yolo/data/augment.py:854
↓ 1 callersFunctionimg2label_paths
Define label paths as a function of image paths.
ultralytics/yolo/data/utils.py:39
← previousnext →301–400 of 1,029, ranked by callers