MCPcopy Create free account

hub / github.com/1079863482/yolov5-label-xml / functions

Functions285 in github.com/1079863482/yolov5-label-xml

↓ 38 callersMethodinfo
(self, verbose=False, img_size=640)
models/yolo.py:228
↓ 21 callersMethod__init__
(self, c1, c2, n=1, shortcut=True, g=1, e=0.5)
models/common.py:128
↓ 13 callersMethodplot
(self, normalize=True, save_dir='', names=())
utils/metrics.py:174
↓ 11 callersFunctioncolorstr
(*input)
utils/general.py:477
↓ 9 callersMethodsave
(self, save_dir='runs/detect/exp')
models/common.py:593
↓ 9 callersFunctiontime_sync
()
utils/torch_utils.py:86
↓ 8 callersMethodrectangle
(self, xy, fill=None, outline=None, width=1)
utils/plots.py:126
↓ 7 callersFunctionxywh2xyxy
(x)
utils/general.py:551
↓ 6 callersMethodtolist
(self)
models/common.py:615
↓ 6 callersFunctionxyxy2xywh
(x)
utils/general.py:541
↓ 5 callersMethoddisplay
(self, pprint=False, show=False, save=False, crop=False, render=False, save_dir=Path(''))
models/common.py:546
↓ 5 callersFunctionletterbox
(im, new_shape=(640, 640), color=(114, 114, 114), auto=True, scaleFill=False, scaleup=True, stride=32)
utils/augmentations.py:91
↓ 4 callersFunctioncheck_requirements
(requirements=ROOT / 'requirements.txt', exclude=(), install=True)
utils/general.py:264
↓ 4 callersFunctioncheck_version
(current='0.0.0', minimum='0.0.0', name='version ', pinned=False, hard=False, verbose=False)
utils/general.py:251
↓ 4 callersFunctionimg2label_paths
(img_paths)
utils/datasets.py:370
↓ 4 callersFunctionload_image
(self, i)
utils/datasets.py:660
↓ 4 callersFunctionmake_divisible
(x, divisor)
utils/general.py:460
↓ 4 callersFunctionmetric
(k)
utils/autoanchor.py:32
↓ 3 callersMethod__init__
(self, n, weight=False)
models/experimental.py:31
↓ 3 callersFunctionclip_coords
(boxes, shape)
utils/general.py:633
↓ 3 callersFunctionincrement_path
(path, exist_ok=False, sep='', mkdir=False)
utils/general.py:830
↓ 3 callersFunctionis_docker
()
utils/general.py:169
↓ 3 callersFunctionis_parallel
(model)
utils/torch_utils.py:145
↓ 3 callersFunctionplot_mc_curve
(px, py, save_dir='mc_curve.png', names=(), xlabel='Confidence', ylabel='Metric')
utils/metrics.py:326
↓ 3 callersFunctionprint_results
(k)
utils/autoanchor.py:92
↓ 3 callersFunctionrandom_perspective
(im, targets=(), segments=(), degrees=10, translate=.1, scale=.1, shear=10, perspective=0.0,
utils/augmentations.py:124
↓ 3 callersFunctionxywhn2xyxy
(x, w=640, h=640, padw=0, padh=0)
utils/general.py:561
↓ 2 callersMethod_forward_once
(self, x, profile=False, visualize=False)
models/yolo.py:142
↓ 2 callersFunctionanchor_fitness
(k)
utils/autoanchor.py:88
↓ 2 callersFunctionattempt_download
(file, repo='ultralytics/yolov5')
utils/downloads.py:43
↓ 2 callersFunctionautopad
(k, p=None)
models/common.py:30
↓ 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:271
↓ 2 callersFunctionbox_area
(box)
utils/utils.py:153
↓ 2 callersFunctionbox_area
(box)
utils/metrics.py:259
↓ 2 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:246
↓ 2 callersMethodbox_label
(self, box, label='', color=(128, 128, 128), txt_color=(255, 255, 255))
utils/plots.py:101
↓ 2 callersFunctioncheck_anchor_order
(m)
utils/autoanchor.py:12
↓ 2 callersFunctioncheck_font
(font='Arial.ttf', size=10)
utils/plots.py:52
↓ 2 callersFunctioncheck_online
()
utils/general.py:215
↓ 2 callersFunctioncheck_suffix
(file='yolov5s.pt', suffix=('.pt',), msg='')
utils/general.py:326
↓ 2 callersFunctioncheck_yaml
(file, suffix=('.yaml', '.yml'))
utils/general.py:337
↓ 2 callersFunctioncopy_attr
(a, b, include=(), exclude=())
utils/torch_utils.py:252
↓ 2 callersFunctiondownload_one
(url, dir)
utils/general.py:428
↓ 2 callersFunctionemojis
(str='')
utils/general.py:199
↓ 2 callersFunctionexif_transpose
Transpose a PIL image accordingly if it has an EXIF Orientation tag. Inplace version of https://github.com/python-pillow/Pillow/blob/master/s
utils/datasets.py:68
↓ 2 callersFunctionfitness
(x)
utils/metrics.py:15
↓ 2 callersFunctionget_hash
(paths)
utils/datasets.py:45
↓ 2 callersFunctionis_ascii
(s='')
utils/general.py:188
↓ 2 callersFunctionis_chinese
(s='人工智能')
utils/general.py:194
↓ 2 callersFunctionletterbox
(img, new_shape=(640, 640), color=(114, 114, 114), auto=True, scaleFill=False, scaleup=True)
utils/utils.py:33
↓ 2 callersFunctionload_mosaic
(self, index)
utils/datasets.py:681
↓ 2 callersMethodnew_video
(self, path)
utils/datasets.py:231
↓ 2 callersFunctionsafe_download
(file, url, url2=None, min_bytes=1E0, error_msg='')
utils/downloads.py:24
↓ 2 callersFunctionscale_coords
(img1_shape, coords, img0_shape, ratio_pad=None)
utils/general.py:617
↓ 2 callersFunctionselect_device
(device='', batch_size=0, newline=True)
utils/torch_utils.py:56
↓ 2 callersMethodtext
(self, xy, text, txt_color=(255, 255, 255))
utils/plots.py:130
↓ 2 callersFunctionxyn2xy
(x, w=640, h=640, padw=0, padh=0)
utils/general.py:583
↓ 1 callersMethodProcess
(self,pred,img,image,names,colors)
utils/Detect_api.py:31
↓ 1 callersMethod__init__
(self, path, img_size=640, stride=32, auto=True)
utils/datasets.py:160
↓ 1 callersMethod__init__
(self, cfg='yolov5s.yaml', ch=3, nc=None, anchors=None)
models/yolo.py:85
↓ 1 callersMethod__iter__
(self)
utils/datasets.py:189
↓ 1 callersMethod_clip_augmented
(self, y)
models/yolo.py:172
↓ 1 callersMethod_descale_pred
(self, p, flips, scale, img_size)
models/yolo.py:155
↓ 1 callersMethod_forward_augment
(self, x)
models/yolo.py:128
↓ 1 callersMethod_initialize_biases
(self, cf=None)
models/yolo.py:196
↓ 1 callersMethod_make_grid
(self, nx=20, ny=20, i=0)
models/yolo.py:72
↓ 1 callersMethod_profile_one_layer
(self, m, x, dt)
models/yolo.py:183
↓ 1 callersFunctionattempt_load
(weights, map_location=None, inplace=True, fuse=True)
models/experimental.py:90
↓ 1 callersFunctionaugment_hsv
(im, hgain=0.5, sgain=0.5, vgain=0.5)
utils/augmentations.py:47
↓ 1 callersFunctionbox_candidates
(box1, box2, wh_thr=2, ar_thr=100, area_thr=0.1, eps=1e-16)
utils/augmentations.py:272
↓ 1 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/utils.py:140
↓ 1 callersFunctionbutter_lowpass
(cutoff, fs, order)
utils/plots.py:181
↓ 1 callersMethodcache_labels
(self, path=Path('./labels.cache'), prefix='')
utils/datasets.py:507
↓ 1 callersFunctioncheck_dataset
(data, autodownload=True)
utils/general.py:367
↓ 1 callersFunctioncheck_file
(file, suffix='')
utils/general.py:342
↓ 1 callersFunctioncheck_python
(minimum='3.6.2')
utils/general.py:246
↓ 1 callersFunctionclean_str
(s)
utils/general.py:467
↓ 1 callersFunctionclip_coords
(boxes, img_shape)
utils/utils.py:131
↓ 1 callersFunctioncompute_ap
Compute the average precision, given the recall and precision curves # Arguments recall: The recall curve (list) precision: Th
utils/metrics.py:89
↓ 1 callersFunctioncopy_paste
(im, labels, segments, p=0.5)
utils/augmentations.py:213
↓ 1 callersFunctioncreate_folder
(path='./new')
utils/datasets.py:812
↓ 1 callersFunctioncreate_xml
创建xml文件,依次写入xml文件必备关键字 :param list_xml: txt文件中的box :param list_images: 图片信息,xml中需要写入WHC :return:
demo.py:5
↓ 1 callersFunctiondate_modified
(path=__file__)
utils/torch_utils.py:41
↓ 1 callersMethoddetect
前向推理 :param image:图片 :param model: 模型 :param conf_thres: 置信度阈值 :param iou_thres: iou阈值 :return:
utils/Detect_api.py:50
↓ 1 callersFunctiondownload
(url, dir='.', unzip=True, delete=True, curl=False, threads=1)
utils/general.py:426
↓ 1 callersFunctionexif_size
(img)
utils/datasets.py:53
↓ 1 callersFunctionfeature_visualization
x: Features to be visualized module_type: Module type stage: Module stage within model n: Maxim
utils/plots.py:140
↓ 1 callersMethodforward
(self, x, augment=False, profile=False, visualize=False)
models/yolo.py:123
↓ 1 callersMethodforward
(self, x)
models/common.py:137
↓ 1 callersMethodforward
(self, im, augment=False, visualize=False, val=False)
models/common.py:380
↓ 1 callersMethodfuse
(self)
models/yolo.py:218
↓ 1 callersFunctionfuse_conv_and_bn
(conv, bn)
utils/torch_utils.py:192
↓ 1 callersFunctiongdrive_download
(id='1HaXkef9z6y5l4vUnCYgdmEAj61c6bfWO', name='coco.zip')
utils/google_utils.py:39
↓ 1 callersFunctionget_token
(cookie="./cookie")
utils/downloads.py:118
↓ 1 callersFunctiongit_describe
(path=Path(__file__).parent)
utils/torch_utils.py:47
↓ 1 callersFunctiongsutil_getsize
(url='')
utils/downloads.py:18
↓ 1 callersMethodhex2rgb
(h)
utils/plots.py:45
↓ 1 callersFunctionhist2d
(x, y, n=100)
utils/plots.py:168
↓ 1 callersFunctioninitialize_weights
(model)
utils/torch_utils.py:155
↓ 1 callersFunctionis_colab
()
utils/general.py:174
next →1–100 of 285, ranked by callers