MCPcopy Create free account

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

Functions532 in github.com/SebastianJanampa/DT-LSD

↓ 2 callersFunctionplambda
(x1, y1, x2, y2, x, y)
evaluation/lcnn/postprocess.py:24
↓ 2 callersFunctionpostprocess
(lines, scores, threshold=0.01, tol=1e9, do_clip=False)
evaluation/lcnn/postprocess.py:31
↓ 2 callersMethodregister
Register a module build function. Args: module (:obj:`nn.Module`): Module to be registered.
models/registry.py:40
↓ 2 callersFunctionremove
(srcpath)
datasets/data_util.py:110
↓ 2 callersFunctionrenorm
(img: torch.FloatTensor, mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])
util/utils.py:30
↓ 2 callersFunctionresize
(image, target, size, max_size=None)
datasets/transforms.py:103
↓ 2 callersMethodsummary
(self)
util/utils.py:456
↓ 2 callersMethodsynchronize_between_processes
(self)
util/misc.py:197
↓ 2 callersFunctionto_device
(item, device)
util/utils.py:64
↓ 2 callersMethodto_img_list_single
(self, tensor, mask)
util/misc.py:334
↓ 2 callersFunctiontprint
Temporarily prints things on the screen
evaluation/lcnn/trainer.py:312
↓ 2 callersMethodupdate
(self, value, n=1)
util/misc.py:45
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
models/dtlsd/swin_transformer.py:39
↓ 1 callersFunctionAPJ
(vert_pred, vert_gt, max_distance, im_ids)
evaluation/lcnn/metric.py:32
↓ 1 callersMethod__delitem__
(self, key)
evaluation/lcnn/box.py:558
↓ 1 callersMethod__dir__
(self)
evaluation/lcnn/box.py:345
↓ 1 callersMethod__getattr__
(self, name)
util/slconfig.py:328
↓ 1 callersMethod__init__
Creates the matcher Params: cost_class: This is the relative weight of the classification error in the matching cost c
models/dtlsd/matcher.py:32
↓ 1 callersMethod__init__
(self, inplanes, outplanes)
evaluation/lcnn/models/line_vectorizer.py:255
↓ 1 callersMethod__init__
(self, input_channels, num_class)
evaluation/lcnn/models/multitask_learner.py:12
↓ 1 callersMethod__init__
(self, cfg_dict=None, cfg_text=None, filename=None)
util/slconfig.py:197
↓ 1 callersMethod__init__
(self, **kwargs)
util/utils.py:124
↓ 1 callersMethod__iter__
(self)
evaluation/lcnn/box.py:620
↓ 1 callersMethod__repr__
str: the string of the module
util/utils.py:284
↓ 1 callersMethod__repr__
(self)
util/utils.py:466
↓ 1 callersMethod__str__
(self)
util/utils.py:420
↓ 1 callersFunction_cached_log_stream
(filename)
util/logger.py:94
↓ 1 callersMethod_file2dict
(filename)
util/slconfig.py:81
↓ 1 callersMethod_hour_glass_forward
(self, n, x)
evaluation/lcnn/models/hourglass_pose.py:77
↓ 1 callersFunction_is_power_of_2
(n)
models/dtlsd/ops/modules/ms_deform_attn.py:24
↓ 1 callersMethod_make_fc
(self, inplanes, outplanes)
evaluation/lcnn/models/hourglass_pose.py:157
↓ 1 callersMethod_make_hour_glass
(self, block, num_blocks, planes, depth)
evaluation/lcnn/models/hourglass_pose.py:66
↓ 1 callersFunction_max_by_axis
(the_list)
util/misc.py:292
↓ 1 callersFunction_onnx_nested_tensor_from_tensor_list
(tensor_list: List[Tensor])
util/misc.py:403
↓ 1 callersMethod_parse_int_float_bool
(val)
util/slconfig.py:416
↓ 1 callersMethod_plot_samples
(self, i, index, result, meta, target, prefix)
evaluation/lcnn/trainer.py:228
↓ 1 callersMethod_reset_parameters
(self)
models/dtlsd/deformable_transformer.py:152
↓ 1 callersMethod_reset_parameters
(self)
models/dtlsd/dtlsd.py:159
↓ 1 callersMethod_reset_parameters
(self)
models/dtlsd/ops/modules/ms_deform_attn.py:62
↓ 1 callersMethod_set_aux_loss
(self, outputs_class, outputs_coord)
models/dtlsd/dtlsd.py:273
↓ 1 callersMethod_validate_py_syntax
(filename)
util/slconfig.py:71
↓ 1 callersMethodaddtgt
- tgt: dict. args: - boxes: num_boxes, 4. xywh, [0,1]. - box_label: num_boxes.
util/visualizer.py:88
↓ 1 callersFunctionbenchmark
(args)
benchmark.py:107
↓ 1 callersFunctionbox_iou_pairwise
(boxes1, boxes2)
util/box_ops.py:68
↓ 1 callersFunctionbuild_backbone
Useful args: - backbone: backbone name - lr_backbone: - dilation - return_interm_indices: available: [0,1,2,3],
models/dtlsd/backbone.py:147
↓ 1 callersFunctionbuild_deformable_transformer
(args)
models/dtlsd/deformable_transformer.py:794
↓ 1 callersFunctionbuild_dtlsd
(args)
models/dtlsd/dtlsd.py:587
↓ 1 callersFunctionbuild_matcher
(args)
models/dtlsd/matcher.py:170
↓ 1 callersFunctionbuild_model
(args)
models/__init__.py:9
↓ 1 callersFunctionbuild_model_main
(args)
benchmark.py:84
↓ 1 callersFunctionbuild_model_main
(args)
main.py:86
↓ 1 callersFunctionbuild_position_encoding
(args)
models/dtlsd/position_encoding.py:135
↓ 1 callersFunctionc
(x)
evaluation/eval-aph-post-wireframe.py:43
↓ 1 callersFunctionc
(x)
evaluation/eval-aph-post-york.py:43
↓ 1 callersFunctionc
(x)
evaluation/process.py:129
↓ 1 callersFunctionc
(x)
evaluation/lcnn/trainer.py:299
↓ 1 callersFunctioncheck_file_exist
(filename, msg_tmpl='file "{}" does not exist')
util/slconfig.py:24
↓ 1 callersFunctioncheck_forward_equal_with_pytorch_double
()
models/dtlsd/ops/test.py:32
↓ 1 callersFunctioncheck_forward_equal_with_pytorch_float
()
models/dtlsd/ops/test.py:48
↓ 1 callersFunctioncheck_gradient_numerical
(channels=4, grad_value=True, grad_sampling_loc=True, grad_attn_weight=True)
models/dtlsd/ops/test.py:63
↓ 1 callersFunctioncheck_keep
(keyname, ignorekeywordlist)
main.py:272
↓ 1 callersFunctionciou
(bboxes1, bboxes2)
util/box_loss.py:7
↓ 1 callersMethodcreate_embedding_fn
(self)
util/utils.py:128
↓ 1 callersFunctioncross_entropy_loss
(logits, positive)
evaluation/lcnn/models/multitask_learner.py:97
↓ 1 callersMethoddecompose
(self)
util/misc.py:361
↓ 1 callersFunctiondiou
(bboxes1, bboxes2)
util/box_loss.py:58
↓ 1 callersFunctiondn_post_process
post process of dn after output from the transformer put the dn part in the dn_meta
models/dtlsd/dn_components.py:196
↓ 1 callersMethoddump_to_fileobj
(self, obj, file, **kwargs)
util/slio.py:25
↓ 1 callersMethoddump_to_fileobj
(self, obj, file, **kwargs)
util/slio.py:45
↓ 1 callersMethoddump_to_path
(self, obj, filepath, **kwargs)
util/slio.py:68
↓ 1 callersMethoddump_to_str
(self, obj, **kwargs)
util/slio.py:48
↓ 1 callersMethodembed
(self, inputs)
util/utils.py:152
↓ 1 callersFunctionensure_rng
Coerces input into a random number generator. If the input is None, then a global random state is returned. If the input is a numeric value,
util/utils.py:306
↓ 1 callersMethodextend
(self, iterable)
evaluation/lcnn/box.py:810
↓ 1 callersFunctionf_score
(tp, fp)
evaluation/eval-fscore-wireframe.py:35
↓ 1 callersFunctionf_score
(tp, fp)
evaluation/eval-fscore-york.py:33
↓ 1 callersMethodfinal_res
(self)
util/time_counter.py:28
↓ 1 callersMethodforward_ca
(self, # for tgt tgt: Optional[Tensor], # nq, bs, d_model tgt
models/dtlsd/deformable_transformer.py:720
↓ 1 callersMethodforward_ffn
(self, src)
models/dtlsd/deformable_transformer.py:610
↓ 1 callersMethodforward_ffn
(self, tgt)
models/dtlsd/deformable_transformer.py:671
↓ 1 callersMethodforward_sa
(self, # for tgt tgt: Optional[Tensor], # nq, bs, d_model tgt
models/dtlsd/deformable_transformer.py:677
↓ 1 callersMethodfrom_yaml
Transform a yaml object string into a Box object. :param yaml_string: string to pass to `yaml.load` :param filen
evaluation/lcnn/box.py:735
↓ 1 callersFunctionget_args_parser
()
benchmark.py:26
↓ 1 callersFunctionget_args_parser
()
main.py:27
↓ 1 callersFunctionget_args_parser
()
demo.py:16
↓ 1 callersFunctionget_coco_api_from_dataset
(dataset)
datasets/__init__.py:8
↓ 1 callersFunctionget_extensions
()
models/dtlsd/ops/setup.py:23
↓ 1 callersFunctionget_param_dict
(args, model_without_ddp: nn.Module)
util/get_param_dicts.py:15
↓ 1 callersFunctionget_rank
()
util/misc.py:460
↓ 1 callersMethodget_reference_points
(spatial_shapes, valid_ratios, device)
models/dtlsd/deformable_transformer.py:366
↓ 1 callersFunctionget_size
(image_size, size, max_size=None)
demo.py:72
↓ 1 callersFunctionget_size
(image_size, size, max_size=None)
datasets/transforms.py:126
↓ 1 callersFunctionget_size_with_aspect_ratio
(image_size, size, max_size=None)
demo.py:55
↓ 1 callersFunctionget_size_with_aspect_ratio
(image_size, size, max_size=None)
datasets/transforms.py:106
↓ 1 callersMethodget_valid_ratio
(self, mask)
models/dtlsd/deformable_transformer.py:162
↓ 1 callersFunctionhflip
(image, target)
datasets/transforms.py:71
↓ 1 callersMethodinit_ref_points
(self, use_num_queries)
models/dtlsd/deformable_transformer.py:171
↓ 1 callersMethodinsert
(self, index, p_object)
evaluation/lcnn/box.py:814
↓ 1 callersMethodint
Return value of key as an int :param item: key of value to transform :param default: value to return if item does not exist
evaluation/lcnn/box.py:1019
↓ 1 callersMethodisbetter
(self, new_res, old_res)
util/utils.py:407
← previousnext →101–200 of 532, ranked by callers