Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YaoaoY/yolov8_GUI
/ functions
Functions
1,475 in github.com/YaoaoY/yolov8_GUI
⨍
Functions
1,475
◇
Types & classes
213
↳
Endpoints
10
Method
ModelBoxRefre
(self)
main.py:567
Method
__call__
Calculate the sum of the loss for box, cls and dfl multiplied by batch size.
ultralytics/utils/loss.py:155
Method
__call__
Calculate and return the loss for the YOLO model.
ultralytics/utils/loss.py:210
Method
__call__
Calculate the total loss and detach it.
ultralytics/utils/loss.py:309
Method
__call__
Compute the classification loss between predictions and true labels.
ultralytics/utils/loss.py:388
Method
__call__
Check whether to stop training Args: epoch (int): Current epoch of training fitness (float): Fitness value o
ultralytics/utils/torch_utils.py:495
Method
__call__
Converts hex color codes to RGB values.
ultralytics/utils/plotting.py:47
Method
__call__
(self, f)
ultralytics/utils/__init__.py:274
Method
__call__
Applies label transformations to an image, instances and semantic masks.
ultralytics/data/augment.py:41
Method
__call__
Applies a series of transformations to input data.
ultralytics/data/augment.py:54
Method
__call__
Applies pre-processing transforms and mixup/mosaic transforms to labels data.
ultralytics/data/augment.py:86
Method
__call__
Affine images and targets. Args: labels (dict): a dict of `bboxes`, `segments`, `keypoints`.
ultralytics/data/augment.py:422
Method
__call__
Applies random horizontal or vertical flip to an image with a given probability.
ultralytics/data/augment.py:487
Method
__call__
Resize image and padding for detection, instance segmentation, pose.
ultralytics/data/augment.py:515
Method
__call__
Return updated labels and image with added border.
ultralytics/data/augment.py:551
Method
__call__
Implement Copy-Paste augmentation https://arxiv.org/abs/2012.07177, labels as nx5 np.array(cls, xyxy).
ultralytics/data/augment.py:612
Method
__call__
Generates object detections and returns a dictionary with detection results.
ultralytics/data/augment.py:676
Method
__call__
Return formatted image, classes, bounding boxes & keypoints to be used by 'collate_fn'.
ultralytics/data/augment.py:714
Method
__call__
(self, im)
ultralytics/data/augment.py:867
Method
__call__
(self, im)
ultralytics/data/augment.py:886
Method
__call__
(self, im)
ultralytics/data/augment.py:901
Method
__call__
Performs inference on an image or stream.
ultralytics/engine/predictor.py:191
Method
__call__
Supports validation of a pre-trained model if passed or a model being trained if trainer is passed (trainer gets priority).
ultralytics/engine/validator.py:92
Method
__call__
Returns list of exported files/dirs after running callbacks.
ultralytics/engine/exporter.py:147
Method
__call__
Calls the 'predict' function with given arguments to perform object detection.
ultralytics/engine/model.py:96
Method
__call__
Attempts to add a new event to the events list and send events if the rate limit is reached. Args: cfg (IterableSimpleNa
ultralytics/hub/utils.py:185
Method
__call__
Calls the 'predict' function with given arguments to perform object detection.
ultralytics/models/sam/model.py:34
Method
__del__
(self)
ui/toast/toast.py:53
Method
__delitem__
Delete an item from the MaskData object.
ultralytics/models/sam/amg.py:31
Method
__enter__
Changes the current directory to the specified directory.
ultralytics/utils/files.py:21
Method
__enter__
Executes when entering TryExcept context, initializes instance.
ultralytics/utils/__init__.py:620
Method
__enter__
Start timing.
ultralytics/utils/ops.py:35
Method
__enter__
(self)
classes/sql_connect.py:91
Method
__exit__
Restore the current working directory on context exit.
ultralytics/utils/files.py:25
Method
__exit__
Defines behavior when exiting a 'with' block, prints error message if necessary.
ultralytics/utils/__init__.py:624
Method
__exit__
Stop timing.
ultralytics/utils/ops.py:42
Method
__exit__
(self, exc_type, exc_val, exc_tb)
classes/sql_connect.py:95
Method
__getattr__
Custom attribute access error message with helpful information.
ultralytics/utils/__init__.py:133
Method
__getattr__
Custom attribute access error message with helpful information.
ultralytics/utils/__init__.py:153
Method
__getattr__
Raises an AttributeError if an invalid attribute is accessed.
ultralytics/utils/metrics.py:868
Method
__getattr__
Raises error if object has no requested attribute.
ultralytics/engine/model.py:442
Method
__getitem__
Retrieve a specific bounding box or a set of bounding boxes using indexing. Args: index (int, slice, or np.ndarray): The
ultralytics/utils/instance.py:160
Method
__getitem__
Retrieve a specific instance or a set of instances using indexing. Args: index (int, slice, or np.ndarray): The index, s
ultralytics/utils/instance.py:263
Method
__getitem__
Returns transformed label information for given index.
ultralytics/data/base.py:238
Method
__getitem__
Returns subset of data and targets corresponding to given indices.
ultralytics/data/dataset.py:249
Method
__getitem__
Return a BaseTensor with the specified index of the data tensor.
ultralytics/engine/results.py:61
Method
__getitem__
Return a Results object for the specified index.
ultralytics/engine/results.py:106
Method
__getitem__
Get an item from the MaskData object.
ultralytics/models/sam/amg.py:35
Method
__init__
(self, parent=None)
main.py:38
Method
__init__
Initialize the VarifocalLoss class.
ultralytics/utils/loss.py:18
Method
__init__
(self, )
ultralytics/utils/loss.py:35
Method
__init__
(self, sigmas)
ultralytics/utils/loss.py:93
Method
__init__
(self, model)
ultralytics/utils/loss.py:109
Method
__init__
(self, model)
ultralytics/utils/loss.py:205
Method
__init__
(self, model)
ultralytics/utils/loss.py:300
Method
__init__
Create an exception for when a model is not found.
ultralytics/utils/errors.py:8
Method
__init__
Create EMA.
ultralytics/utils/torch_utils.py:351
Method
__init__
Initialize early stopping object Args: patience (int, optional): Number of epochs to wait after fitness stops improving
ultralytics/utils/torch_utils.py:483
Method
__init__
Initialize colors as hex = matplotlib.colors.TABLEAU_COLORS.values().
ultralytics/utils/plotting.py:35
Method
__init__
Initialize the Annotator class with image and line width along with color palette for keypoints and limbs.
ultralytics/utils/plotting.py:74
Method
__init__
Sets the working directory to 'new_dir' upon instantiation.
ultralytics/utils/files.py:16
Method
__init__
(self)
ultralytics/utils/__init__.py:271
Method
__init__
(self, file=SETTINGS_YAML, version='0.0.4')
ultralytics/utils/__init__.py:726
Method
__init__
Initialize the Profile class. Args: t (float): Initial time. Defaults to 0.0.
ultralytics/utils/ops.py:25
Method
__init__
(self, paths: list, num_timed_runs=100, num_warmup_runs=10,
ultralytics/utils/benchmarks.py:168
Method
__init__
Initialize attributes for the YOLO model.
ultralytics/utils/metrics.py:189
Method
__init__
(self, save_dir=Path('.'), plot=False, on_plot=None, names=())
ultralytics/utils/metrics.py:665
Method
__init__
(self, save_dir=Path('.'), plot=False, on_plot=None, names=())
ultralytics/utils/metrics.py:749
Method
__init__
(self, save_dir=Path('.'), plot=False, on_plot=None, names=())
ultralytics/utils/metrics.py:858
Method
__init__
(self)
ultralytics/utils/metrics.py:952
Method
__init__
(self, bboxes, format='xyxy')
ultralytics/utils/instance.py:37
Method
__init__
Args: bboxes (ndarray): bboxes with shape [N, 4]. segments (list | ndarray): segments. keypoints (ndarray
ultralytics/utils/instance.py:187
Method
__init__
Initialize a TaskAlignedAssigner object with customizable hyperparameters.
ultralytics/utils/tal.py:72
Method
__init__
Initialize instance variables and check for consistent input stream shapes.
ultralytics/data/loaders.py:34
Method
__init__
source = [screen_number left top width height] (pixels).
ultralytics/data/loaders.py:123
Method
__init__
Initialize the Dataloader and raise FileNotFoundError if file not found.
ultralytics/data/loaders.py:166
Method
__init__
Initialize PIL and Numpy Dataloader.
ultralytics/data/loaders.py:273
Method
__init__
(self, im0)
ultralytics/data/loaders.py:314
Method
__init__
Dataloader that infinitely recycles workers, inherits from DataLoader.
ultralytics/data/build.py:25
Method
__init__
Initialize class.
ultralytics/data/utils.py:337
Method
__init__
(self, img_path, imgsz=640, cache=False, a
ultralytics/data/base.py:51
Method
__init__
Initialize YOLO object with root, image size, augmentations, and cache settings. Args: root (str): Dataset path.
ultralytics/data/dataset.py:219
Method
__init__
Initialize a SemanticDataset object.
ultralytics/data/dataset.py:273
Method
__init__
(self)
ultralytics/data/augment.py:26
Method
__init__
Initializes the Compose object with a list of transforms.
ultralytics/data/augment.py:50
Method
__init__
(self, dataset, pre_transform=None, p=0.0)
ultralytics/data/augment.py:81
Method
__init__
Initializes the object with a dataset, image size, probability, and border.
ultralytics/data/augment.py:132
Method
__init__
(self, degrees=0.0, translate=0.1, scale=0.5,
ultralytics/data/augment.py:292
Method
__init__
(self, hgain=0.5, sgain=0.5, vgain=0.5)
ultralytics/data/augment.py:482
Method
__init__
(self, p=0.5, direction='horizontal', flip_idx=None)
ultralytics/data/augment.py:507
Method
__init__
Initialize LetterBox object with specific parameters.
ultralytics/data/augment.py:542
Method
__init__
(self, p=0.5)
ultralytics/data/augment.py:609
Method
__init__
Initialize the transform object for YOLO bbox formatted params.
ultralytics/data/augment.py:650
Method
__init__
(self, bbox_format='xywh', normalize=True, return_mask=Fals
ultralytics/data/augment.py:698
Method
__init__
Resizes image and crops it to center with max dimensions 'h' and 'w'.
ultralytics/data/augment.py:860
Method
__init__
Converts an image from numpy array to PyTorch tensor.
ultralytics/data/augment.py:881
Method
__init__
Initialize YOLOv8 ToTensor object with optional half-precision support.
ultralytics/data/augment.py:896
Method
__init__
Initialize BaseTensor with data and original shape. Args: data (torch.Tensor | np.ndarray): Predictions, such as bboxes, masks an
ultralytics/engine/results.py:25
Method
__init__
Initialize the Results class.
ultralytics/engine/results.py:92
Method
__init__
Initialize the Masks class with the given masks tensor and original image shape.
ultralytics/engine/results.py:479
← previous
next →
701–800 of 1,475, ranked by callers