MCPcopy Create free account

hub / github.com/YaoaoY/yolov8_GUI / functions

Functions1,475 in github.com/YaoaoY/yolov8_GUI

Method__init__
( self, img_size=224, in_chans=3, num_classes=1000, embed_dims=[96, 19
ultralytics/models/sam/modules/tiny_encoder.py:496
Method__init__
A transformer decoder that attends to an input image using queries whose positional embedding is supplied. Args: d
ultralytics/models/sam/modules/transformer.py:14
Method__init__
A transformer block with four layers: (1) self-attention of sparse inputs, (2) cross attention of sparse inputs to dense inputs, (3)
ultralytics/models/sam/modules/transformer.py:105
Method__init__
SAM predicts object masks from an image and input prompts. Arguments: image_encoder (ImageEncoderViT): The backbone used t
ultralytics/models/sam/modules/sam.py:23
Method__init__
(self, cam_preset_num=5)
utils/AtestCamera.py:6
Method__init__
(self)
classes/car_chart.py:21
Method__init__
(self, cfg=DEFAULT_CFG, overrides=None)
classes/yolo_abandon_02.py:125
Method__init__
(self)
classes/paint_chart.py:29
Method__init__
(self, cfg=DEFAULT_CFG, overrides=None)
classes/yolo.py:45
Method__init__
(self, cfg=DEFAULT_CFG, overrides=None)
classes/yolo_abandon_01.py:132
Method__init__
(self, host:str="127.0.0.1", port:int=3306, user:str="root", passwd:str="123456", db:str="yolo", cha
classes/sql_connect.py:21
Method__init__
(self, config_path="main_config.json")
classes/main_config.py:18
Method__init__
(self, cfg=DEFAULT_CFG, overrides=None)
classes/yolo_abandon_03.py:45
Method__init__
(self, parent, position, disable_color = False)
ui/custom_grips.py:8
Method__init__
(self, *args, title='提示', count=1, time=1000, auto=False, **kwargs)
ui/pop/pop_box.py:9
Method__init__
(self)
ui/dialog/rtsp_win.py:9
Method__init__
(self)
ui/dialog/id_win.py:9
Method__init__
(self, parent: QWidget, text: str, title: str = "",
ui/toast/toast.py:56
Method__init__
( self, text: str, duration: int = 3000, parent: QWidget = None, )
ui/toast/demo.py:8
Method__iter__
Return an iterator of key-value pairs from the namespace's attributes.
ultralytics/utils/__init__.py:145
Method__iter__
Iterates through YOLO image feed and re-opens unresponsive streams.
ultralytics/data/loaders.py:96
Method__iter__
Returns an iterator of the object.
ultralytics/data/loaders.py:150
Method__iter__
Returns an iterator object for VideoStream or ImageFolder.
ultralytics/data/loaders.py:206
Method__iter__
Enables iteration for class LoadPilAndNumpy.
ultralytics/data/loaders.py:306
Method__iter__
Returns an iterator object.
ultralytics/data/loaders.py:339
Method__iter__
Creates a sampler that repeats indefinitely.
ultralytics/data/build.py:35
Method__len__
Return the number of boxes.
ultralytics/utils/instance.py:131
Method__len__
Return the length of the instance list.
ultralytics/utils/instance.py:350
Method__len__
Returns the number of files in the object.
ultralytics/data/loaders.py:266
Method__len__
Returns the length of the 'im0' attribute.
ultralytics/data/loaders.py:295
Method__len__
Returns the batch size.
ultralytics/data/loaders.py:351
Method__len__
Returns the length of the batch sampler's sampler.
ultralytics/data/build.py:31
Method__len__
Returns the length of the labels list for the dataset.
ultralytics/data/base.py:253
Method__len__
(self)
ultralytics/data/dataset.py:266
Method__len__
Return the length of the data tensor.
ultralytics/engine/results.py:57
Method__len__
Return the number of detections in the Results object.
ultralytics/engine/results.py:113
Method__new__
(cls, *args, **kwargs)
classes/main_config.py:13
Method__new__
(cls, *args, **kwargs)
ui/toast/toast.py:41
Method__next__
Returns source paths, transformed and original images for processing.
ultralytics/data/loaders.py:101
Method__next__
mss screen capture: get raw pixels from the screen as np array.
ultralytics/data/loaders.py:154
Method__next__
Return next image, path and metadata from dataset.
ultralytics/data/loaders.py:211
Method__next__
Returns batch paths, images, processed images, None, ''.
ultralytics/data/loaders.py:299
Method__next__
Return next item in the iterator.
ultralytics/data/loaders.py:344
Method__repr__
Return a machine-readable string representation of the object.
ultralytics/utils/__init__.py:129
Method__repr__
Return string representation of object.
ultralytics/data/augment.py:68
Method__repr__
Return a string representation of the BYTETracker object with start and end frames and track ID.
ultralytics/trackers/byte_tracker.py:162
Method__setitem__
Set an item in the MaskData object, ensuring it is a supported type.
ultralytics/models/sam/amg.py:25
Method__str__
Return a human-readable string representation of the object.
ultralytics/utils/__init__.py:149
Method_apply
`_apply()` is a function that applies a function to all the tensors in the model that are not parameters or registered buffers
ultralytics/nn/tasks.py:169
Method_avg_to_3x3_tensor
(self, avgp)
ultralytics/nn/modules/conv.py:177
Method_check_lr_scale
(m)
ultralytics/models/sam/modules/tiny_encoder.py:615
Method_cv2_rotate
Rotate a cv2 video manually.
ultralytics/data/loaders.py:256
Method_get_loss_mask
(self, masks, gt_mask, match_indices, postfix='')
ultralytics/models/utils/loss.py:88
Method_handle_signal
Handle kill signals and prevent heartbeats from being sent on Colab after termination. This method does not use frame, it is included
ultralytics/hub/session.py:83
Method_hub_ops
Saves a compressed image for HUB previews.
ultralytics/data/utils.py:376
Function_indices_to_matches
_indices_to_matches: Return matched and unmatched indices given a cost matrix, indices, and a threshold.
ultralytics/trackers/utils/matching.py:38
Method_init_weights
(self, m)
ultralytics/models/sam/modules/tiny_encoder.py:621
Method_load
(self, weights: str, task: str)
ultralytics/models/nas/model.py:30
Method_load
(self, weights: str, task=None)
ultralytics/models/sam/model.py:24
Method_mix_transform
Apply mixup transformation to the input image and labels.
ultralytics/data/augment.py:149
Method_mix_transform
Applies MixUp augmentation https://arxiv.org/pdf/1710.09412.pdf.
ultralytics/data/augment.py:280
Method_predict_augment
Perform augmentations on input image x and return augmented inference and train outputs.
ultralytics/nn/tasks.py:254
Method_predict_augment
Perform augmentations on input image x and return augmented inference.
ultralytics/nn/tasks.py:305
Method_predict_augment
Perform augmentations on input image x and return augmented inference.
ultralytics/nn/tasks.py:328
Method_round
Update labels to integer class and 4 decimal place floats.
ultralytics/data/utils.py:384
Method_set_lr_scale
(m, scale)
ultralytics/models/sam/modules/tiny_encoder.py:596
Function_tune
Trains the YOLO model with the specified hyperparameters and additional arguments. Args: config (dict): A dictionary of
ultralytics/utils/tuner.py:71
Methodactivate
Activate the track with the provided arguments.
ultralytics/trackers/basetrack.py:48
Methodadd_callback
Add callback
ultralytics/engine/predictor.py:355
Methodadd_callback
Appends the given callback.
ultralytics/engine/validator.py:202
Methodadd_callback
Appends the given callback.
ultralytics/engine/exporter.py:922
Methodadd_callback
Appends the given callback.
ultralytics/engine/trainer.py:150
Functionadd_integration_callbacks
Add integration callbacks from various sources to the instance's callbacks. Args: instance (Trainer, Predictor, Validator, Exporter)
ultralytics/utils/callbacks/base.py:191
Functionafter_request
(response)
app.py:166
Methodap
Returns the Average Precision (AP) at an IoU threshold of 0.5-0.95 for all classes. Returns: (np.ndarray, list): Array o
ultralytics/utils/metrics.py:547
Methodap50
Returns the Average Precision (AP) at an IoU threshold of 0.5 for all classes. Returns: (np.ndarray, list): Array of sha
ultralytics/utils/metrics.py:537
Methodap_class_index
Returns the average precision index per class.
ultralytics/utils/metrics.py:710
Methodap_class_index
Boxes and masks have the same ap_class_index.
ultralytics/utils/metrics.py:819
Functionarea_from_rle
Calculate the area of a mask from its uncompressed RLE.
ultralytics/models/sam/amg.py:149
Functionauto_annotate
Automatically annotates images using a YOLO object detection model and a SAM segmentation model. Args: data (str): Path to a folder c
ultralytics/data/annotator.py:6
Functionautosplit
Autosplit a dataset into train/val/test splits and save the resulting splits into autosplit_*.txt files. Args: path (Path, optional)
ultralytics/data/utils.py:528
Methodbbox_areas
Calculate the area of bounding boxes.
ultralytics/utils/instance.py:214
Methodbboxes
Return bounding boxes.
ultralytics/utils/instance.py:390
Functionbefore_send
Modify the event before sending it to Sentry based on specific exception types and messages. Args: event (dict): The eve
ultralytics/utils/__init__.py:664
Methodbenchmark
Benchmark a model on all export formats. Args: **kwargs : Any other args accepted by the validators. To see all args che
ultralytics/engine/model.py:303
Functionbox_area
Return box area, where box shape is xyxy(4,n).
ultralytics/utils/metrics.py:19
Methodbox_prompt
(self, bbox)
ultralytics/models/fastsam/prompt.py:344
Functionbox_xyxy_to_xywh
Convert bounding boxes from XYXY format to XYWH format.
ultralytics/models/sam/amg.py:94
Methodboxes
Return the raw bboxes tensor (deprecated).
ultralytics/engine/results.py:457
Methodbuild_dataset
Build dataset
ultralytics/engine/validator.py:215
Methodbuild_dataset
Build dataset
ultralytics/engine/trainer.py:498
Methodbuild_dataset
Build YOLO Dataset Args: img_path (str): Path to the folder containing images. mode (str): `train` mode or `val` mode
ultralytics/models/rtdetr/val.py:71
Methodbuild_dataset
Build RTDETR Dataset Args: img_path (str): Path to the folder containing images. mode (str): `train` mode or `val` mo
ultralytics/models/rtdetr/train.py:23
Functionbuild_mobile_sam
Build and return Mobile Segment Anything Model (Mobile-SAM).
ultralytics/models/sam/build.py:55
Functionbuild_sam_vit_b
Build and return a Segment Anything Model (SAM) b-size model.
ultralytics/models/sam/build.py:44
Functionbuild_sam_vit_h
Build and return a Segment Anything Model (SAM) h-size model.
ultralytics/models/sam/build.py:22
Functionbuild_sam_vit_l
Build and return a Segment Anything Model (SAM) l-size model.
ultralytics/models/sam/build.py:33
Methodbuild_targets
Builds target tensors for training YOLO model.
ultralytics/engine/trainer.py:515
Methodbuild_transforms
Temporarily, only for evaluation.
ultralytics/models/rtdetr/val.py:49
Methodcache_images_to_disk
Saves an image as an *.npy file for faster loading.
ultralytics/data/base.py:189
← previousnext →901–1,000 of 1,475, ranked by callers