MCPcopy Create free account

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

Functions532 in github.com/SebastianJanampa/DT-LSD

↓ 121 callersMethodappend
(self, p_object)
evaluation/lcnn/box.py:794
↓ 79 callersFunctionprint
(*args, **kwargs)
util/misc.py:438
↓ 55 callersMethoditems
(self)
evaluation/lcnn/box.py:431
↓ 41 callersMethodto
(self, device)
util/misc.py:323
↓ 36 callersMethodmax
(self)
util/misc.py:80
↓ 33 callersMethodupdate
(self, model)
util/utils.py:392
↓ 23 callersMethodpop
(self, key, *args)
evaluation/lcnn/box.py:583
↓ 20 callersMethodfloat
Return value of key as a float :param item: key of value to transform :param default: value to return if item does not exist
evaluation/lcnn/box.py:1034
↓ 19 callersMethodkeys
(self)
evaluation/lcnn/box.py:423
↓ 13 callersMethodcopy
(self)
util/slconfig.py:401
↓ 13 callersMethoddeepcopy
(self)
util/slconfig.py:404
↓ 12 callersMethodcopy
(self)
evaluation/lcnn/box.py:392
↓ 12 callersMethodget
(self, key, default=None)
evaluation/lcnn/box.py:382
↓ 12 callersFunctionmatch_name_keywords
(n: str, name_keywords: list)
util/get_param_dicts.py:6
↓ 12 callersMethodto_dict
Turn the Box and sub Boxes back into a native python dictionary. :return: python dictionary of this Box
evaluation/lcnn/box.py:628
↓ 11 callersMethoddump
(self, file=None)
util/slconfig.py:357
↓ 9 callersFunctionrecursive_to
(input, device)
evaluation/lcnn/utils.py:45
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
models/dtlsd/swin_transformer.py:21
↓ 6 callersMethodget_loss
(self, loss, outputs, targets, indices, num_boxes, **kwargs)
models/dtlsd/dtlsd.py:368
↓ 6 callersFunctionimshow
(im)
evaluation/lcnn/trainer.py:303
↓ 6 callersMethodsetdefault
(self, item, default=None)
evaluation/lcnn/box.py:664
↓ 6 callersMethodvalues
(self)
evaluation/lcnn/box.py:428
↓ 5 callersMethod__add_ordered
(self, key)
evaluation/lcnn/box.py:320
↓ 5 callersMethod__box_config
(self)
evaluation/lcnn/box.py:445
↓ 5 callersMethodto_list
(self)
evaluation/lcnn/box.py:848
↓ 5 callersMethodupdate
(self, item=None, **kwargs)
evaluation/lcnn/box.py:645
↓ 4 callersMethod__getattr__
Config file keys are stored in lower case, be a little more loosey goosey
evaluation/lcnn/box.py:983
↓ 4 callersMethod__init__
(self, encoder_layer, num_layers, norm=None, d_model=256, num_queries=300, deformabl
models/dtlsd/deformable_transformer.py:326
↓ 4 callersMethod__setattr__
(self, name, value)
util/slconfig.py:344
↓ 4 callersFunction_camel_killer
CamelKiller, qu'est-ce que c'est? Taken from http://stackoverflow.com/a/1176023/3244542
evaluation/lcnn/box.py:157
↓ 4 callersMethod_check_input
(self, value, name, center=1, bound=(0, float('inf')), clip_first_on_zero=True)
datasets/transforms.py:284
↓ 4 callersFunction_conversion_checks
Internal use for checking if a duplicate safe attribute already exists :param item: Item to see if a dup exists :param keys: Keys to che
evaluation/lcnn/box.py:187
↓ 4 callersMethod_make_residual
(self, block, planes, blocks, stride=1)
evaluation/lcnn/models/hourglass_pose.py:137
↓ 4 callersFunctionap
(tp, fp)
evaluation/lcnn/metric.py:11
↓ 4 callersFunctionbuild_dataset
(image_set, args)
datasets/__init__.py:18
↓ 4 callersMethoddevice
(self)
util/misc.py:358
↓ 4 callersMethodfromfile
(filename)
util/slconfig.py:192
↓ 4 callersFunctioninverse_sigmoid
(x, eps=1e-3)
util/misc.py:575
↓ 4 callersFunctionis_dist_avail_and_initialized
()
util/misc.py:446
↓ 4 callersFunctionis_str
Whether the input is an string instance. Note: This method is deprecated since python 2 is no longer supported.
util/slio.py:98
↓ 4 callersFunctionpline
(x1, y1, x2, y2, x, y)
evaluation/lcnn/postprocess.py:4
↓ 4 callersMethodsummary
(self)
util/utils.py:426
↓ 4 callersMethodtrain
(self)
evaluation/lcnn/trainer.py:281
↓ 4 callersMethodupdate
(self, **kwargs)
util/misc.py:171
↓ 3 callersMethod__getitem__
(self, item, _ignore_default=False)
evaluation/lcnn/box.py:410
↓ 3 callersMethod__init__
(self, backbone, position_embedding)
models/dtlsd/backbone.py:132
↓ 3 callersFunction_run
(command)
util/misc.py:268
↓ 3 callersFunction_safe_attr
Convert a key into something that is accessible as an attribute
evaluation/lcnn/box.py:128
↓ 3 callersFunction_safe_key
(key)
evaluation/lcnn/box.py:121
↓ 3 callersFunction_to_json
(obj, filename=None, encoding="utf-8", errors="strict", **json_kwargs)
evaluation/lcnn/box.py:61
↓ 3 callersMethodadd_meter
(self, name, meter)
util/misc.py:201
↓ 3 callersMethodbackward
(ctx, grad_output)
models/dtlsd/ops/functions/ms_deform_attn_func.py:32
↓ 3 callersMethodbool
Return value of key as a boolean :param item: key of value to transform :param default: value to return if item does not exist
evaluation/lcnn/box.py:996
↓ 3 callersFunctioncrop
(image, target, region)
datasets/transforms.py:13
↓ 3 callersFunctionevaluate
(model, criterion, postprocessors, data_loader, base_ds, device, output_dir, wo_class_error=False, args=None,
engine.py:120
↓ 3 callersFunctionget_world_size
()
util/misc.py:454
↓ 3 callersMethodlog_every
(self, iterable, print_freq, header=None, logger=None)
util/misc.py:204
↓ 3 callersFunctionnested_tensor_from_tensor_list
(tensor_list: List[Tensor])
util/misc.py:375
↓ 3 callersMethodwith_pos_embed
(tensor, pos)
models/dtlsd/deformable_transformer.py:668
↓ 2 callersMethod__convert_and_store
(self, item, value)
evaluation/lcnn/box.py:452
↓ 2 callersMethod__create_lineage
(self)
evaluation/lcnn/box.py:481
↓ 2 callersMethod__get_default
(self, item)
evaluation/lcnn/box.py:434
↓ 2 callersMethod__getattr__
(self, item)
evaluation/lcnn/box.py:489
↓ 2 callersMethod__init__
(self, num_pos_feats=64, temperature=10000, normalize=False, scale=None)
models/dtlsd/position_encoding.py:29
↓ 2 callersMethod__init__
Initializes the model. Parameters: backbone: torch module of the backbone to be used. See backbone.py transformer: to
models/dtlsd/dtlsd.py:39
↓ 2 callersMethod__init__
(self, block, num_blocks, planes, depth)
evaluation/lcnn/models/hourglass_pose.py:54
↓ 2 callersMethod__nice__
str: a "nice" summary string describing this module
util/utils.py:273
↓ 2 callersMethod__setattr__
(self, key, value)
evaluation/lcnn/box.py:528
↓ 2 callersMethod__setitem__
(self, key, value)
evaluation/lcnn/box.py:517
↓ 2 callersMethod_freeze_stages
(self)
models/dtlsd/swin_transformer.py:557
↓ 2 callersFunction_from_json
(json_string=None, filename=None, encoding="utf-8", errors="strict", multiline=False, **kwargs)
evaluation/lcnn/box.py:73
↓ 2 callersFunction_from_yaml
(yaml_string=None, filename=None, encoding="utf-8", errors="strict", **kwargs)
evaluation/lcnn/box.py:104
↓ 2 callersFunction_get_activation_fn
Return an activation function given a string
models/dtlsd/utils.py:122
↓ 2 callersFunction_get_box_config
(cls, kwargs)
evaluation/lcnn/box.py:230
↓ 2 callersFunction_get_clones
(module, N, layer_share=False)
models/dtlsd/deformable_transformer.py:787
↓ 2 callersMethod_get_src_permutation_idx
(self, indices)
models/dtlsd/dtlsd.py:356
↓ 2 callersMethod_loss
(self, result)
evaluation/lcnn/trainer.py:69
↓ 2 callersMethod_make_residual
(self, block, num_blocks, planes)
evaluation/lcnn/models/hourglass_pose.py:60
↓ 2 callersMethod_merge_a_into_b
merge dict `a` into dict `b` (non-inplace). values in `a` will overwrite `b`. copy first to avoid inplace modification
util/slconfig.py:148
↓ 2 callersFunction_recursive_tuples
(iterable, box_class, recreate_tuples=False, **kwargs)
evaluation/lcnn/box.py:174
↓ 2 callersFunction_to_yaml
(obj, filename=None, default_flow_style=False, encoding="utf-8", errors="strict", **
evaluation/lcnn/box.py:89
↓ 2 callersMethod_update
(self, model, update_fn)
util/utils.py:385
↓ 2 callersMethod_write_metrics
(self, size, total_loss, prefix, do_print=False)
evaluation/lcnn/trainer.py:205
↓ 2 callersFunctionadd_box_to_img
[summary] Args: img ([type]): np.array, H,W,3 boxes ([type]): list of list(4) colorlist: list of colors. brands:
util/vis_utils.py:10
↓ 2 callersMethodadjacency_matrix
(self, n, link)
evaluation/lcnn/datasets.py:81
↓ 2 callersFunctionargsort2d
(arr)
evaluation/lcnn/utils.py:66
↓ 2 callersFunctionbox_iou
(boxes1, boxes2)
util/box_ops.py:24
↓ 2 callersMethodbox_it_up
Perform value lookup for all items in current dictionary, generating all sub Box objects, while also running `box_it_up` on a
evaluation/lcnn/box.py:325
↓ 2 callersFunctionbuild_swin_transformer
(modelname, pretrain_img_size, **kw)
models/dtlsd/swin_transformer.py:683
↓ 2 callersFunctioncheck_and_copy
(src_path, tgt_path)
datasets/data_util.py:103
↓ 2 callersMethodforward_raw
Forward function.
models/dtlsd/swin_transformer.py:600
↓ 2 callersFunctiongen_encoder_output_proposals
Input: - memory: bs, \sum{hw}, d_model - memory_padding_mask: bs, \sum{hw} - spatial_shapes: nlevel, 2 - learnedw
models/dtlsd/utils.py:15
↓ 2 callersFunctiongen_sineembed_for_position
(pos_tensor)
models/dtlsd/utils.py:138
↓ 2 callersFunctionget_gaussian_mean
Args: x (float): Input images(BxCxHxW) axis (int): The index for weighted mean other_axis (int): The other index Re
util/utils.py:77
↓ 2 callersFunctionimshow
(im)
evaluation/eval-aph-post-wireframe.py:47
↓ 2 callersFunctionimshow
(im)
evaluation/eval-aph-post-york.py:47
↓ 2 callersFunctionis_main_process
()
util/misc.py:466
↓ 2 callersMethodmerge_from_dict
Merge list into cfg_dict Merge the dict parsed by MultipleKVAction into this cfg. Examples: >>> options = {'model.backbo
util/slconfig.py:365
↓ 2 callersFunctionms_deform_attn_core_pytorch
(value, value_spatial_shapes, sampling_locations, attention_weights)
models/dtlsd/ops/functions/ms_deform_attn_func.py:41
↓ 2 callersFunctionparmap
(f, X, nprocs=multiprocessing.cpu_count(), progress_bar=lambda x: x)
evaluation/lcnn/utils.py:78
next →1–100 of 532, ranked by callers