MCPcopy Create free account

hub / github.com/CVMI-Lab/DODA / functions

Functions369 in github.com/CVMI-Lab/DODA

↓ 33 callersMethodget
(self)
lib/sync_bn/comm.py:32
↓ 27 callersMethodupdate
(self, val, n=1)
util/common_utils.py:52
↓ 7 callersFunctionmodel_fn
(batch, model, epoch, soft_label=False, loss_weight=None)
model/unet.py:154
↓ 5 callersFunction_unsqueeze_ft
add new dementions at the front and the tail
lib/sync_bn/batchnorm.py:29
↓ 5 callersFunctioncalc_metrics
(intersection_meter, union_meter, target_meter)
util/common_utils.py:259
↓ 5 callersFunctioncheck_p
(key)
dataset/augmentor/augmentor_utils.py:26
↓ 5 callersFunctionmean
nanmean compatible with generators.
util/lovasz_loss.py:211
↓ 5 callersFunctionmodel_fn_decorator
(cfg, batch_size, test=False)
model/unet.py:102
↓ 5 callersFunctionupdate_meter
(intersection_meter, union_meter, target_meter, preds, labels, n_classes, ignore_label, dist_train)
util/common_utils.py:249
↓ 4 callersMethod__getitem__
(self, item)
dataset/mix_dataset.py:23
↓ 4 callersMethod__len__
(self)
dataset/s3dis.py:32
↓ 4 callersFunctionbuild_dataloader
( dataset_cfg, batch_size, dist, workers=4, logger=None, split='training', training=True, merge_all_it
dataset/__init__.py:44
↓ 4 callersFunctioncheck_key
(key)
dataset/augmentor/augmentor_utils.py:13
↓ 4 callersMethodforward
(self, data_dict)
dataset/augmentor/data_augmentor.py:138
↓ 4 callersFunctionload_params_from_ckpt
(ckpt, dist, model, optimizer=None, logger=logging.getLogger())
util/model_utils.py:42
↓ 4 callersFunctionsa_create
(name, var)
util/common_utils.py:285
↓ 4 callersFunctionsa_delete
(name)
util/common_utils.py:297
↓ 4 callersFunctionsave_params
(filename, model, optimizer, epoch_log, metric=None)
util/model_utils.py:87
↓ 4 callersMethodset_downsampling_scale
(self, ds)
dataset/dataset.py:96
↓ 3 callersMethodbackward
input: grad_out: (m, c, nsample) output: (n, c), None
lib/pointops2/functions/pointops.py:110
↓ 3 callersFunctioncfg_from_list
Set config keys via list (e.g., from command line).
util/config.py:21
↓ 3 callersFunctioncfg_from_yaml_file
(cfg_file, config)
util/config.py:77
↓ 3 callersMethodcheck_data
(self, data_dict)
dataset/augmentor/data_augmentor.py:147
↓ 3 callersMethodcheck_func
(self, key)
dataset/augmentor/data_augmentor.py:144
↓ 3 callersMethodconvert_dsnorm
r"""Helper function to convert `torch.nn.BatchNormND` layer in the model to `torch.nn.SyncBatchNorm` layer. Args: module (
model/dsnorm.py:179
↓ 3 callersMethoddestroy_shm
(self)
dataset/s3dis.py:83
↓ 3 callersFunctionflatten_binary_scores
Flattens predictions in the batch (binary case) Remove labels equal to 'ignore'
util/lovasz_loss.py:98
↓ 3 callersFunctionget_ckpt
(ckpt_path, dist)
util/model_utils.py:37
↓ 3 callersFunctionget_logger
(log_file=None, rank=0, log_level=logging.INFO)
util/common_utils.py:316
↓ 3 callersMethodinit_finish
(self)
dataset/augmentor/data_augmentor.py:48
↓ 3 callersFunctionload_params_from_pretrain
( ckpt, dist, model, logger=logging.getLogger(), strict=True )
util/model_utils.py:73
↓ 3 callersMethodload_pseudo_labels
(self, data_name)
dataset/dataset.py:85
↓ 3 callersFunctionlog_config_to_file
(cfg, pre='cfg', logger=None)
util/config.py:12
↓ 3 callersMethodput
(self, result)
lib/sync_bn/comm.py:26
↓ 3 callersFunctionsave_results
(result_dir, preds, offsets, ids, data_list, formats=['txt'])
util/common_utils.py:304
↓ 3 callersMethodset_epoch
(self, epoch)
dataset/augmentor/data_augmentor.py:153
↓ 3 callersMethodset_training_mode
(self, training)
dataset/dataset.py:90
↓ 3 callersMethodupdate_data_dict
(data_dict, idx)
dataset/augmentor/data_augmentor.py:161
↓ 2 callersMethod__init__
(self, nPlanes, norm_fn, block_reps, block, indice_key_id=1)
model/unet_block.py:56
↓ 2 callersMethod__len__
(self)
dataset/front3d.py:37
↓ 2 callersMethod__len__
(self)
dataset/mix_dataset.py:20
↓ 2 callersMethod_check_input_dim
(self, input)
lib/sync_bn/batchnorm.py:184
↓ 2 callersFunction_sum_ft
sum over the first and last dimention
lib/sync_bn/batchnorm.py:24
↓ 2 callersMethodaddPoint
lib/pointgroup_ops/src/datatype/datatype.cpp:14
↓ 2 callersFunctionas_numpy
(v)
lib/sync_bn/unittest.py:17
↓ 2 callersMethodconstruct_iter
(self)
util/common_utils.py:25
↓ 2 callersFunctionexecute_replication_callbacks
Execute an replication callback `__data_parallel_replicate__` on each module created by original replication. The callback will be invoked w
lib/sync_bn/replicate.py:27
↓ 2 callersFunctionfilter_by_index
(e_list, idx)
dataset/augmentor/augmentor_utils.py:30
↓ 2 callersMethodfilter_by_index
(e_list, idx)
dataset/dataset.py:67
↓ 2 callersFunctionflatten_probas_3d
Flattens predictions in the batch
util/lovasz_loss.py:191
↓ 2 callersFunctionforward_test_model
(batch, model, model_fn, epoch, thres=0.0, with_crop=False)
util/pseudo_labels_util.py:15
↓ 2 callersMethodget_downsampling_scale
(self)
dataset/dataset.py:93
↓ 2 callersFunctionget_split_idx
(param, xyz, label, split_coord_xyz, split_range, **args)
dataset/augmentor/augmentor_utils.py:368
↓ 2 callersFunctionget_src_train_dataset
(cfg, args, dist_train, logger, pin_memory=False)
dataset/__init__.py:132
↓ 2 callersFunctionget_val_dataset
(args, dataset_cfg, dist_train, logger)
dataset/__init__.py:125
↓ 2 callersFunctionget_world_size
()
util/common_utils.py:333
↓ 2 callersMethodinit_augmentor_queue
(self, aug_list)
dataset/augmentor/data_augmentor.py:129
↓ 2 callersFunctionintersectionAndUnionGPU
(output, target, K, ignore_index=255)
util/common_utils.py:233
↓ 2 callersFunctionload_data
(path, postfix)
dataset/front3d.py:10
↓ 2 callersFunctionload_metric_from_ckpt
(ckpt, dist, logger=logging.getLogger())
util/model_utils.py:57
↓ 2 callersFunctionlovasz_grad
Computes gradient of the Lovasz extension w.r.t sorted errors See Alg. 1 in paper
util/lovasz_loss.py:14
↓ 2 callersFunctionlovasz_hinge_flat
Binary Lovasz hinge loss logits: [P] Variable, logits at each prediction (between -\infty and +\infty) labels: [P] Tensor, binary gro
util/lovasz_loss.py:80
↓ 2 callersFunctionlovasz_softmax_flat
Multi-class Lovasz-Softmax loss probas: [P, C] Variable, class probabilities at each prediction (between 0 and 1) labels: [P] Tensor,
util/lovasz_loss.py:145
↓ 2 callersFunctionmodel_state_to_cpu
(model_state)
util/model_utils.py:30
↓ 2 callersFunctionopt_n_threads
lib/pointops2/src/cuda_utils.h:11
↓ 2 callersFunctionopt_n_threads
lib/pointgroup_ops/src/cuda_utils.h:11
↓ 2 callersFunctionpermute_cuboid
(param, n, split_idx, split_coord_xyz, split_range, **args)
dataset/augmentor/augmentor_utils.py:387
↓ 2 callersMethodset_domain_label
(self, domain_label)
model/dsnorm.py:51
↓ 2 callersFunctionsplit_space
(xyz, split)
dataset/augmentor/augmentor_utils.py:422
↓ 2 callersMethodsubsample
(xyz, label, ds_scale)
dataset/dataset.py:74
↓ 2 callersFunctiontest_model_feat
(cfg, batch_size, batch, model, epoch)
model/unet.py:72
↓ 2 callersFunctiontransform_xyz
(xyz, param)
dataset/augmentor/augmentor_utils.py:414
↓ 2 callersMethodupdate_cfg
(self, cfg)
dataset/augmentor/data_augmentor.py:61
↓ 2 callersFunctionvalidate_epoch
(val_loader, model, model_fn, epoch, rank, dist_train)
tool/st.py:274
↓ 1 callersMethod__data_parallel_replicate__
(self, ctx, copy_id)
lib/sync_bn/batchnorm.py:80
↓ 1 callersMethod__init__
(self, dataset1, dataset2)
dataset/mix_dataset.py:9
↓ 1 callersMethod__init__
Args: master_callback: a callback to be invoked after having collected messages from slave devices.
lib/sync_bn/comm.py:67
↓ 1 callersMethod__len__
(self)
dataset/scannet.py:32
↓ 1 callersMethod_check_input_dim
(self, input)
model/dsnorm.py:60
↓ 1 callersMethod_compute_mean_std
Compute the mean and standard-deviation with sum and square-sum. This method also maintains the moving average on the master device.
lib/sync_bn/batchnorm.py:113
↓ 1 callersMethod_load_from_state_dict_ds
r"""Copies parameters and buffers from :attr:`state_dict` into only this module, but not its descendants. This is called on every submodule
model/dsnorm.py:104
↓ 1 callersFunction_object_to_tensor
Helper function to convert an arbitrary picklable python object to a tensor Returns a torch.ByteTensor representing the pickled objec
util/common_utils.py:403
↓ 1 callersFunction_tensor_to_object
Helper function to convert a ByteTensor created by _object_to_tensor back to the picklable python object.
util/common_utils.py:414
↓ 1 callersMethodbackward
(ctx, a=None)
lib/pointgroup_ops/functions/pointgroup_ops.py:252
↓ 1 callersFunctionbfs_cluster
input: semantic_label, int, N input: ball_query_idxs, int, (nActive) input: start_len, int, (N, 2) output: cluster_idxs, int (sumNPoint, 2), dim 0 for
lib/pointgroup_ops/src/bfs_cluster/bfs_cluster.cpp:93
↓ 1 callersFunctionbuild_mix_dataloader
( dataset_cfg1, dataset_cfg2, batch_size, dist, workers=4, logger=None, split='training', training=True,
dataset/__init__.py:79
↓ 1 callersFunctionbuild_model
(cfg)
util/model_utils.py:10
↓ 1 callersFunctioncalc_metrics
(intersection_meter, union_meter, target_meter)
tool/test.py:94
↓ 1 callersFunctioncheck_numpy_to_torch
(x)
util/common_utils.py:59
↓ 1 callersMethodcollate_fn
(self, items)
dataset/dataset.py:121
↓ 1 callersFunctioncos_learning_rate
(optimizer, base_lr, curr_iter, max_iter, warm_iter, hold_base_iter)
util/common_utils.py:168
↓ 1 callersFunctionfill_cluster_idxs_
lib/pointgroup_ops/src/bfs_cluster/bfs_cluster.cpp:77
↓ 1 callersFunctionfind_cc
================================== bfs_cluster ================================== */
lib/pointgroup_ops/src/bfs_cluster/bfs_cluster.cpp:28
↓ 1 callersFunctionflatten
(l)
tool/st.py:83
↓ 1 callersMethodforward_aug
(self, xyz_middle, label)
dataset/mix_dataset.py:45
↓ 1 callersFunctiong
(x_)
dataset/augmentor/augmentor_utils.py:77
↓ 1 callersFunctiongenerate_pseudo_label_batch
( cfg, batch, train_loader, model, model_fn_st, epoch, pseudo_labels_dir, thres=0.7 )
util/pseudo_labels_util.py:21
↓ 1 callersFunctiongenerate_pseudo_labels
( cfg, logger, train_loader, model, model_fn_st, epoch, pseudo_labels_dir, rank=0, thres=0.7, done=True, d
util/pseudo_labels_util.py:44
↓ 1 callersFunctionget_camera_candidate_locations
(_xyz, labels, to_select_mask, class_names)
dataset/augmentor/augmentor_utils.py:178
↓ 1 callersFunctionget_clusters
input: semantic_label, int, N input: ball_query_idxs, Int, (nActive) input: start_len, int, (N, 2) output: clusters, CCs
lib/pointgroup_ops/src/bfs_cluster/bfs_cluster.cpp:60
next →1–100 of 369, ranked by callers