Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baaivision/Uni3D
/ functions
Functions
189 in github.com/baaivision/Uni3D
⨍
Functions
189
◇
Types & classes
21
↓ 1 callers
Function
whitespace_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
Function
all_gather_batch
Performs all_gather operation on the provided tensors.
utils/utils.py:155
Function
all_gather_batch
Performs all_gather operation on the provided tensors.
data/utils/utils.py:155
Function
all_gather_batch_with_grad
Performs all_gather operation on the provided tensors. Graph remains connected for backward grad computation.
utils/utils.py:200
Function
all_gather_batch_with_grad
Performs all_gather operation on the provided tensors. Graph remains connected for backward grad computation.
data/utils/utils.py:200
Function
augment_pc
(data)
data/utils/data.py:79
Method
backward
(ctx, *grads)
data/utils/utils.py:194
Function
build_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
Function
cfg_from_yaml_file
(cfg_file)
utils/utils.py:32
Function
cfg_from_yaml_file
(cfg_file)
data/utils/utils.py:32
Method
children
(self)
data/utils/registry.py:120
Function
cosine_lr
(optimizer, base_lr, warmup_length, steps)
utils/scheduler.py:13
Function
cosine_scheduler
(base_value, final_value, epochs, niter_per_ep, warmup_epochs=0, start_warmup_value=0)
utils/utils.py:222
Function
cosine_scheduler
(base_value, final_value, epochs, niter_per_ep, warmup_epochs=0, start_warmup_value=0)
data/utils/utils.py:222
Function
create_uni3d
(args)
models/uni3d.py:36
Function
customized_collate_fn
r"""Puts each data field into a tensor with outer dimension batch size
data/datasets.py:597
Function
farthest_point_sample
Input: xyz: pointcloud data, [N, D] npoint: number of samples Return: centroids: sampled pointcloud index, [npoint, D
data/datasets.py:36
Method
forward
(ctx, x)
utils/utils.py:188
Method
forward
(ctx, x)
data/utils/utils.py:188
Method
forward
(self, x)
models/point_encoder.py:64
Method
forward
input: B N 3 --------------------------- output: B G M 3 center : B G 3
models/point_encoder.py:99
Method
forward
point_groups : B G N 3 ----------------- feature_global : B G C
models/point_encoder.py:145
Method
forward
(self, pts, colors)
models/point_encoder.py:193
Method
forward
(self, pc, text, image)
models/uni3d.py:21
Method
forward
(self, outputs, masks)
models/losses.py:13
Function
get_config
(args, logger=None)
data/utils/config.py:47
Function
get_dataset
(train_transform, tokenizer, args, dataset_name=None)
data/utils/utils.py:247
Function
get_filter_loss
(args)
models/uni3d.py:30
Method
get_layer_id
(self, var_name)
utils/optim.py:52
Function
get_metric_names
(model)
models/uni3d.py:33
Function
get_model
(model)
utils/utils.py:42
Function
get_model
(model)
data/utils/utils.py:42
Function
get_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
Function
get_world_size
()
utils/distributed.py:20
Function
init_distributed_mode
(args)
utils/utils.py:105
Function
init_distributed_mode
(args)
data/utils/utils.py:105
Function
jitter_point_cloud
Randomly jitter points. jittering is per point. Input: BxNx3 array, original batch of point clouds Return: BxNx3
data/datasets.py:114
Function
log_args_to_file
(args, pre='args', logger=None)
data/utils/config.py:6
Function
log_config_to_file
(cfg, pre='cfg', logger=None)
data/utils/config.py:10
Method
module_dict
(self)
data/utils/registry.py:116
Method
name
(self)
data/utils/registry.py:108
Function
pil_loader
(path)
data/datasets.py:23
Function
print_rank_0
If distributed is initialized, print only on rank 0.
utils/distributed.py:5
Function
random_rotate_z
(pc)
data/utils/data.py:3
Method
random_sample
(self, pc, num)
data/datasets.py:343
Method
random_sample
(self, pc, num)
data/datasets.py:529
Method
register_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
Function
save_on_master
(state, is_best, output_dir)
utils/utils.py:89
Function
save_on_master
(state, is_best, output_dir)
data/utils/utils.py:89
Function
save_on_master_tmp
(state, is_best, output_dir)
utils/utils.py:97
Function
save_on_master_tmp
(state, is_best, output_dir)
data/utils/utils.py:97
Function
scaled_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
Function
scaled_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
Method
scope
(self)
data/utils/registry.py:112
Function
warmup_step_lr
(optimizer, args, decay_t=500, decay_rate=0.8)
utils/scheduler.py:48
← previous
101–189 of 189, ranked by callers