MCPcopy Create free account

hub / github.com/YaoaoY/yolov8_GUI / functions

Functions1,475 in github.com/YaoaoY/yolov8_GUI

Functionscheduled_function
()
app.py:82
Functionseed_worker
Set dataloader worker seed https://pytorch.org/docs/stable/notes/randomness.html#dataloader.
ultralytics/data/build.py:65
Methodsegments
Return segments (normalized). Deprecated; use xyn property instead.
ultralytics/engine/results.py:487
Methodset_api_key
Set the API key for authentication. Args: key (str): The API key string.
ultralytics/hub/auth.py:132
Methodset_callback
Overrides the existing callbacks with the given callback.
ultralytics/engine/trainer.py:156
Methodset_image
Set image in advance. Args: image (str | np.ndarray): image file path or np.ndarray image by cv2.
ultralytics/models/sam/predict.py:340
Methodset_model_attributes
Set the YOLO model's class names from the loaded dataset.
ultralytics/models/yolo/classify/train.py:26
Methodset_model_attributes
nl = de_parallel(self.model).model[-1].nl # number of detection layers (to scale hyps).
ultralytics/models/yolo/detect/train.py:48
Methodset_model_attributes
Sets keypoints shape attribute of PoseModel.
ultralytics/models/yolo/pose/train.py:33
MethodsetupUi
(self, MainWindow)
ui/main_window.py:19
MethodsetupUi
(self, Form)
ui/dialog/rtsp_dialog.py:22
Methodsetup_model
load/create/download model for any task
ultralytics/models/yolo/classify/train.py:45
Methodshape
Return the shape of the data tensor.
ultralytics/engine/results.py:37
Methodshow_traffic_graph
(self)
main.py:417
Methodsingle_encode
Encode predicted masks as RLE and append results to jdict.
ultralytics/models/fastsam/val.py:197
Methodsingle_encode
Encode predicted masks as RLE and append results to jdict.
ultralytics/models/yolo/segment/val.py:197
Functionsmart_inference_mode
Applies torch.inference_mode() decorator if torch>=1.9.0 else torch.no_grad() decorator.
ultralytics/utils/torch_utils.py:45
Functionsmooth_BCE
(eps=0.1)
ultralytics/utils/metrics.py:172
Functionstart_server
()
app.py:174
Functionsubmit_monitor_form
()
app.py:201
Methodtask_map
Map head to model, trainer, validator, and predictor classes. Returns: task_map (dict): The map of model task to mode cl
ultralytics/engine/model.py:458
Methodtask_map
(self)
ultralytics/models/nas/model.py:58
Methodtask_map
(self)
ultralytics/models/fastsam/model.py:30
Methodtask_map
Map head to model, trainer, validator, and predictor classes
ultralytics/models/yolo/model.py:14
Methodtask_map
(self)
ultralytics/models/rtdetr/model.py:24
Methodtask_map
(self)
ultralytics/models/sam/model.py:49
Functionteardown
Called during the teardown of the training process.
ultralytics/utils/callbacks/base.py:77
Methodtext_prompt
(self, text)
ultralytics/models/fastsam/prompt.py:395
Functionthreaded
Multi-threads a target function and returns thread. Usage: @threaded decorator.
ultralytics/utils/__init__.py:631
Methodtlbr
Convert bounding box to format `(min x, min y, max x, max y)`, i.e., `(top left, bottom right)`.
ultralytics/trackers/byte_tracker.py:130
Methodtlwh
Get current position in bounding box format `(top left x, top left y, width, height)`.
ultralytics/trackers/bot_sort.py:61
Methodtlwh
Get current position in bounding box format `(top left x, top left y, width, height)`.
ultralytics/trackers/byte_tracker.py:118
Methodto
Return a copy of the tensor with the specified device and dtype.
ultralytics/engine/results.py:53
Methodto_numpy
Convert all torch tensors in the MaskData object to numpy arrays.
ultralytics/models/sam/amg.py:73
Methodtojson
Convert the object to JSON format.
ultralytics/engine/results.py:345
Methodtop1
Return the index of top 1.
ultralytics/engine/results.py:584
Methodtop1conf
Return the confidence of top 1.
ultralytics/engine/results.py:596
Methodtop5
Return the indices of top 5.
ultralytics/engine/results.py:590
Methodtop5conf
Return the confidences of top 5.
ultralytics/engine/results.py:602
Functiontorch_save
Use dill (if exists) to serialize the lambda functions where pickle does not do this.
ultralytics/utils/patches.py:36
Methodtp_fp
Returns true positives and false positives.
ultralytics/utils/metrics.py:259
Functiontry_export
YOLOv8 export decorator, i..e @try_export.
ultralytics/engine/exporter.py:105
Methodtune
Runs hyperparameter tuning using Ray Tune. See ultralytics.utils.tuner.run_ray_tune for Args. Returns: (dict): A diction
ultralytics/engine/model.py:394
Functionuncrop_points
Uncrop points by adding the crop box offset.
ultralytics/models/sam/amg.py:226
Methodupdate
Update EMA parameters.
ultralytics/utils/torch_utils.py:360
Methodupdate
Updates instance variables.
ultralytics/utils/instance.py:342
Methodupdate
Updates object tracker with new detections and returns tracked object bounding boxes.
ultralytics/trackers/byte_tracker.py:181
Methodupdate
Update the track with new observations.
ultralytics/trackers/basetrack.py:56
Methodupdate
Run Kalman filter correction step. Parameters ---------- mean : ndarray The predicted state's mean vector (8 dime
ultralytics/trackers/utils/kalman_filter.py:165
Methodupdate
Run Kalman filter correction step. Parameters ---------- mean : ndarray The predicted state's mean vector (8 dime
ultralytics/trackers/utils/kalman_filter.py:392
Methodupdate_labels_info
custom your label format here.
ultralytics/data/dataset.py:171
Methodupdate_metrics
Metrics.
ultralytics/models/fastsam/val.py:59
Methodupdate_metrics
Updates running metrics with model predictions and batch targets.
ultralytics/models/yolo/classify/val.py:39
Methodupdate_metrics
Metrics.
ultralytics/models/yolo/segment/val.py:59
Methodupdate_metrics
Metrics.
ultralytics/models/yolo/detect/val.py:72
Methodupdate_metrics
Metrics.
ultralytics/models/yolo/pose/val.py:56
Methodupdate_metrics
Metrics.
ultralytics/models/rtdetr/val.py:108
Functionupdate_monitor_form
()
app.py:231
Functionv_iou_distance
Compute cost based on IoU :type atracks: list[STrack] :type btracks: list[STrack] :rtype cost_matrix np.ndarray
ultralytics/trackers/utils/matching.py:109
Functionverify_image_label
Verify one image-label pair.
ultralytics/data/utils.py:64
Methodweb_back_end
(self)
main.py:431
Methodwrap_frozen_graph
Wrap frozen graphs for deployment.
ultralytics/nn/autobackend.py:214
Functionwrapper
Sets rc parameters and backend, calls the original function, and restores the settings.
ultralytics/utils/__init__.py:191
Methodxy
Return segments in pixel coordinates.
ultralytics/engine/results.py:504
Methodxy
Returns x, y coordinates of keypoints.
ultralytics/engine/results.py:542
Methodxyn
Return normalized segments.
ultralytics/engine/results.py:496
Methodxyn
Returns normalized x, y coordinates of keypoints.
ultralytics/engine/results.py:548
Functionxyn2xy
Convert normalized coordinates to pixel coordinates of shape (n,2) Args: x (np.ndarray | torch.Tensor): The input tensor of normaliz
ultralytics/utils/ops.py:437
Methodxywh
Return the boxes in xywh format.
ultralytics/engine/results.py:434
Methodxywhn
Return the boxes in xywh format normalized by original image size.
ultralytics/engine/results.py:449
Functionxywhn2xyxy
Convert normalized bounding box coordinates to pixel coordinates. Args: x (np.ndarray | torch.Tensor): The bounding box coordinates.
ultralytics/utils/ops.py:391
Methodxyxy
Return the boxes in xyxy format.
ultralytics/engine/results.py:413
Functionxyxy2xywhn
Convert bounding box coordinates from (x1, y1, x2, y2) format to (x, y, width, height, normalized) format. x, y, width and height are normali
ultralytics/utils/ops.py:413
Methodxyxyn
Return the boxes in xyxy format normalized by original image size.
ultralytics/engine/results.py:440
Functionzip_directory
Zips a directory and saves the archive to the specified output path. Args: dir (str): The path to the directory to be zipped.
ultralytics/data/utils.py:502
← previous1,401–1,475 of 1,475, ranked by callers