MCPcopy Create free account

hub / github.com/CVHub520/yolov5_obb / functions

Functions1,299 in github.com/CVHub520/yolov5_obb

↓ 4 callersFunctioncal_line_length
(point1, point2)
DOTA_devkit/dota_utils.py:253
↓ 4 callersFunctioncheck_img_size
(imgsz, s=32, floor=0)
utils/general.py:304
↓ 4 callersFunctioncheck_version
(current='0.0.0', minimum='0.0.0', name='version ', pinned=False, hard=False, verbose=False)
utils/general.py:255
↓ 4 callersMethodempty
(self)
DOTA_devkit/polyiou.py:167
↓ 4 callersFunctionis_parallel
(model)
utils/torch_utils.py:145
↓ 4 callersFunctionload_image_label
(self, i)
utils/datasets.py:702
↓ 4 callersFunctionload_nxywh_info
extract a list object from the *.txt file Args: p: *.txt file path. sep: Separators. [Default: ' '] Returns: A list ob
divide.py:31
↓ 4 callersFunctionmetric
(k)
utils/autoanchor.py:53
↓ 4 callersFunctionnorm_angle
(angle, range=[-np.pi / 4, np.pi])
DOTA_devkit/dota_poly2rbox.py:79
↓ 4 callersFunctionpoly2rbox
Trans poly format to rbox format. Args: polys (array): (num_gts, [x1 y1 x2 y2 x3 y3 x4 y4]) num_cls_thata (int): [1], theta
utils/rboxs_utils.py:39
↓ 4 callersMethodpop
(self)
DOTA_devkit/polyiou.py:161
↓ 4 callersMethodrend
(self)
DOTA_devkit/polyiou.py:185
↓ 4 callersMethodsplitdata
:param rate: resize rate before cut
DOTA_devkit/ImgSplit.py:232
↓ 3 callersFunctionSWIG_From_size_t
DOTA_devkit/polyiou_wrap.cxx:4529
↓ 3 callersFunctionSWIG_Python_str_AsChar
Warning: This function will allocate a new string in Python 3, * so please call SWIG_Python_str_DelForPy3(x) to free the space. */
DOTA_devkit/polyiou_wrap.cxx:808
↓ 3 callersFunctionSWIG_TypePrettyName
Return the pretty name associated with this type, that is an unmangled type name in a form presentable to the user. */
DOTA_devkit/polyiou_wrap.cxx:530
↓ 3 callersFunctionSwigPyBuiltin_AddPublicSymbol
DOTA_devkit/polyiou_wrap.cxx:1152
↓ 3 callersFunction__Pyx_GetException
DOTA_devkit/poly_nms_gpu/poly_overlaps.cpp:6422
↓ 3 callersFunction__Pyx_GetException
DOTA_devkit/poly_nms_gpu/poly_nms.cpp:6803
↓ 3 callersFunction__Pyx_GetItemInt_Generic
GetItemInt */
DOTA_devkit/poly_nms_gpu/poly_nms.cpp:6142
↓ 3 callersFunction__Pyx_PyObject_CallOneArg
DOTA_devkit/poly_nms_gpu/poly_nms.cpp:6453
↓ 3 callersFunction__Pyx_RaiseBufferIndexError
BufferIndexError */
DOTA_devkit/poly_nms_gpu/poly_overlaps.cpp:5905
↓ 3 callersFunction__Pyx_inner_PyErr_GivenExceptionMatches2
DOTA_devkit/poly_nms_gpu/poly_overlaps.cpp:7863
↓ 3 callersFunction__Pyx_inner_PyErr_GivenExceptionMatches2
DOTA_devkit/poly_nms_gpu/poly_nms.cpp:8244
↓ 3 callersMethod__init__
(self, n, weight=False)
models/experimental.py:31
↓ 3 callersMethodadvance
DOTA_devkit/polyiou_wrap.cxx:2870
↓ 3 callersFunctionautopad
(k, p=None)
models/common.py:30
↓ 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:246
↓ 3 callersFunctioncheck_suffix
(file='yolov5s.pt', suffix=('.pt',), msg='')
utils/general.py:331
↓ 3 callersFunctionclip_coords
(boxes, shape)
utils/general.py:668
↓ 3 callersFunctioncreate_dataloader
(path, imgsz, batch_size, stride, names, single_cls=False, hyp=None, augment=False, cache=False, pad=0.0,
utils/datasets.py:95
↓ 3 callersFunctionde_parallel
(model)
utils/torch_utils.py:150
↓ 3 callersFunctiondelslice
DOTA_devkit/polyiou_wrap.cxx:3826
↓ 3 callersMethodempty
DOTA_devkit/polyiou_wrap.cxx:4309
↓ 3 callersFunctionis_docker
()
utils/general.py:173
↓ 3 callersFunctionmkdir
Create a folder Args: p: file path. is_remove: whether delete the exist folder or not. Default [False].
divide.py:18
↓ 3 callersFunctionparse_opt
(known=False)
train.py:448
↓ 3 callersFunctionplot_mc_curve
(px, py, save_dir='mc_curve.png', names=(), xlabel='Confidence', ylabel='Metric')
utils/metrics.py:326
↓ 3 callersFunctionpoly2hbb
Trans poly format to hbb format Args: rboxes (array/tensor): (num_gts, poly) Returns: hbboxes (array/tensor): (num_gts,
utils/rboxs_utils.py:147
↓ 3 callersFunctionpoly_filter
Filter the poly labels which is out of the image. Args: polys (array): (num, 8) Return: keep_masks (array): (num)
utils/rboxs_utils.py:183
↓ 3 callersFunctionpolygon_cut
多边形切割 用直线ab切割多边形p,切割后的在向量(a,b)的左侧,并原地保存切割结果 如果退化为一个点,也会返回去,此时n为1 void polygon_cut(Point*p,int&n,Point a,Point b){ static Point pp[maxn]; int m=0;p[n]=
DOTA_devkit/polyiou.cpp:58
↓ 3 callersFunctionprint_results
(k, verbose=True)
utils/autoanchor.py:115
↓ 3 callersFunctionrandom_perspective
(im, targets=(), segments=(), degrees=10, translate=.1, scale=.1, shear=10, perspective=0.0,
utils/augmentations.py:131
↓ 3 callersFunctionrun
(data, weights=None, # model.pt path(s) batch_size=32, # batch size imgsz=640, # in
val.py:94
↓ 3 callersFunctionscale_coords
(img1_shape, coords, img0_shape, ratio_pad=None)
utils/general.py:622
↓ 3 callersFunctionscale_polys
(img1_shape, polys, img0_shape, ratio_pad=None)
utils/general.py:637
↓ 3 callersFunctionsetslice
DOTA_devkit/polyiou_wrap.cxx:3763
↓ 3 callersFunctionslice_adjust
DOTA_devkit/polyiou_wrap.cxx:3651
↓ 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:30
↓ 3 callersFunctiontrain
(hyp, # path/to/hyp.yaml or hyp dictionary opt, device, callbacks )
train.py:57
↓ 2 callersFunctionDOTA2COCOTest
(srcpath, destfile, cls_names)
DOTA_devkit/DOTA2COCO.py:91
↓ 2 callersFunctionDOTA2COCOTrain
(srcpath, destfile, cls_names, difficult='2')
DOTA_devkit/DOTA2COCO.py:21
↓ 2 callersFunctionGetFileFromThisRootDir
(dir,ext = None)
DOTA_devkit/results_ensemble.py:5
↓ 2 callersFunctionSWIG_AsVal_long
DOTA_devkit/polyiou_wrap.cxx:3174
↓ 2 callersFunctionSWIG_AsVal_unsigned_SS_long
DOTA_devkit/polyiou_wrap.cxx:3013
↓ 2 callersFunctionSWIG_From_ptrdiff_t
DOTA_devkit/polyiou_wrap.cxx:3151
↓ 2 callersFunctionSWIG_PackData
Pack binary data into a string */
DOTA_devkit/polyiou_wrap.cxx:655
↓ 2 callersFunctionSWIG_PackDataName
DOTA_devkit/polyiou_wrap.cxx:723
↓ 2 callersFunctionSWIG_Python_AddErrorMsg
DOTA_devkit/polyiou_wrap.cxx:908
↓ 2 callersFunctionSWIG_Python_TypeCache
The python cached type query */
DOTA_devkit/polyiou_wrap.cxx:2437
↓ 2 callersFunctionSWIG_TypeCast
Cast a pointer up an inheritance hierarchy */
DOTA_devkit/polyiou_wrap.cxx:499
↓ 2 callersFunctionSWIG_TypeClientData
Set the clientdata field for a type */
DOTA_devkit/polyiou_wrap.cxx:551
↓ 2 callersFunctionSWIG_TypeNewClientData
DOTA_devkit/polyiou_wrap.cxx:567
↓ 2 callersFunctionSWIG_UnpackData
Unpack binary data from a string */
DOTA_devkit/polyiou_wrap.cxx:671
↓ 2 callersMethodSplitSingle
split a single image and ground truth :param name: image name :param rate: the resize scale for the image :param
DOTA_devkit/ImgSplit_multi_process.py:226
↓ 2 callersFunctionSwigPyObject_New
DOTA_devkit/polyiou_wrap.cxx:1775
↓ 2 callersFunctionSwigPyObject_format
DOTA_devkit/polyiou_wrap.cxx:1405
↓ 2 callersFunctionSwigPyPacked_Check
DOTA_devkit/polyiou_wrap.cxx:1838
↓ 2 callersFunction__Pyx_BufFmt_DescribeTypeChar
DOTA_devkit/poly_nms_gpu/poly_overlaps.cpp:5286
↓ 2 callersFunction__Pyx_BufFmt_DescribeTypeChar
DOTA_devkit/poly_nms_gpu/poly_nms.cpp:5523
↓ 2 callersFunction__Pyx_BufFmt_ExpectNumber
DOTA_devkit/poly_nms_gpu/poly_overlaps.cpp:5275
↓ 2 callersFunction__Pyx_BufFmt_ExpectNumber
DOTA_devkit/poly_nms_gpu/poly_nms.cpp:5512
↓ 2 callersFunction__Pyx_IsSubtype
DOTA_devkit/poly_nms_gpu/poly_overlaps.cpp:7847
↓ 2 callersFunction__Pyx_IsSubtype
DOTA_devkit/poly_nms_gpu/poly_nms.cpp:8228
↓ 2 callersFunction__Pyx_Is_Little_Endian
IsLittleEndian */
DOTA_devkit/poly_nms_gpu/poly_overlaps.cpp:5222
↓ 2 callersFunction__Pyx_Is_Little_Endian
IsLittleEndian */
DOTA_devkit/poly_nms_gpu/poly_nms.cpp:5459
↓ 2 callersFunction__Pyx_PyErr_GivenExceptionMatches
DOTA_devkit/poly_nms_gpu/poly_overlaps.cpp:7914
↓ 2 callersFunction__Pyx_PyErr_GivenExceptionMatches
DOTA_devkit/poly_nms_gpu/poly_nms.cpp:8295
↓ 2 callersFunction__Pyx_PyFunction_FastCallNoKw
DOTA_devkit/poly_nms_gpu/poly_overlaps.cpp:6118
↓ 2 callersFunction__Pyx_PyFunction_FastCallNoKw
DOTA_devkit/poly_nms_gpu/poly_nms.cpp:6259
↓ 2 callersFunction__Pyx_PyObject_CallMethO
DOTA_devkit/poly_nms_gpu/poly_nms.cpp:6378
↓ 2 callersFunction__Pyx_PyObject_CallOneArg
DOTA_devkit/poly_nms_gpu/poly_overlaps.cpp:6267
↓ 2 callersFunction__Pyx_RaiseArgtupleInvalid
RaiseArgTupleInvalid */
DOTA_devkit/poly_nms_gpu/poly_overlaps.cpp:5059
↓ 2 callersFunction__Pyx_RaiseArgtupleInvalid
RaiseArgTupleInvalid */
DOTA_devkit/poly_nms_gpu/poly_nms.cpp:5296
↓ 2 callersFunction__Pyx_RaiseBufferIndexError
BufferIndexError */
DOTA_devkit/poly_nms_gpu/poly_nms.cpp:6482
↓ 2 callersFunction__Pyx_RefNannyImportAPI
DOTA_devkit/poly_nms_gpu/poly_overlaps.cpp:5043
↓ 2 callersFunction__Pyx_RefNannyImportAPI
DOTA_devkit/poly_nms_gpu/poly_nms.cpp:5280
↓ 2 callersFunction__Pyx_TypeTest
ExtTypeTest */
DOTA_devkit/poly_nms_gpu/poly_overlaps.cpp:5892
↓ 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 callersFunction__pyx_bisect_code_objects
CodeObjectCache */
DOTA_devkit/poly_nms_gpu/poly_overlaps.cpp:6661
↓ 2 callersFunction__pyx_bisect_code_objects
CodeObjectCache */
DOTA_devkit/poly_nms_gpu/poly_nms.cpp:7042
↓ 2 callersMethod_forward_once
Args: x (tensor): (b, 3, height, width), RGB Return: x (list[P3_out, ...]): tensor.Size(b, self.na, h_i, w_i
models/yolo.py:164
↓ 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:549
↓ 2 callersFunctionanchor_fitness
(k)
utils/autoanchor.py:110
↓ 2 callersFunctionasval
DOTA_devkit/polyiou_wrap.cxx:3469
↓ 2 callersMethodback
(self)
DOTA_devkit/polyiou.py:209
↓ 2 callersMethodbackward
(ctx, grad_output)
utils/activations.py:40
↓ 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/metrics.py:259
← previousnext →101–200 of 1,299, ranked by callers