Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SebastianJanampa/DT-LSD
/ functions
Functions
532 in github.com/SebastianJanampa/DT-LSD
⨍
Functions
532
◇
Types & classes
90
↓ 1 callers
Function
line_score
(path, threshold=5)
evaluation/eval-fscore-wireframe.py:45
↓ 1 callers
Function
line_score
(path, threshold=5)
evaluation/eval-sAP-york.py:34
↓ 1 callers
Function
line_score
(path, threshold=5)
evaluation/eval-fscore-york.py:43
↓ 1 callers
Function
line_score
(path, threshold=5)
evaluation/eval-sAP-wireframe.py:34
↓ 1 callers
Method
load_from_fileobj
(self, file, **kwargs)
util/slio.py:21
↓ 1 callers
Method
load_from_fileobj
(self, file)
util/slio.py:42
↓ 1 callers
Method
load_from_path
(self, filepath, **kwargs)
util/slio.py:56
↓ 1 callers
Function
main
(args)
main.py:94
↓ 1 callers
Function
main
(args)
demo.py:93
↓ 1 callers
Function
main
()
evaluation/eval-aph-post-wireframe.py:63
↓ 1 callers
Function
main
()
evaluation/eval-aph-score-york.py:40
↓ 1 callers
Function
main
()
evaluation/eval-aph-score-wireframe.py:40
↓ 1 callers
Function
main
()
evaluation/eval-aph-post-york.py:63
↓ 1 callers
Function
main
()
evaluation/process.py:44
↓ 1 callers
Function
make_coco_transforms
(image_set, fix_size=False, strong_aug=False, args=None)
datasets/coco.py:85
↓ 1 callers
Function
measure_average_inference_time
(model, data_loader, device, warm_iters=10)
benchmark.py:93
↓ 1 callers
Function
msTPFP
(line_pred, line_gt, threshold)
evaluation/lcnn/metric.py:194
↓ 1 callers
Function
nms_j
(heatmap, delta=1)
evaluation/lcnn/metric.py:68
↓ 1 callers
Function
non_maximum_suppression
(a)
evaluation/lcnn/models/line_vectorizer.py:248
↓ 1 callers
Function
pad
(image, target, padding)
datasets/transforms.py:151
↓ 1 callers
Function
pprint
Permanently prints things on the screen
evaluation/lcnn/trainer.py:318
↓ 1 callers
Method
prep_for_dn
(self,dn_meta)
models/dtlsd/dtlsd.py:516
↓ 1 callers
Function
prepare_for_cdn
A major difference of DINO from DN-DETR is that the author process pattern embedding pattern embedding in its detector forward functi
models/dtlsd/dn_components.py:20
↓ 1 callers
Function
preparing_dataset
(pathdict, image_set, args)
datasets/data_util.py:117
↓ 1 callers
Function
renorm
(img: torch.FloatTensor, mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])
util/visualizer.py:23
↓ 1 callers
Method
reset
(self)
util/time_counter.py:43
↓ 1 callers
Method
reset_parameters
(self)
models/dtlsd/position_encoding.py:117
↓ 1 callers
Function
resize
(image, size, max_size=None)
demo.py:53
↓ 1 callers
Method
run_tensorboard
(self)
evaluation/lcnn/trainer.py:54
↓ 1 callers
Method
sample_lines
(self, meta, jmap, joff, mode)
evaluation/lcnn/models/line_vectorizer.py:152
↓ 1 callers
Function
setup_for_distributed
This function disables printing when not in master process
util/misc.py:431
↓ 1 callers
Function
setup_logger
Initialize the detectron2 logger and set its verbosity level to "INFO". Args: output (str): a file name or a directory to save log.
util/logger.py:31
↓ 1 callers
Function
sigmoid_focal_loss
Loss used in RetinaNet for dense detection: https://arxiv.org/abs/1708.02002. Args: inputs: A float tensor of arbitrary shape.
models/dtlsd/utils.py:79
↓ 1 callers
Function
sigmoid_l1_loss
(logits, target, offset=0.0, mask=None)
evaluation/lcnn/models/multitask_learner.py:102
↓ 1 callers
Function
slcopytree
modified from shutil.copytree without copystat. Recursively copy a directory tree. The destination directory must not already exist
datasets/data_util.py:14
↓ 1 callers
Function
slload
Load data from json/yaml/pickle files. This method provides a unified api for loading data from serialized files. Args: file (str or
util/slio.py:105
↓ 1 callers
Function
test
(model, criterion, postprocessors, data_loader, base_ds, device, output_dir, wo_class_error=False, args=None,
engine.py:234
↓ 1 callers
Method
text
(self)
util/slconfig.py:224
↓ 1 callers
Method
to_json
Transform the Box object into a JSON string. :param filename: If provided will save to file :param encoding: File encoding
evaluation/lcnn/box.py:675
↓ 1 callers
Method
to_yaml
Transform the Box object into a YAML string. :param filename: If provided will save to file :param default_flow
evaluation/lcnn/box.py:717
↓ 1 callers
Method
train_epoch
(self)
evaluation/lcnn/trainer.py:163
↓ 1 callers
Function
train_one_epoch
(model: torch.nn.Module, criterion: torch.nn.Module, data_loader: Iterable, optimizer: tor
engine.py:19
↓ 1 callers
Method
validate
(self)
evaluation/lcnn/trainer.py:101
↓ 1 callers
Function
vflip
(image, target)
datasets/transforms.py:85
↓ 1 callers
Function
window_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
models/dtlsd/swin_transformer.py:53
↓ 1 callers
Method
with_pos_embed
(tensor, pos)
models/dtlsd/deformable_transformer.py:607
Function
PYBIND11_MODULE
models/dtlsd/ops/src/vision.cpp:13
Method
__call__
(self, image)
demo.py:27
Method
__call__
(self, image)
demo.py:45
Method
__call__
(self, img)
demo.py:50
Method
__call__
(self, img)
demo.py:89
Method
__call__
(self, img, target)
datasets/transforms.py:168
Method
__call__
(self, img, target)
datasets/transforms.py:176
Method
__call__
(self, img: PIL.Image.Image, target: dict)
datasets/transforms.py:186
Method
__call__
(self, img, target)
datasets/transforms.py:197
Method
__call__
(self, img, target)
datasets/transforms.py:209
Method
__call__
(self, img, target)
datasets/transforms.py:219
Method
__call__
(self, img, target=None)
datasets/transforms.py:231
Method
__call__
(self, img, target)
datasets/transforms.py:240
Method
__call__
(self, img, target)
datasets/transforms.py:256
Method
__call__
(self, img, target)
datasets/transforms.py:263
Method
__call__
(self, img, target)
datasets/transforms.py:272
Method
__call__
(self, img, target)
datasets/transforms.py:303
Method
__call__
(self, image, target=None)
datasets/transforms.py:334
Method
__call__
(self, image, target)
datasets/transforms.py:353
Method
__call__
(self, image, target)
datasets/coco.py:45
Method
__call__
(self, refanchors: Tensor)
models/dtlsd/utils.py:68
Method
__call__
(self, parser, namespace, values, option_string=None)
util/slconfig.py:431
Method
__call__
(self, idx)
util/misc.py:572
Method
__call__
(self, attnmap)
util/visualizer.py:46
Method
__copy__
(self)
evaluation/lcnn/box.py:395
Method
__copy__
(self)
evaluation/lcnn/box.py:828
Method
__deepcopy__
(self, memodict=None)
evaluation/lcnn/box.py:398
Method
__deepcopy__
(self, memodict=None)
evaluation/lcnn/box.py:833
Method
__delattr__
(self, item)
evaluation/lcnn/box.py:566
Method
__delitem__
(self, key)
evaluation/lcnn/box.py:784
Method
__dir__
(self)
evaluation/lcnn/box.py:991
Method
__enter__
(self)
evaluation/lcnn/utils.py:17
Method
__exit__
(self, *args)
evaluation/lcnn/utils.py:22
Method
__getattr__
(self, name)
util/slconfig.py:33
Method
__getattr__
(self, attr)
util/misc.py:178
Method
__getitem__
(self, idx)
datasets/coco.py:33
Method
__getitem__
(self, idx)
evaluation/lcnn/datasets.py:30
Method
__getitem__
(self, name)
util/slconfig.py:341
Method
__hash__
(self)
evaluation/lcnn/box.py:337
Method
__hash__
(self)
evaluation/lcnn/box.py:841
Method
__init__
(self, transforms)
demo.py:24
Method
__init__
(self, mean, std)
demo.py:41
Method
__init__
(self, sizes, max_size=None)
demo.py:84
Method
__init__
(self, size)
datasets/transforms.py:165
Method
__init__
(self, size)
datasets/transforms.py:173
Method
__init__
(self, min_size: int, max_size: int)
datasets/transforms.py:182
Method
__init__
(self, size)
datasets/transforms.py:194
Method
__init__
(self, p=0.5)
datasets/transforms.py:206
Method
__init__
(self, p=0.5)
datasets/transforms.py:216
Method
__init__
(self, sizes, max_size=None)
datasets/transforms.py:226
Method
__init__
(self, max_pad)
datasets/transforms.py:237
Method
__init__
(self, transforms1, transforms2, p=0.5)
datasets/transforms.py:251
Method
__init__
(self, *args, **kwargs)
datasets/transforms.py:269
Method
__init__
(self, brightness=0.4, contrast=0.4, saturation=0.4, hue=0.4)
datasets/transforms.py:277
← previous
next →
201–300 of 532, ranked by callers