MCPcopy Create free account

hub / github.com/chips96/DEYOLO / functions

Functions1,029 in github.com/chips96/DEYOLO

Method__init__
Initialize YOLO detector with optional transforms and check input shapes.
ultralytics/yolo/data/dataloaders/v5loader.py:364
Method__init__
(self, path, path2, data, img_size=640,
ultralytics/yolo/data/dataloaders/v5loader.py:463
Method__init__
Initialize YOLO dataset with root, augmentation, image size, and cache parameters.
ultralytics/yolo/data/dataloaders/v5loader.py:1206
Method__init__
Instantiate object with image augmentations for YOLOv5.
ultralytics/yolo/data/dataloaders/v5augmentations.py:26
Method__init__
Resizes and crops an image to a specified size for YOLOv5 preprocessing.
ultralytics/yolo/data/dataloaders/v5augmentations.py:363
Method__init__
Converts input image into tensor for YOLOv5 processing.
ultralytics/yolo/data/dataloaders/v5augmentations.py:383
Method__init__
Initialize instance variables and check for consistent input stream shapes.
ultralytics/yolo/data/dataloaders/stream_loaders.py:33
Method__init__
source = [screen_number left top width height] (pixels).
ultralytics/yolo/data/dataloaders/stream_loaders.py:111
Method__init__
Initialize the Dataloader and raise FileNotFoundError if file not found.
ultralytics/yolo/data/dataloaders/stream_loaders.py:153
Method__init__
Initialize PIL and Numpy Dataloader.
ultralytics/yolo/data/dataloaders/stream_loaders.py:256
Method__init__
(self, im0)
ultralytics/yolo/data/dataloaders/stream_loaders.py:297
Method__init__
Initialize BaseTensor with data and original shape. Args: data (torch.Tensor | np.ndarray): Predictions, such as bboxes, masks an
ultralytics/yolo/engine/results.py:25
Method__init__
Initialize the Results class.
ultralytics/yolo/engine/results.py:94
Method__init__
Initialize the Masks class with the given masks tensor and original image shape.
ultralytics/yolo/engine/results.py:451
Method__init__
Initializes the Keypoints object with detection keypoints and original image size.
ultralytics/yolo/engine/results.py:490
Method__init__
(self, probs, orig_shape=None)
ultralytics/yolo/engine/results.py:536
Method__init__
Initializes the BasePredictor class. Args: cfg (str, optional): Path to a configuration file. Defaults to DEFAULT_CFG.
ultralytics/yolo/engine/predictor.py:80
Method__init__
Initializes a BaseValidator instance. Args: dataloader (torch.utils.data.DataLoader): Dataloader to be used for validati
ultralytics/yolo/engine/validator.py:59
Method__init__
Initialize the iOSDetectModel class with a YOLO model and example image.
ultralytics/yolo/engine/exporter.py:889
Method__init__
Initializes the BaseTrainer class. Args: cfg (str, optional): Path to a configuration file. Defaults to DEFAULT_CFG.
ultralytics/yolo/engine/trainer.py:78
Method__init__
Initializes the YOLO model. Args: model (Union[str, Path], optional): Path or name of the model to load or create. Defau
ultralytics/yolo/engine/model.py:65
Method__init__
Initialize detection model with necessary variables and settings.
ultralytics/yolo/v8/detect/val.py:20
Method__init__
Initialize the Auth class with an optional API key. Args: api_key (str, optional): May be an API key or a combination AP
ultralytics/hub/auth.py:14
Method__init__
Initializes the Events object with default values for events, rate_limit, and metadata.
ultralytics/hub/utils.py:162
Method__init__
Initialize the HUBTrainingSession with the provided model identifier. Args: url (str): Model identifier used to initiali
ultralytics/hub/session.py:36
Method__init__
(self, cfg='yolov8n.yaml', ch=3, ch2=3, nc=None, verbose=True)
ultralytics/nn/tasks.py:236
Method__init__
MultiBackend class for python inference on various platforms using Ultralytics YOLO. Args: weights (str): The path to th
ultralytics/nn/autobackend.py:43
Method__init__
Initialize object attributes for YOLO detection results.
ultralytics/nn/autoshape.py:129
Method__init__
(self, nc=80, ch=())
ultralytics/nn/modules/head.py:30
Method__init__
Initialize a convolutional layer with a given number of input channels.
ultralytics/nn/modules/block.py:24
Method__init__
(self, c1, c_=256, c2=32)
ultralytics/nn/modules/block.py:42
Method__init__
(self, c1, cm, c2)
ultralytics/nn/modules/block.py:59
Method__init__
(self, c1, cm, c2, k=3, n=6, lightconv=False, shortcut=False, act=nn.ReLU())
ultralytics/nn/modules/block.py:87
Method__init__
Initialize the SPP layer with input/output channels and pooling kernel sizes.
ultralytics/nn/modules/block.py:106
Method__init__
(self, c1, c2, k=5)
ultralytics/nn/modules/block.py:123
Method__init__
(self, c1, c2, n=1, shortcut=True, g=1, e=0.5)
ultralytics/nn/modules/block.py:155
Method__init__
(self, c1, c2, n=1, shortcut=False, g=1, e=0.5)
ultralytics/nn/modules/block.py:172
Method__init__
(self, c1, c2, n=1, shortcut=True, g=1, e=0.5)
ultralytics/nn/modules/block.py:195
Method__init__
Initialize C3TR instance and set default parameters.
ultralytics/nn/modules/block.py:211
Method__init__
(self, c1, c2, n=3, e=1.0)
ultralytics/nn/modules/block.py:221
Method__init__
Initialize C3Ghost module with GhostBottleneck().
ultralytics/nn/modules/block.py:237
Method__init__
Initialize 'SPP' module with various pooling sizes for spatial pyramid pooling.
ultralytics/nn/modules/block.py:247
Method__init__
(self, c1, c2, k=3, s=1)
ultralytics/nn/modules/block.py:257
Method__init__
(self, c1, c2, shortcut=True, g=1, k=(3, 3), e=0.5)
ultralytics/nn/modules/block.py:275
Method__init__
(self, c1, c2, n=1, shortcut=True, g=1, e=0.5)
ultralytics/nn/modules/block.py:290
Method__init__
(self, channel=512, kernel_size=80, p_kernel=None, reduction=16)
ultralytics/nn/modules/DEA.py:28
Method__init__
(self, channel=512, m_kernel=None)
ultralytics/nn/modules/DEA.py:71
Method__init__
(self, c1, c2, n=1, shortcut=False, g=1, e=0.5)
ultralytics/nn/modules/BiFocus.py:14
Method__init__
(self, c1, c2)
ultralytics/nn/modules/BiFocus.py:39
Method__init__
(self, c1, c2, kernel=3, stride=1)
ultralytics/nn/modules/BiFocus.py:79
Method__init__
(self, in_channel, out_channel, kernel)
ultralytics/nn/modules/BiFocus.py:107
Method__init__
(self, c1, cm=2048, num_heads=8, dropout=0.0, act=nn.GELU(), normalize_before=False)
ultralytics/nn/modules/transformer.py:23
Method__init__
(self, c1, cm=2048, num_heads=8, dropout=0, act=nn.GELU(), normalize_before=False)
ultralytics/nn/modules/transformer.py:72
Method__init__
Initializes a self-attention mechanism using linear transformations and multi-head attention.
ultralytics/nn/modules/transformer.py:103
Method__init__
Initialize a Transformer module with position embedding and specified number of heads and layers.
ultralytics/nn/modules/transformer.py:123
Method__init__
(self, embedding_dim, mlp_dim, act=nn.GELU)
ultralytics/nn/modules/transformer.py:144
Method__init__
(self, num_channels, eps=1e-6)
ultralytics/nn/modules/transformer.py:173
Method__init__
(self, d_model=256, n_levels=4, n_heads=8, n_points=4)
ultralytics/nn/modules/transformer.py:193
Method__init__
(self, d_model=256, n_heads=8, d_ffn=1024, dropout=0., act=nn.ReLU(), n_levels=4, n_points=4)
ultralytics/nn/modules/transformer.py:279
Method__init__
(self, hidden_dim, decoder_layer, num_layers, eval_idx=-1)
ultralytics/nn/modules/transformer.py:335
Method__init__
Initialize Conv layer with given arguments including activation.
ultralytics/nn/modules/conv.py:30
Method__init__
Initialize Conv layer with given arguments including activation.
ultralytics/nn/modules/conv.py:49
Method__init__
Initialize Conv layer with given arguments including activation.
ultralytics/nn/modules/conv.py:72
Method__init__
(self, c1, c2, k=1, s=1, d=1, act=True)
ultralytics/nn/modules/conv.py:86
Method__init__
(self, c1, c2, k=1, s=1, p1=0, p2=0)
ultralytics/nn/modules/conv.py:93
Method__init__
Initialize ConvTranspose2d layer with batch normalization and activation function.
ultralytics/nn/modules/conv.py:101
Method__init__
(self, c1, c2, k=1, s=1, p=None, g=1, act=True)
ultralytics/nn/modules/conv.py:120
Method__init__
(self, c1, c2, k=1, s=1, g=1, act=True)
ultralytics/nn/modules/conv.py:133
Method__init__
(self, c1, c2, k=3, s=1, p=1, g=1, d=1, act=True, bn=False, deploy=False)
ultralytics/nn/modules/conv.py:151
Method__init__
Concatenates a list of tensors along a specified dimension.
ultralytics/nn/modules/conv.py:249
Method__init__
Initializes an instance of the Yolov8 class. Args: onnx_model: Path to the ONNX model. input_image: Path to
examples/YOLOv8-ONNXRuntime/main.py:14
Method__iter__
Return an iterator of key-value pairs from the namespace's attributes.
ultralytics/yolo/utils/__init__.py:145
Method__iter__
Creates a sampler that repeats indefinitely.
ultralytics/yolo/data/build.py:35
Method__iter__
Creates a sampler that infinitely repeats.
ultralytics/yolo/data/dataloaders/v5loader.py:182
Method__iter__
Infinite loop iterating over a given sampler.
ultralytics/yolo/data/dataloaders/v5loader.py:199
Method__iter__
Iterates over objects with the same structure as the monitor attribute.
ultralytics/yolo/data/dataloaders/v5loader.py:236
Method__iter__
Iterator that returns the class instance.
ultralytics/yolo/data/dataloaders/v5loader.py:425
Method__iter__
Iterates through YOLO image feed and re-opens unresponsive streams.
ultralytics/yolo/data/dataloaders/stream_loaders.py:89
Method__iter__
Returns an iterator of the object.
ultralytics/yolo/data/dataloaders/stream_loaders.py:138
Method__iter__
Returns an iterator object for VideoStream or ImageFolder.
ultralytics/yolo/data/dataloaders/stream_loaders.py:189
Method__iter__
Enables iteration for class LoadPilAndNumpy.
ultralytics/yolo/data/dataloaders/stream_loaders.py:289
Method__iter__
Returns an iterator object.
ultralytics/yolo/data/dataloaders/stream_loaders.py:323
Method__len__
Return the number of boxes.
ultralytics/yolo/utils/instance.py:130
Method__len__
Return the length of the instance list.
ultralytics/yolo/utils/instance.py:349
Method__len__
Returns the length of the batch sampler's sampler.
ultralytics/yolo/data/build.py:31
Method__len__
Returns the length of the labels list for the dataset.
ultralytics/yolo/data/base.py:337
Method__len__
(self)
ultralytics/yolo/data/dataset.py:278
Method__len__
Returns the number of items in the dataset.
ultralytics/yolo/data/dataset_wrappers.py:26
Method__len__
Returns the length of batch_sampler's sampler.
ultralytics/yolo/data/dataloaders/v5loader.py:178
Method__len__
Returns the number of files in the class instance.
ultralytics/yolo/data/dataloaders/v5loader.py:357
Method__len__
Returns the number of sources as the length of the object.
ultralytics/yolo/data/dataloaders/v5loader.py:447
Method__len__
Returns the length of 'im_files' attribute.
ultralytics/yolo/data/dataloaders/v5loader.py:789
Method__len__
Returns the number of files in the object.
ultralytics/yolo/data/dataloaders/stream_loaders.py:249
Method__len__
Returns the length of the 'im0' attribute.
ultralytics/yolo/data/dataloaders/stream_loaders.py:278
Method__len__
Returns the batch size.
ultralytics/yolo/data/dataloaders/stream_loaders.py:335
Method__len__
Return the length of the data tensor.
ultralytics/yolo/engine/results.py:57
Method__len__
Return the number of detections in the Results object.
ultralytics/yolo/engine/results.py:112
Method__len__
(self)
ultralytics/nn/autoshape.py:236
Method__next__
mss screen capture: get raw pixels from the screen as np array.
ultralytics/yolo/data/dataloaders/v5loader.py:240
Method__next__
Iterator's next item, performs transformation on image and returns path, transformed image, original image, capture and size.
ultralytics/yolo/data/dataloaders/v5loader.py:298
← previousnext →601–700 of 1,029, ranked by callers