MCPcopy Index your code

hub / github.com/GHigher12/Pyqt5_yolov5_unet_centernet / functions

Functions558 in github.com/GHigher12/Pyqt5_yolov5_unet_centernet

↓ 45 callersMethodinfo
(self, verbose=False, img_size=640)
models/yolo.py:234
↓ 32 callersFunctioncolorstr
(*input)
utils/general.py:439
↓ 23 callersMethodplot
(self, normalize=True, save_dir='', names=())
utils/metrics.py:163
↓ 22 callersMethodsave
(self, save_dir='runs/detect/exp')
models/common.py:425
↓ 20 callersMethod__init__
(self, c1, c2, n=1, shortcut=True, g=1, e=0.5)
models/common.py:127
↓ 18 callersFunctiontime_sync
()
utils/torch_utils.py:86
↓ 16 callersMethodtolist
(self)
models/common.py:447
↓ 15 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:471
↓ 14 callersMethodrectangle
(self, xy, fill=None, outline=None, width=1)
utils/plots.py:106
↓ 12 callersMethod__init__
(self, w=None)
models/tf.py:42
↓ 12 callersFunction_create
Creates a specified YOLOv5 model Arguments: name (str): name of model, i.e. 'yolov5s' pretrained (bool): load pretrained weights
docs/hubconf.py:13
↓ 12 callersFunctioncheck_requirements
(requirements=ROOT / 'requirements.txt', exclude=(), install=True)
utils/general.py:234
↓ 12 callersMethoddetect_image
(self, image, count=False, name_classes=None)
unet.py:105
↓ 12 callersFunctionreg_l1_loss
(pred, target, mask)
nets/centernet_training.py:43
↓ 12 callersMethodrun
(self, imgsz=640, # inference size (pixels) iou_thres=0.45, # NMS IOU threshold
main_qt.py:46
↓ 10 callersFunctionselect_device
(device='', batch_size=None)
utils/torch_utils.py:58
↓ 9 callersMethodshow
(self)
models/common.py:422
↓ 9 callersFunctionxyxy2xywh
(x)
utils/general.py:503
↓ 8 callersFunctionattempt_load
(weights, map_location=None, inplace=True, fuse=True)
models/experimental.py:88
↓ 8 callersFunctionfile_size
(path)
utils/general.py:180
↓ 8 callersFunctionincrement_path
(path, exist_ok=False, sep='', mkdir=False)
utils/general.py:806
↓ 7 callersMethodrand
(self, a=0, b=1)
utils/dataloader.py:126
↓ 7 callersFunctionscale_coords
(img1_shape, coords, img0_shape, ratio_pad=None)
utils/general.py:579
↓ 7 callersFunctionset_logging
(rank=-1, verbose=True)
utils/general.py:90
↓ 7 callersMethodupdate
(self, model)
utils/torch_utils.py:326
↓ 7 callersFunctionxywh2xyxy
(x)
utils/general.py:513
↓ 6 callersFunctioncheck_dataset
(data, autodownload=True)
utils/general.py:331
↓ 6 callersFunctioncheck_img_size
(imgsz, s=32, floor=0)
utils/general.py:269
↓ 6 callersFunctioncvtColor
(image)
utils/utils.py:9
↓ 6 callersFunctionfitness
(x)
utils/metrics.py:15
↓ 6 callersFunctionfocal_loss
(pred, target)
nets/centernet_training.py:8
↓ 6 callersFunctionletterbox
(im, new_shape=(640, 640), color=(114, 114, 114), auto=True, scaleFill=False, scaleup=True, stride=32)
utils/augmentations.py:92
↓ 6 callersFunctionpreprocess_input
(image)
utils/utils.py:52
↓ 6 callersFunctionprint_args
(name, opt)
utils/general.py:96
↓ 6 callersMethodtext
(self, xy, text, txt_color=(255, 255, 255))
utils/plots.py:110
↓ 5 callersFunctioncheck_yaml
(file, suffix=('.yaml', '.yml'))
utils/general.py:304
↓ 5 callersFunctiondecode_bbox
(pred_hms, pred_whs, pred_offsets, confidence, cuda)
utils/utils_bbox.py:14
↓ 5 callersMethoddisplay
(self, pprint=False, show=False, save=False, crop=False, render=False, save_dir=Path(''))
models/common.py:378
↓ 5 callersFunctiondraw_text_in_image
(img, text, pos, color, line_width)
utils/utils_map.py:153
↓ 5 callersFunctionerror
(msg)
utils/utils_map.py:72
↓ 5 callersFunctionfile_lines_to_list
(path)
utils/utils_map.py:142
↓ 5 callersFunctionimg2label_paths
(img_paths)
utils/datasets.py:371
↓ 5 callersFunctionmake_divisible
(x, divisor)
utils/general.py:424
↓ 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]
utils/general.py:607
↓ 5 callersFunctionpostprocess
(prediction, need_nms, image_shape, input_shape, letterbox_image, nms_thres=0.4)
utils/utils_bbox.py:141
↓ 5 callersFunctionremove_prefix
(from_string, prefix=WANDB_ARTIFACT_PREFIX)
utils/loggers/wandb/wandb_utils.py:36
↓ 5 callersFunctionresize_image
(image, size, letterbox_image)
utils/utils.py:21
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
nets/resnet50.py:91
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
nets/resnet.py:134
↓ 4 callersMethodbackward
(ctx, grad_output)
utils/activations.py:40
↓ 4 callersFunctioncheck_file
(file, suffix='')
utils/general.py:309
↓ 4 callersFunctioncheck_suffix
(file='yolov5s.pt', suffix=('.pt',), msg='')
utils/general.py:295
↓ 4 callersFunctionis_parallel
(model)
utils/torch_utils.py:146
↓ 4 callersFunctionload_image
(self, i)
utils/datasets.py:650
↓ 4 callersFunctionmetric
(k)
utils/autoanchor.py:35
↓ 4 callersMethodpredict
(self, inputs, tf_nms=False, agnostic_nms=False, topk_per_class=100, topk_all=100, iou_thres=0.45,
models/tf.py:327
↓ 4 callersMethodresize_img
(self, img, label_w, label_h)
main_qt.py:289
↓ 4 callersMethodshow_image
(img_src, label)
main_qt_qthead.py:334
↓ 3 callersMethod__init__
(self, block, layers, num_classes=1000)
nets/resnet50.py:58
↓ 3 callersMethod__init__
(self, n, weight=False)
models/experimental.py:30
↓ 3 callersFunctionattempt_download
(file, repo='ultralytics/yolov5')
utils/downloads.py:43
↓ 3 callersFunctionautopad
(k, p=None)
models/common.py:29
↓ 3 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:235
↓ 3 callersMethodbox_label
(self, box, label='', color=(128, 128, 128), txt_color=(255, 255, 255))
utils/plots.py:81
↓ 3 callersFunctioncheck_imshow
()
utils/general.py:280
↓ 3 callersFunctionclip_coords
(boxes, shape)
utils/general.py:595
↓ 3 callersFunctionconv3x3
(in_planes, out_planes, stride=1, groups=1, dilation=1)
nets/resnet.py:7
↓ 3 callersFunctioncreate_dataloader
(path, imgsz, batch_size, stride, single_cls=False, hyp=None, augment=False, cache=False, pad=0.0,
utils/datasets.py:95
↓ 3 callersFunctioncvtColor
(image)
utils/utils_unet.py:9
↓ 3 callersFunctiondraw_plot_func
(dictionary, n_classes, window_title, plot_title, x_label, output_path, to_show, plot_color, true_p_bar)
utils/utils_map.py:185
↓ 3 callersFunctionemojis
(str='')
utils/general.py:175
↓ 3 callersFunctionparse_opt
(known=False)
docs/train.py:434
↓ 3 callersFunctionplot_mc_curve
(px, py, save_dir='mc_curve.png', names=(), xlabel='Confidence', ylabel='Metric')
utils/metrics.py:315
↓ 3 callersFunctionpreprocess_input
(image)
utils/utils_unet.py:44
↓ 3 callersFunctionprint_results
(k)
utils/autoanchor.py:96
↓ 3 callersFunctionrandom_perspective
(im, targets=(), segments=(), degrees=10, translate=.1, scale=.1, shear=10, perspective=0.0,
utils/augmentations.py:125
↓ 3 callersFunctionresize_image
(image, size)
utils/utils_unet.py:21
↓ 3 callersFunctionrun
(data, weights=None, # model.pt path(s) batch_size=32, # batch size imgsz=640, # in
docs/val.py:84
↓ 3 callersFunctiontorch_distributed_zero_first
Decorator to make all processes in distributed training wait for each local_master to do something.
utils/torch_utils.py:32
↓ 3 callersFunctiontrain
(hyp, # path/to/hyp.yaml or hyp dictionary opt, device, callbacks )
docs/train.py:59
↓ 3 callersFunctionxywhn2xyxy
(x, w=640, h=640, padw=0, padh=0)
utils/general.py:523
↓ 2 callersMethod__init__
(self)
main_qt_qthead.py:41
↓ 2 callersMethod__init__
(self, loss_fcn, gamma=1.5, alpha=0.25)
utils/loss.py:37
↓ 2 callersMethod__init__
(self, c1, k=3)
utils/activations.py:52
↓ 2 callersMethod__init__
(self, block, layers, num_classes=1000)
nets/resnet.py:101
↓ 2 callersMethod__init__
(self, k, inp_dim, out_dim, stride=1, with_bn=True)
nets/hourglass.py:10
↓ 2 callersMethod_forward_once
(self, x, profile=False, visualize=False)
models/yolo.py:142
↓ 2 callersFunctionadjust_axes
(r, t, fig, axes)
utils/utils_map.py:170
↓ 2 callersFunctionall_logging_disabled
source - https://gist.github.com/simon-weber/7853144 A context manager that will prevent any logging messages triggered during the body from bein
utils/loggers/wandb/wandb_utils.py:517
↓ 2 callersFunctionanchor_fitness
(k)
utils/autoanchor.py:92
↓ 2 callersFunctionbbox_ioa
Returns the intersection over box2 area given box1, box2. Boxes are x1y1x2y2 box1: np.array of shape(4) box2: np.array of shape(n
utils/metrics.py:260
↓ 2 callersFunctionbox_area
(box)
utils/metrics.py:248
↓ 2 callersFunctioncheck_anchor_order
(m)
utils/autoanchor.py:16
↓ 2 callersMethodcheck_and_upload_dataset
Check if the dataset format is compatible and upload it as W&B artifact arguments: opt (namespace)-- Commandline arguments f
utils/loggers/wandb/wandb_utils.py:194
↓ 2 callersFunctioncheck_font
(font='Arial.ttf', size=10)
utils/plots.py:51
↓ 2 callersFunctioncheck_online
()
utils/general.py:191
↓ 2 callersFunctioncheck_version
(current='0.0.0', minimum='0.0.0', name='version ', pinned=False)
utils/general.py:226
↓ 2 callersFunctioncheck_wandb_dataset
(data_file)
utils/loggers/wandb/wandb_utils.py:47
↓ 2 callersMethodconf_change
(self, method)
main_qt_qthead.py:234
↓ 2 callersMethodconf_change
(self, method)
main_qt.py:182
next →1–100 of 558, ranked by callers