MCPcopy Create free account

hub / github.com/baaivision/Uni3D / functions

Functions189 in github.com/baaivision/Uni3D

↓ 1 callersFunctionwhitespace_clean
(text)
utils/tokenizer.py:58
Method__call__
(self, x)
utils/utils.py:242
Method__call__
(self, texts, context_length=77)
utils/tokenizer.py:136
Method__call__
(self, x)
data/utils/utils.py:242
Method__contains__
(self, key)
data/utils/registry.py:59
Method__getitem__
(self, index)
data/datasets.py:189
Method__getitem__
(self, index)
data/datasets.py:239
Method__getitem__
(self, idx)
data/datasets.py:353
Method__getitem__
(self, idx)
data/datasets.py:539
Method__init__
(self, name, fmt=':f')
main.py:638
Method__init__
(self, num_batches, meters, prefix="")
main.py:672
Method__init__
(self, values)
utils/optim.py:46
Method__init__
(self, sigma=[.1, 2.])
utils/utils.py:239
Method__init__
(self, bpe_path: str = default_bpe())
utils/tokenizer.py:65
Method__init__
(self, config)
data/datasets.py:160
Method__init__
(self, config)
data/datasets.py:213
Method__init__
(self, config)
data/datasets.py:268
Method__init__
(self, config)
data/datasets.py:470
Method__init__
(self, args, tokenizer, dataset_type, train_transform=None)
data/datasets.py:676
Method__init__
(self, sigma=[.1, 2.])
data/utils/utils.py:239
Method__init__
(self, name, build_func=None, parent=None, scope=None)
data/utils/registry.py:32
Method__init__
(self, prob, exclude_first_token=True)
models/point_encoder.py:57
Method__init__
(self, encoder_channel)
models/point_encoder.py:130
Method__init__
(self, point_transformer, args)
models/point_encoder.py:162
Method__init__
(self, point_encoder)
models/uni3d.py:10
Method__init__
(self)
models/losses.py:8
Method__len__
(self)
data/datasets.py:186
Method__len__
(self)
data/datasets.py:228
Method__len__
(self)
data/datasets.py:465
Method__len__
(self)
data/datasets.py:583
Method__len__
(self)
data/utils/registry.py:56
Method__repr__
(self)
data/utils/registry.py:62
Method__str__
(self)
main.py:666
Function_lr_adjuster
(step)
utils/scheduler.py:14
Method_register
(cls)
data/utils/registry.py:238
Functionall_gather_batch
Performs all_gather operation on the provided tensors.
utils/utils.py:155
Functionall_gather_batch
Performs all_gather operation on the provided tensors.
data/utils/utils.py:155
Functionall_gather_batch_with_grad
Performs all_gather operation on the provided tensors. Graph remains connected for backward grad computation.
utils/utils.py:200
Functionall_gather_batch_with_grad
Performs all_gather operation on the provided tensors. Graph remains connected for backward grad computation.
data/utils/utils.py:200
Functionaugment_pc
(data)
data/utils/data.py:79
Methodbackward
(ctx, *grads)
data/utils/utils.py:194
Functionbuild_from_cfg
Build a module from config dict. Args: cfg (edict): Config dict. It should at least contain the key "NAME". registry (:obj:`Regist
data/utils/registry.py:246
Functioncfg_from_yaml_file
(cfg_file)
utils/utils.py:32
Functioncfg_from_yaml_file
(cfg_file)
data/utils/utils.py:32
Methodchildren
(self)
data/utils/registry.py:120
Functioncosine_lr
(optimizer, base_lr, warmup_length, steps)
utils/scheduler.py:13
Functioncosine_scheduler
(base_value, final_value, epochs, niter_per_ep, warmup_epochs=0, start_warmup_value=0)
utils/utils.py:222
Functioncosine_scheduler
(base_value, final_value, epochs, niter_per_ep, warmup_epochs=0, start_warmup_value=0)
data/utils/utils.py:222
Functioncreate_uni3d
(args)
models/uni3d.py:36
Functioncustomized_collate_fn
r"""Puts each data field into a tensor with outer dimension batch size
data/datasets.py:597
Functionfarthest_point_sample
Input: xyz: pointcloud data, [N, D] npoint: number of samples Return: centroids: sampled pointcloud index, [npoint, D
data/datasets.py:36
Methodforward
(ctx, x)
utils/utils.py:188
Methodforward
(ctx, x)
data/utils/utils.py:188
Methodforward
(self, x)
models/point_encoder.py:64
Methodforward
input: B N 3 --------------------------- output: B G M 3 center : B G 3
models/point_encoder.py:99
Methodforward
point_groups : B G N 3 ----------------- feature_global : B G C
models/point_encoder.py:145
Methodforward
(self, pts, colors)
models/point_encoder.py:193
Methodforward
(self, pc, text, image)
models/uni3d.py:21
Methodforward
(self, outputs, masks)
models/losses.py:13
Functionget_config
(args, logger=None)
data/utils/config.py:47
Functionget_dataset
(train_transform, tokenizer, args, dataset_name=None)
data/utils/utils.py:247
Functionget_filter_loss
(args)
models/uni3d.py:30
Methodget_layer_id
(self, var_name)
utils/optim.py:52
Functionget_metric_names
(model)
models/uni3d.py:33
Functionget_model
(model)
utils/utils.py:42
Functionget_model
(model)
data/utils/utils.py:42
Functionget_root_logger
Get root logger and add a keyword filter to it. The logger will be initialized if it has not been initialized. By default a StreamHandler will
data/utils/logger.py:6
Functionget_world_size
()
utils/distributed.py:20
Functioninit_distributed_mode
(args)
utils/utils.py:105
Functioninit_distributed_mode
(args)
data/utils/utils.py:105
Functionjitter_point_cloud
Randomly jitter points. jittering is per point. Input: BxNx3 array, original batch of point clouds Return: BxNx3
data/datasets.py:114
Functionlog_args_to_file
(args, pre='args', logger=None)
data/utils/config.py:6
Functionlog_config_to_file
(cfg, pre='cfg', logger=None)
data/utils/config.py:10
Methodmodule_dict
(self)
data/utils/registry.py:116
Methodname
(self)
data/utils/registry.py:108
Functionpil_loader
(path)
data/datasets.py:23
Functionprint_rank_0
If distributed is initialized, print only on rank 0.
utils/distributed.py:5
Functionrandom_rotate_z
(pc)
data/utils/data.py:3
Methodrandom_sample
(self, pc, num)
data/datasets.py:343
Methodrandom_sample
(self, pc, num)
data/datasets.py:529
Methodregister_module
Register a module. A record will be added to `self._module_dict`, whose key is the class name or the specified name, and value is the
data/utils/registry.py:193
Functionsave_on_master
(state, is_best, output_dir)
utils/utils.py:89
Functionsave_on_master
(state, is_best, output_dir)
data/utils/utils.py:89
Functionsave_on_master_tmp
(state, is_best, output_dir)
utils/utils.py:97
Functionsave_on_master_tmp
(state, is_best, output_dir)
data/utils/utils.py:97
Functionscaled_all_reduce
Performs the scaled all_reduce operation on the provided tensors. The input tensors are modified in-place. Currently supports only the sum red
utils/utils.py:130
Functionscaled_all_reduce
Performs the scaled all_reduce operation on the provided tensors. The input tensors are modified in-place. Currently supports only the sum red
data/utils/utils.py:130
Methodscope
(self)
data/utils/registry.py:112
Functionwarmup_step_lr
(optimizer, args, decay_t=500, decay_rate=0.8)
utils/scheduler.py:48
← previous101–189 of 189, ranked by callers