MCPcopy Create free account

hub / github.com/DataXujing/YOLOv8 / functions

Functions814 in github.com/DataXujing/YOLOv8

↓ 1 callersFunctionmodel_info
(model, verbose=False, imgsz=640)
ultralytics/yolo/utils/torch_utils.py:128
↓ 1 callersFunctionmosaic_transforms
(dataset, imgsz, hyp)
ultralytics/yolo/data/augment.py:645
↓ 1 callersFunctionnon_max_suppression
> Perform non-maximum suppression (NMS) on a set of boxes, with support for masks and multiple labels per box. Arguments: prediction
ultralytics/yolo/utils/ops.py:104
↓ 1 callersFunctionone_cycle
(y1=0.0, y2=1.0, steps=100)
ultralytics/yolo/utils/torch_utils.py:222
↓ 1 callersMethodoptimizer_step
(self)
ultralytics/yolo/engine/trainer.py:399
↓ 1 callersMethodplot_metrics
(self)
ultralytics/yolo/engine/trainer.py:484
↓ 1 callersFunctionplot_pr_curve
(px, py, ap, save_dir=Path('pr_curve.png'), names=())
ultralytics/yolo/utils/metrics.py:274
↓ 1 callersMethodplot_predictions
(self, batch, preds, ni)
ultralytics/yolo/engine/validator.py:217
↓ 1 callersMethodplot_training_samples
(self, batch, ni)
ultralytics/yolo/engine/trainer.py:474
↓ 1 callersMethodplot_val_samples
(self, batch, ni)
ultralytics/yolo/engine/validator.py:214
↓ 1 callersFunctionpolygons2masks
Args: imgsz (tuple): The image size. polygons (list[np.ndarray]): each polygon is [N, M], N is number of polygons, M is number of
ultralytics/yolo/data/utils.py:154
↓ 1 callersFunctionpolygons2masks_overlap
Return a (640, 640) overlap mask.
ultralytics/yolo/data/utils.py:169
↓ 1 callersFunctionpostprocess
(preds, img, orig_img)
inference.py:76
↓ 1 callersMethodpostprocess
(self, preds, img, orig_img)
ultralytics/yolo/engine/predictor.py:106
↓ 1 callersMethodpostprocess
(self, preds)
ultralytics/yolo/engine/validator.py:188
↓ 1 callersMethodpred_to_json
(self, predn, filename, pred_masks)
ultralytics/yolo/v8/segment/val.py:187
↓ 1 callersMethodpred_to_json
(self, predn, filename)
ultralytics/yolo/v8/detect/val.py:194
↓ 1 callersFunctionpredict
(cfg)
ultralytics/yolo/v8/classify/predict.py:59
↓ 1 callersFunctionpredict
(cfg)
ultralytics/yolo/v8/segment/predict.py:103
↓ 1 callersFunctionpredict
(cfg)
ultralytics/yolo/v8/detect/predict.py:87
↓ 1 callersFunctionpreprocess
ǰ����
tensorrt/yolov8/yolov8/yolov8.cpp:49
↓ 1 callersMethodpreprocess
(self, img)
ultralytics/yolo/engine/predictor.py:97
↓ 1 callersMethodpreprocess
(self, batch)
ultralytics/yolo/engine/validator.py:185
↓ 1 callersMethodpreprocess
(self, batch)
ultralytics/yolo/v8/segment/val.py:27
↓ 1 callersMethodpreprocess
(self, targets, batch_size, scale_tensor)
ultralytics/yolo/v8/detect/train.py:129
↓ 1 callersMethodpreprocess_batch
> Allows custom preprocessing model inputs and ground truths depending on task type.
ultralytics/yolo/engine/trainer.py:408
↓ 1 callersFunctionpreprocess_image
description: Read an image from image path, convert it to RGB, resize and pad it to target size, normalize to [0,1],
inference.py:19
↓ 1 callersFunctionprint_args
(args: Optional[dict] = None, show_file=True, show_func=False)
ultralytics/yolo/utils/checks.py:257
↓ 1 callersMethodprint_results
(self)
ultralytics/yolo/engine/validator.py:203
↓ 1 callersFunctionprofile
YOLOv5 speed/memory/FLOPs profiler Usage: input = torch.randn(16, 3, 640, 640) m1 = lambda x: x * torch.sigmoid(x) m2 = n
ultralytics/yolo/utils/torch_utils.py:321
↓ 1 callersMethodprogress_string
(self)
ultralytics/yolo/engine/trainer.py:470
↓ 1 callersFunctionrenderBoundingBox
���ӻ�
tensorrt/yolov8/yolov8/yolov8.cpp:109
↓ 1 callersFunctionrequest_api_key
Prompt the user to input their API key
ultralytics/hub/__init__.py:38
↓ 1 callersFunctionrequest_with_credentials
Make an ajax request with cookies attached
ultralytics/hub/utils.py:30
↓ 1 callersFunctionrescale_box
ֻ���boxӳ���ԭͼ
tensorrt/yolov8/yolov8/yolov8.cpp:86
↓ 1 callersMethodresume_training
(self, ckpt)
ultralytics/yolo/engine/trainer.py:509
↓ 1 callersMethodsave_metrics
(self, metrics)
ultralytics/yolo/engine/trainer.py:477
↓ 1 callersMethodsave_model
(self)
ultralytics/yolo/engine/trainer.py:358
↓ 1 callersMethodsave_preds
(self, vid_cap, idx, save_path)
ultralytics/yolo/engine/predictor.py:211
↓ 1 callersFunctionscale_boxes
> Rescale boxes (xyxy) from img1_shape to img0_shape Args: img1_shape: The shape of the image that the bounding boxes are for. bo
ultralytics/yolo/utils/ops.py:70
↓ 1 callersFunctionscale_image
> It takes a mask, and resizes it to the original image size Args: im1_shape: model input shape, [h, w] masks: [h, w, num]
ultralytics/yolo/utils/ops.py:263
↓ 1 callersFunctionscale_img
(img, ratio=1.0, same_shape=False, gs=32)
ultralytics/yolo/utils/torch_utils.py:179
↓ 1 callersFunctionselect_candidates_in_gts
select the positive anchor center in gt Args: xy_centers (Tensor): shape(h*w, 4) gt_bboxes (Tensor): shape(b, n_boxes, 4) Ret
ultralytics/yolo/utils/tal.py:13
↓ 1 callersFunctionselect_highest_overlaps
if an anchor box is assigned to multiple gts, the one with the highest iou will be selected. Args: mask_pos (Tensor): shape(b, n_
ultralytics/yolo/utils/tal.py:30
↓ 1 callersMethodselect_topk_candidates
Args: metrics: (b, max_num_obj, h*w). topk_mask: (b, max_num_obj, topk) or None
ultralytics/yolo/utils/tal.py:135
↓ 1 callersMethodsetShouldLog
tensorrt/yolov8/yolov8/logging.h:103
↓ 1 callersFunctionset_logging
(name=LOGGING_NAME, verbose=True)
ultralytics/yolo/utils/__init__.py:264
↓ 1 callersMethodset_model_attributes
To set or update model parameters before training.
ultralytics/yolo/engine/trainer.py:461
↓ 1 callersMethodset_rectangle
(self)
ultralytics/yolo/data/base.py:154
↓ 1 callersMethodsetup_model
> load/create/download model for any task.
ultralytics/yolo/engine/trainer.py:382
↓ 1 callersMethodshow
(self, p)
ultralytics/yolo/engine/predictor.py:202
↓ 1 callersMethodshow
(self, labels=True)
ultralytics/nn/modules.py:531
↓ 1 callersMethodsingle_mask_loss
(self, gt_mask, pred, proto, xyxy, area)
ultralytics/yolo/v8/segment/train.py:136
↓ 1 callersFunctionstart
(key='')
ultralytics/hub/__init__.py:36
↓ 1 callersMethodtolist
(self)
ultralytics/nn/modules.py:556
↓ 1 callersFunctiontrain
(cfg)
ultralytics/yolo/v8/classify/train.py:137
↓ 1 callersFunctiontrain
(cfg)
ultralytics/yolo/v8/segment/train.py:144
↓ 1 callersFunctiontrain
(cfg)
ultralytics/yolo/v8/detect/train.py:199
↓ 1 callersMethodtrain
(self)
ultralytics/yolo/engine/trainer.py:166
↓ 1 callersMethodupdate_attr
(self, model, include=(), exclude=('process_group', 'reducer'))
ultralytics/yolo/utils/torch_utils.py:268
↓ 1 callersMethodupdate_labels
include_class, filter labels to include only these classes (optional)
ultralytics/yolo/data/base.py:99
↓ 1 callersMethodupdate_labels_info
custom your label format here
ultralytics/yolo/data/base.py:196
↓ 1 callersMethodupdate_metrics
(self, preds, batch)
ultralytics/yolo/engine/validator.py:194
↓ 1 callersMethodupload_metrics
(self)
ultralytics/hub/session.py:51
↓ 1 callersFunctionval
(cfg)
ultralytics/yolo/v8/classify/val.py:50
↓ 1 callersFunctionval
(cfg)
ultralytics/yolo/v8/segment/val.py:241
↓ 1 callersFunctionval
(cfg)
ultralytics/yolo/v8/detect/val.py:233
↓ 1 callersMethodvalidate
> Runs validation on test set using self.validator. The returned dict is expected to contain "fitness" key.
ultralytics/yolo/engine/trainer.py:414
↓ 1 callersMethodwrite_results
(self, pred, batch, print_string)
ultralytics/yolo/engine/predictor.py:103
↓ 1 callersFunctionxywh2ltwh
> It converts the bounding box from [x, y, w, h] to [x1, y1, w, h] where xy1=top-left Args: x: the x coordinate of the center of the b
ultralytics/yolo/utils/ops.py:402
↓ 1 callersFunctionxyxy2ltwh
> Convert nx4 boxes from [x1, y1, x2, y2] to [x1, y1, w, h] where xy1=top-left, xy2=bottom-right Args: x: the input tensor Return
ultralytics/yolo/utils/ops.py:418
↓ 1 callersFunctionxyxy2xywhn
> It takes in a list of bounding boxes, and returns a list of bounding boxes, but with the x and y coordinates normalized to the width and he
ultralytics/yolo/utils/ops.py:357
FunctionDDP_model
(model)
ultralytics/yolo/utils/torch_utils.py:50
FunctionLOG_ERROR
\brief produces a LogStreamConsumer object that can be used to log messages of severity kERROR Example usage: LOG_ERROR(logger) << "hello world" <<
tensorrt/yolov8/yolov8/logging.h:507
FunctionLOG_FATAL
\brief produces a LogStreamConsumer object that can be used to log messages of severity kINTERNAL_ERROR ("fatal" severity) Example usage: LOG_FATAL(
tensorrt/yolov8/yolov8/logging.h:520
FunctionLOG_INFO
\brief produces a LogStreamConsumer object that can be used to log messages of severity kINFO Example usage: LOG_INFO(logger) << "hello world" << st
tensorrt/yolov8/yolov8/logging.h:483
FunctionLOG_VERBOSE
\brief produces a LogStreamConsumer object that can be used to log messages of severity kVERBOSE Example usage: LOG_VERBOSE(logger) << "hello world"
tensorrt/yolov8/yolov8/logging.h:471
FunctionLOG_WARN
\brief produces a LogStreamConsumer object that can be used to log messages of severity kWARNING Example usage: LOG_WARN(logger) << "hello world" <<
tensorrt/yolov8/yolov8/logging.h:495
MethodLogStreamConsumer
\brief Creates a LogStreamConsumer which logs messages with level severity. Reportable severity determines if the messages are severe enough to be log
tensorrt/yolov8/yolov8/logging.h:146
MethodLogStreamConsumerBase
tensorrt/yolov8/yolov8/logging.h:121
MethodLogStreamConsumerBuffer
tensorrt/yolov8/yolov8/logging.h:38
MethodTestAtom
tensorrt/yolov8/yolov8/logging.h:284
Method__call__
(self, i, bgr=False)
ultralytics/yolo/utils/plotting.py:31
Method__call__
(self, labels)
ultralytics/yolo/data/augment.py:35
Method__call__
(self, data)
ultralytics/yolo/data/augment.py:46
Method__call__
(self, labels)
ultralytics/yolo/data/augment.py:74
Method__call__
Affine images and targets. Args: labels(Dict): a dict of `bboxes`, `segments`, `keypoints`.
ultralytics/yolo/data/augment.py:325
Method__call__
(self, labels)
ultralytics/yolo/data/augment.py:385
Method__call__
(self, labels)
ultralytics/yolo/data/augment.py:411
Method__call__
(self, labels=None, image=None)
ultralytics/yolo/data/augment.py:441
Method__call__
(self, labels)
ultralytics/yolo/data/augment.py:500
Method__call__
(self, labels)
ultralytics/yolo/data/augment.py:560
Method__call__
(self, labels)
ultralytics/yolo/data/augment.py:595
Method__call__
(self, im)
ultralytics/yolo/data/augment.py:742
Method__call__
(self, im)
ultralytics/yolo/data/augment.py:759
Method__call__
(self, im)
ultralytics/yolo/data/augment.py:772
Method__call__
(self, im, labels, p=1.0)
ultralytics/yolo/data/dataloaders/v5augmentations.py:50
Method__call__
(self, im)
ultralytics/yolo/data/dataloaders/v5augmentations.py:367
Method__call__
(self, im)
ultralytics/yolo/data/dataloaders/v5augmentations.py:384
Method__call__
(self, im)
ultralytics/yolo/data/dataloaders/v5augmentations.py:397
← previousnext →301–400 of 814, ranked by callers