MCPcopy Create free account

hub / github.com/WangRongsheng/BestYOLO / functions

Functions1,443 in github.com/WangRongsheng/BestYOLO

↓ 215 callersMethodinfo
(self, verbose=False, img_size=640)
models/yolo.py:150
↓ 107 callersMethodinfo
(self, verbose=False, img_size=640)
deploy/gui/models/yolo.py:228
↓ 75 callersMethod__init__
(self, c1, c2, n=1, shortcut=True, g=1, e=0.5)
models/common.py:163
↓ 63 callersMethodrun
(self)
deploy/gui/test.py:77
↓ 60 callersFunctioncolorstr
(*input)
utils/general.py:686
↓ 60 callersMethodtime
(self)
utils/general.py:177
↓ 32 callersFunctioncolorstr
(*input)
deploy/gui/utils/general.py:508
↓ 30 callersFunctioncheck_requirements
(requirements=ROOT / 'requirements.txt', exclude=(), install=True, cmds='')
utils/general.py:382
↓ 30 callersMethodsave
(self, labels=True, save_dir='runs/detect/exp', exist_ok=False)
models/common.py:794
↓ 26 callersMethodtolist
(self)
models/common.py:816
↓ 24 callersMethodlog
save the metrics to the logging dictionary arguments: log_dict (Dict) -- metrics/media to be logged in current step
utils/loggers/wandb/wandb_utils.py:520
↓ 23 callersMethodfrom_numpy
(self, x)
models/common.py:592
↓ 21 callersMethod__init__
(self, c1, c2, n=1, shortcut=True, g=1, e=0.5)
deploy/gui/models/common.py:129
↓ 20 callersFunctionselect_device
(device='', batch_size=0, newline=True)
utils/torch_utils.py:108
↓ 20 callersMethodtolist
(self)
deploy/gui/models/common.py:654
↓ 19 callersMethod__init__
(self, w=None)
models/tf.py:40
↓ 18 callersMethodsave
(self, save_dir='runs/detect/exp')
deploy/gui/models/common.py:632
↓ 18 callersFunctionxywh2xyxy
(x)
utils/general.py:760
↓ 17 callersFunctionde_parallel
(model)
utils/torch_utils.py:207
↓ 17 callersFunctionincrement_path
(path, exist_ok=False, sep='', mkdir=False)
utils/general.py:1092
↓ 16 callersMethodplot
(self, normalize=True, save_dir='', names=())
utils/metrics.py:190
↓ 16 callersFunctionprint_args
(args: Optional[dict] = None, show_file=True, show_func=False)
utils/general.py:223
↓ 16 callersFunctiontime_sync
()
deploy/gui/utils/torch_utils.py:101
↓ 15 callersFunctioncheck_file
(file, suffix='')
utils/general.py:460
↓ 15 callersFunctioncheck_version
(current='0.0.0', minimum='0.0.0', name='version ', pinned=False, hard=False, verbose=False)
utils/general.py:369
↓ 15 callersFunctionfitness
(x)
utils/metrics.py:17
↓ 14 callersFunctioncheck_requirements
(requirements=ROOT / 'requirements.txt', exclude=(), install=True)
deploy/gui/utils/general.py:283
↓ 14 callersMethodplot
(self, normalize=True, save_dir='', names=())
deploy/gui/utils/metrics.py:174
↓ 13 callersMethod__init__
(self, w=None)
deploy/gui/models/tf.py:39
↓ 13 callersFunctioncheck_file
(file, suffix='')
deploy/gui/utils/general.py:361
↓ 13 callersFunctioncheck_yaml
(file, suffix=('.yaml', '.yml'))
utils/general.py:455
↓ 13 callersFunctionselect_device
(device='', batch_size=0, newline=True)
deploy/gui/utils/torch_utils.py:70
↓ 12 callersFunction_create
Creates or loads a YOLOv5 model Arguments: name (str): model name 'yolov5s' or path 'path/to/best.pt' pretrained (bool): load pre
hubconf.py:16
↓ 12 callersFunctionincrement_path
(path, exist_ok=False, sep='', mkdir=False)
deploy/gui/utils/general.py:864
↓ 12 callersMethodinfo
(self, verbose=False, img_size=640)
models/yolo_AuxOTA.py:155
↓ 12 callersMethodlog
(self, log_dict)
deploy/gui/utils/wandb_logging/wandb_utils.py:332
↓ 12 callersFunctionscale_boxes
(img1_shape, boxes, img0_shape, ratio_pad=None)
utils/general.py:827
↓ 11 callersMethodfromarray
(self, im)
utils/plots.py:174
↓ 11 callersFunctiontorch_distributed_zero_first
(local_rank: int)
utils/torch_utils.py:89
↓ 11 callersFunctionxyxy2xywh
(x)
utils/general.py:750
↓ 11 callersFunctionyaml_save
(file='data.yaml', data={})
utils/general.py:598
↓ 10 callersFunction_create
Creates a specified YOLOv5 model Arguments: name (str): name of model, i.e. 'yolov5s' pretrained (bool): load pretrained weights
deploy/gui/hubconf.py:11
↓ 10 callersFunctionattempt_load
(weights, map_location=None, inplace=True, fuse=True)
deploy/gui/models/experimental.py:90
↓ 10 callersFunctioncheck_dataset
(data, autodownload=True)
utils/general.py:498
↓ 10 callersFunctioncheck_img_size
(imgsz, s=32, floor=0)
utils/general.py:416
↓ 10 callersFunctioncreate_dataloader
(path, imgsz, batch_size, stride,
utils/dataloaders.py:103
↓ 10 callersFunctionfitness
(x)
deploy/gui/utils/metrics.py:15
↓ 10 callersFunctionxyxy2xywh
(x)
deploy/gui/utils/general.py:572
↓ 9 callersFunctionattempt_load
(weights, device=None, inplace=True, fuse=True)
models/experimental.py:73
↓ 9 callersFunctionbox_iou
Return intersection-over-union (Jaccard index) of boxes. Both sets of boxes are expected to be in (x1, y1, x2, y2) format. Arguments:
utils/metrics.py:266
↓ 9 callersFunctionde_parallel
(model)
deploy/gui/utils/torch_utils.py:165
↓ 9 callersMethodlog
save the metrics to the logging dictionary arguments: log_dict (Dict) -- metrics/media to be logged in current step
deploy/gui/utils/loggers/wandb/wandb_utils.py:496
↓ 9 callersFunctionmake_divisible
(x, divisor)
utils/general.py:669
↓ 9 callersMethodstatistic_msg
(self, msg)
deploy/gui/main.py:432
↓ 9 callersMethodupdate
(self, model)
deploy/gui/utils/torch_utils.py:315
↓ 9 callersMethodupdate
(self, model)
utils/torch_utils.py:418
↓ 8 callersFunctioncheck_img_size
(imgsz, s=32, floor=0)
deploy/gui/utils/general.py:319
↓ 8 callersFunctionemojis
(str='')
utils/__init__.py:11
↓ 8 callersMethodrectangle
(self, xy, fill=None, outline=None, width=1)
utils/plots.py:163
↓ 8 callersFunctionxywh2xyxy
(x)
deploy/gui/utils/general.py:582
↓ 7 callersFunctionbbox_iou
(box1, box2, xywh=True, GIoU=False, DIoU=False, CIoU=False, eps=1e-7)
utils/metrics.py:225
↓ 7 callersFunctioncheck_dataset
(data, autodownload=True)
deploy/gui/utils/general.py:395
↓ 7 callersFunctioncolorstr
(*input)
utils/general-softnms.py:684
↓ 7 callersFunctionletterbox
(im, new_shape=(640, 640), color=(114, 114, 114), auto=True, scaleFill=False, scaleup=True, stride=32)
utils/augmentations.py:111
↓ 7 callersFunctiontime_sync
()
utils/torch_utils.py:144
↓ 7 callersMethodupdate
Args: results: tuple(p, r, ap, f1, ap_class)
utils/segment/metrics.py:137
↓ 6 callersFunctionattempt_download
(file, repo='ultralytics/yolov5', release='v7.0')
utils/downloads.py:62
↓ 6 callersMethodbox_label
(self, box, label='', color=(128, 128, 128), txt_color=(255, 255, 255))
utils/plots.py:86
↓ 6 callersMethodchange_val
(self, x, flag)
deploy/gui/main.py:413
↓ 6 callersFunctionemojis
(str='')
deploy/gui/utils/general.py:218
↓ 6 callersFunctionimg2label_paths
(img_paths)
deploy/gui/utils/datasets.py:372
↓ 6 callersFunctionimg2label_paths
(img_paths)
utils/dataloaders.py:425
↓ 6 callersFunctionletterbox
(im, new_shape=(640, 640), color=(114, 114, 114), auto=True, scaleFill=False, scaleup=True, stride=32)
deploy/gui/utils/augmentations.py:91
↓ 6 callersMethodrectangle
(self, xy, fill=None, outline=None, width=1)
deploy/gui/utils/plots.py:107
↓ 6 callersMethodrun
Loop through the registered actions and fire all callbacks on main thread Args: hook: The name of the hook to check, def
utils/callbacks.py:60
↓ 6 callersFunctionscale_coords
(img1_shape, coords, img0_shape, ratio_pad=None)
deploy/gui/utils/general.py:648
↓ 6 callersFunctionset_logging
(name=None, verbose=VERBOSE)
deploy/gui/utils/general.py:75
↓ 6 callersFunctionstrip_optimizer
(f='best.pt', s='')
utils/general.py:1002
↓ 6 callersMethodtime
(self)
utils/general-softnms.py:178
↓ 6 callersFunctionxywhn2xyxy
(x, w=640, h=640, padw=0, padh=0)
utils/general.py:770
↓ 5 callersMethod_run
(self, pprint=False, show=False, save=False, crop=False, render=False, labels=True, save_dir=Path(''))
models/common.py:745
↓ 5 callersMethodbackward
(ctx, grad_output)
utils/activations.py:43
↓ 5 callersFunctioncheck_git_info
(path='.')
utils/general.py:347
↓ 5 callersFunctioncheck_suffix
(file='yolov5s.pt', suffix=('.pt',), msg='')
utils/general.py:444
↓ 5 callersMethoddisplay
(self, pprint=False, show=False, save=False, crop=False, render=False, save_dir=Path(''))
deploy/gui/models/common.py:585
↓ 5 callersMethodgetReportableSeverity
deploy/yolov5_TensorRT/include/logging.h:387
↓ 5 callersFunctionis_url
(url, check=True)
utils/downloads.py:16
↓ 5 callersMethodload_image
(self, i)
utils/dataloaders.py:726
↓ 5 callersMethodlog_asset
(self, asset_path, **kwargs)
utils/loggers/comet/__init__.py:199
↓ 5 callersMethodlog_images
(self, files, name='Images', epoch=0)
utils/loggers/__init__.py:356
↓ 5 callersMethodlog_parameters
(self, log_dict, **kwargs)
utils/loggers/comet/__init__.py:196
↓ 5 callersFunctionmake_divisible
(x, divisor)
deploy/gui/utils/general.py:491
↓ 5 callersFunctionnon_max_suppression
Runs Non-Maximum Suppression (NMS) on inference results Returns: list of detections, on (n,6) tensor per image [xyxy, conf, cls]
deploy/gui/utils/general.py:676
↓ 5 callersFunctionnon_max_suppression
Non-Maximum Suppression (NMS) on inference results to reject overlapping detections Returns: list of detections, on (n,6) tensor per ima
utils/general.py:884
↓ 5 callersMethodpredict
(self, inputs, tf_nms=False, agnostic_nms=False,
models/tf.py:455
↓ 5 callersFunctionprint_args
(name, opt)
deploy/gui/utils/general.py:162
↓ 5 callersFunctionremove_prefix
(from_string, prefix=WANDB_ARTIFACT_PREFIX)
deploy/gui/utils/wandb_logging/wandb_utils.py:26
↓ 5 callersFunctionremove_prefix
(from_string, prefix=WANDB_ARTIFACT_PREFIX)
deploy/gui/utils/loggers/wandb/wandb_utils.py:32
↓ 5 callersFunctionremove_prefix
(from_string, prefix=WANDB_ARTIFACT_PREFIX)
utils/loggers/wandb/wandb_utils.py:32
↓ 5 callersMethodrun
Loop through the registered actions and fire all callbacks Args: hook The name of the hook to check, defaults to all
deploy/gui/utils/callbacks.py:65
next →1–100 of 1,443, ranked by callers