MCPcopy Create free account

hub / github.com/Duankaiwen/CenterNet / functions

Functions232 in github.com/Duankaiwen/CenterNet

↓ 10 callersFunction_isArrayLike
(obj)
data/coco/PythonAPI/pycocotools/coco.py:66
↓ 10 callersFunction_tranpose_and_gather_feat
(feat, ind)
models/py_utils/kp_utils.py:58
↓ 9 callersMethodmean
(self)
db/base.py:49
↓ 7 callersMethodcuda
(self)
nnet/py_factory.py:68
↓ 5 callersMethod__init__
(self, dim, pool1, pool2)
models/CenterNet-104.py:8
↓ 5 callersMethod__init__
(self, dim, pool1, pool2)
models/CenterNet-52.py:8
↓ 5 callersFunction_gather_feat
(feat, ind, mask=None)
models/py_utils/kp_utils.py:41
↓ 5 callersMethodgetAnnIds
Get ann ids that satisfy given filter conditions. default skips that filter :param imgIds (int array) : get anns for given imgs
data/coco/PythonAPI/pycocotools/coco.py:129
↓ 5 callersMethodloadAnns
Load anns with the specified ids. :param ids (int array) : integer ids specifying anns :return: anns (object array) : l
data/coco/PythonAPI/pycocotools/coco.py:200
↓ 4 callersMethodbackward
(ctx, grad_output)
models/py_utils/_cpools/__init__.py:18
↓ 4 callersMethodforward
(self, x)
models/py_utils/_cpools/__init__.py:63
↓ 4 callersMethodgetImgIds
Get img ids that satisfy given filter conditions. :param imgIds (int array) : get imgs for given ids :param catIds (int array
data/coco/PythonAPI/pycocotools/coco.py:179
↓ 4 callersMethodloadImgs
Load anns with the specified ids. :param ids (int array) : integer ids specifying img :return: imgs (object array) : lo
data/coco/PythonAPI/pycocotools/coco.py:222
↓ 3 callersFunction_nms
(heat, kernel=1)
models/py_utils/kp_utils.py:51
↓ 3 callersFunction_sigmoid
(x)
models/py_utils/kp_utils.py:196
↓ 3 callersFunction_topk
(scores, K=20)
models/py_utils/kp_utils.py:64
↓ 3 callersFunctiondraw_gaussian
(heatmap, center, radius, k=1, delte=6)
sample/utils.py:12
↓ 3 callersMethodimage_file
(self, ind)
db/base.py:80
↓ 3 callersMethodmodel
(self)
db/base.py:45
↓ 3 callersMethodset_lr
(self, lr)
nnet/py_factory.py:116
↓ 3 callersMethodupdate_config
(self, new)
db/base.py:72
↓ 2 callersMethod__init__
(self, model, loss)
nnet/py_factory.py:13
↓ 2 callersMethod__init__
( self, db, n, nstack, dims, modules, out_dim, pre=None, cnv_dim=256, make_tl_layer=make_tl_l
models/py_utils/kp.py:77
↓ 2 callersMethod__init__
(self, k, inp_dim, out_dim, stride=1, with_bn=True)
models/py_utils/utils.py:36
↓ 2 callersFunction_get_border
(border, size)
sample/utils.py:49
↓ 2 callersMethod_prepare
Prepare ._gts and ._dts for evaluation based on params :return: None
data/coco/PythonAPI/pycocotools/cocoeval.py:85
↓ 2 callersMethodannToRLE
Convert annotation which can be polygons, uncompressed RLE to RLE. :return: binary mask (numpy 2D array)
data/coco/PythonAPI/pycocotools/coco.py:405
↓ 2 callersFunctionblend_
(alpha, image1, image2)
utils/image.py:16
↓ 2 callersMethodcreateIndex
(self)
data/coco/PythonAPI/pycocotools/coco.py:90
↓ 2 callersFunctioncrop_image
(image, center, size)
utils/image.py:42
↓ 2 callersMethodeval_mode
(self)
nnet/py_factory.py:74
↓ 2 callersMethodgather
(self, outputs, output_device)
models/py_utils/data_parallel.py:82
↓ 2 callersMethodgetCatIds
filtering parameters. default skips that filter. :param catNms (str array) : get cats for given cat names :param supNms (str
data/coco/PythonAPI/pycocotools/coco.py:157
↓ 2 callersMethodimage_ids
(self, ind)
db/base.py:77
↓ 2 callersFunctioninit_parallel_jobs
(dbs, queue, fn, data_aug)
train.py:61
↓ 2 callersMethodloadCats
Load cats with the specified ids. :param ids (int array) : integer ids specifying cats :return: cats (object array) : l
data/coco/PythonAPI/pycocotools/coco.py:211
↓ 2 callersMethodload_params
(self, iteration)
nnet/py_factory.py:127
↓ 2 callersFunctionnormalize_
(image, mean, std)
utils/image.py:8
↓ 2 callersFunctionscatter
r""" Slices variables into approximately equal chunks and distributes them across given GPUs. Duplicates references to objects that are no
models/py_utils/scatter_gather.py:6
↓ 2 callersFunctionscatter_kwargs
r"""Scatter with support for kwargs dictionary
models/py_utils/scatter_gather.py:28
↓ 2 callersMethodsummarize
Compute and display summary metrics for evaluation results. Note this functin can *only* be applied on the default parameter setting
data/coco/PythonAPI/pycocotools/cocoeval.py:652
↓ 2 callersMethodsummarize_fd
Compute and display summary metrics for evaluation results. Note this functin can *only* be applied on the default parameter setting
data/coco/PythonAPI/pycocotools/cocoeval.py:725
↓ 2 callersMethodtrain
(self, xs, ys, **kwargs)
nnet/py_factory.py:77
↓ 2 callersMethodtrain_mode
(self)
nnet/py_factory.py:71
↓ 1 callersFunction_clip_detections
(image, detections)
sample/coco.py:38
↓ 1 callersMethod_extract_data
(self)
db/coco.py:101
↓ 1 callersFunction_full_image_crop
(image, detections)
sample/coco.py:12
↓ 1 callersMethod_load_coco_data
(self)
db/coco.py:82
↓ 1 callersMethod_load_data
(self)
db/coco.py:71
↓ 1 callersFunction_rescale_dets
(detections, ratios, borders, sizes)
test/coco.py:20
↓ 1 callersFunction_resize_image
(image, detections, size)
sample/coco.py:25
↓ 1 callersMethod_test
(self, *xs, **kwargs)
models/py_utils/kp.py:240
↓ 1 callersMethod_train
(self, *xs)
models/py_utils/kp.py:187
↓ 1 callersMethodaccumulate
Accumulate per image evaluation results and store the result in self.eval :param p: input params for evaluation :return: None
data/coco/PythonAPI/pycocotools/cocoeval.py:438
↓ 1 callersMethodaccumulate_fd
Accumulate per image evaluation results and store the result in self.eval :param p: input params for evaluation :return: None
data/coco/PythonAPI/pycocotools/cocoeval.py:545
↓ 1 callersMethodclass_name
(self, cid)
db/coco.py:96
↓ 1 callersFunctioncolor_jittering_
(data_rng, image)
utils/image.py:33
↓ 1 callersMethodconvert_to_coco
(self, all_bboxes)
db/coco.py:144
↓ 1 callersMethoddetections
(self, ind)
db/coco.py:135
↓ 1 callersMethodevaluate
Run per image evaluation on given images and store results (a list of dict) in self.evalImgs :return: None
data/coco/PythonAPI/pycocotools/cocoeval.py:122
↓ 1 callersMethodevaluate
(self, name)
db/base.py:90
↓ 1 callersMethodevaluate_fd
Run per image evaluation on given images and store results (a list of dict) in self.evalImgs :return: None
data/coco/PythonAPI/pycocotools/cocoeval.py:164
↓ 1 callersFunctiongaussian2D
(shape, sigma=1)
sample/utils.py:4
↓ 1 callersFunctiongaussian_radius
(det_size, min_overlap)
sample/utils.py:27
↓ 1 callersFunctiongrayscale
(image)
utils/image.py:5
↓ 1 callersFunctionlighting_
(data_rng, image, alphastd, eigval, eigvec)
utils/image.py:12
↓ 1 callersMethodloadNumpyAnnotations
Convert result data from a numpy array [Nx7] where each row contains {imageID,x1,y1,w,h,score,class} :param data (numpy.ndarray)
data/coco/PythonAPI/pycocotools/coco.py:382
↓ 1 callersMethodloadRes
Load result file and return a result api object. :param resFile (str) : file name of result file :return: res (obj)
data/coco/PythonAPI/pycocotools/coco.py:297
↓ 1 callersMethodload_pretrained_params
(self, pretrained_model)
nnet/py_factory.py:121
↓ 1 callersFunctionmake_br_layer
(dim)
models/py_utils/kp_utils.py:17
↓ 1 callersFunctionmake_cnv_layer
(inp_dim, out_dim)
models/py_utils/kp_utils.py:38
↓ 1 callersFunctionmake_ct_layer
(dim)
models/py_utils/kp_utils.py:20
↓ 1 callersFunctionmake_dirs
(directories)
test.py:34
↓ 1 callersFunctionmake_hg_layer
(kernel, dim0, dim1, mod, layer=convolution, **kwargs)
models/CenterNet-52.py:122
↓ 1 callersFunctionmake_inter_layer
(dim)
models/py_utils/kp_utils.py:35
↓ 1 callersFunctionmake_merge_layer
(dim)
models/py_utils/kp_utils.py:11
↓ 1 callersFunctionmake_pool_layer
(dim)
models/py_utils/kp_utils.py:23
↓ 1 callersFunctionmake_tl_layer
(dim)
models/py_utils/kp_utils.py:14
↓ 1 callersFunctionmake_unpool_layer
(dim)
models/py_utils/kp_utils.py:26
↓ 1 callersMethodparallel_apply
(self, replicas, inputs, kwargs)
models/py_utils/data_parallel.py:79
↓ 1 callersFunctionparse_args
()
train.py:25
↓ 1 callersFunctionparse_args
()
test.py:19
↓ 1 callersFunctionrandom_crop
(image, detections, random_scales, view_size, border=64)
sample/utils.py:55
↓ 1 callersMethodreplicate
(self, module, device_ids)
models/py_utils/data_parallel.py:73
↓ 1 callersFunctionsample_data
(db, k_ind, data_aug=True, debug=False)
sample/coco.py:198
↓ 1 callersMethodsave_params
(self, iteration)
nnet/py_factory.py:134
↓ 1 callersMethodscatter
(self, inputs, kwargs, device_ids, chunk_sizes)
models/py_utils/data_parallel.py:76
↓ 1 callersFunctionscatter_map
(obj)
models/py_utils/scatter_gather.py:13
↓ 1 callersMethodsetDetParams
(self)
data/coco/PythonAPI/pycocotools/cocoeval.py:780
↓ 1 callersMethodsetKpParams
(self)
data/coco/PythonAPI/pycocotools/cocoeval.py:792
↓ 1 callersMethodshuffle_inds
(self, quiet=False)
db/base.py:93
↓ 1 callersFunctionstdout_to_tqdm
()
utils/tqdm.py:17
↓ 1 callersFunctiontest
(db, split, testiter, debug=False, suffix=None)
test.py:39
↓ 1 callersMethodtest
(self, xs, **kwargs)
nnet/py_factory.py:111
↓ 1 callersFunctiontesting
(db, nnet, result_dir, debug=False)
test/coco.py:320
↓ 1 callersFunctiontrain
(training_dbs, validation_db, start_iter=0)
train.py:68
↓ 1 callersMethodvalidate
(self, xs, ys, **kwargs)
nnet/py_factory.py:97
Method__init__
(self)
config.py:5
Method__init__
(self, dummy_file)
utils/tqdm.py:9
Method__init__
(self, model)
nnet/py_factory.py:27
next →1–100 of 232, ranked by callers