MCPcopy Create free account

hub / github.com/SebastianJanampa/DT-LSD / functions

Functions532 in github.com/SebastianJanampa/DT-LSD

Functionrandom_boxes
Simple version of ``kwimage.Boxes.random`` Returns: Tensor: shape (n, 4) in x1, y1, x2, y2 format. References: https://gitla
util/utils.py:336
Functionreduce_dict
Args: input_dict (dict): all the values will be reduced average (bool): whether to do average or sum Reduce the values in the
util/misc.py:139
Methodregiste_with_name
(self, module_name=None, force=False)
models/registry.py:37
Methodrm_self_attn_modules
(self)
models/dtlsd/deformable_transformer.py:662
Functionsave_on_master
(*args, **kwargs)
util/misc.py:470
Methodset
(self, model)
util/utils.py:395
Methodshape
(self)
util/misc.py:368
Functionsldump
Dump data to json/yaml/pickle strings or files. This method provides a unified api for dumping data as strings or to files, and also supports
util/slio.py:138
Functionslprint
(x, name='x')
util/utils.py:9
Functionstat_tensors
(tensor)
util/utils.py:224
Methodsum_batch
(x)
evaluation/lcnn/models/line_vectorizer.py:138
Methodsynchronize_between_processes
Warning: does not synchronize the deque!
util/misc.py:50
Methodtimeit
(self, name)
util/time_counter.py:12
Methodto_img_list
remove the padding and convert to img list Returns: [type]: [description]
util/misc.py:341
Methodto_json
Transform the BoxList object into a JSON string. :param filename: If provided will save to file :param encoding: File encodi
evaluation/lcnn/box.py:861
Methodto_yaml
Transform the BoxList object into a YAML string. :param filename: If provided will save to file :param default_
evaluation/lcnn/box.py:913
Methodtrain
Convert the model into training mode while keep layers freezed.
models/dtlsd/swin_transformer.py:676
Methodupdate
Input: pred, gt: Tensor()
util/utils.py:181
Methodupdate
(self, new_res, ep)
util/utils.py:413
Methodupdate
return if the results is the best.
util/utils.py:442
Methodupdate
(self, _timedict:dict)
util/time_counter.py:22
Methodupdate
(self, val, n=1)
util/time_counter.py:49
Methodupdate_cm
(self, tp, fp, tn, fn)
util/utils.py:192
Methodvalue
(self)
util/misc.py:84
Functionvectorized_wireframe_2d_metric
( vert_pred, dpth_pred, edge_pred, vert_gt, dpth_gt, edge_gt, threshold )
evaluation/lcnn/metric.py:103
Functionvectorized_wireframe_3d_metric
( vert_pred, dpth_pred, edge_pred, vert_gt, dpth_gt, edge_gt, threshold )
evaluation/lcnn/metric.py:155
Methodvisualize
img: tensor(3, H, W) tgt: make sure they are all on cpu. must have items: 'image_id', 'boxes', 'size'
util/visualizer.py:62
Functionwork
(path)
evaluation/eval-fscore-wireframe.py:87
Functionwork
(path)
evaluation/eval-sAP-york.py:80
Functionwork
(path)
evaluation/eval-fscore-york.py:86
Functionwork
(path)
evaluation/eval-sAP-wireframe.py:79
Methodyaml
(self)
evaluation/lcnn/box.py:1106
← previous501–532 of 532, ranked by callers