MCPcopy Create free account

hub / github.com/LuigiRiz/NOPS / functions

Functions75 in github.com/LuigiRiz/NOPS

↓ 12 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilation=1, bn_momentum=0.1)
models/resnet.py:90
↓ 7 callersFunctionget_dataset
(name)
utils/dataset.py:13
↓ 4 callersMethodget_transformation_matrix
(self)
utils/voxelizer.py:41
↓ 4 callersMethodloss
Evaluates the loss function of the predicted logits w.r.t. the targets :param logits: predicted logits for the first augmentation of
modules/Discoverer.py:527
↓ 2 callersMethod__init__
(self, dataset)
utils/dataset.py:641
↓ 2 callersMethod__init__
( self, input_dim, num_prototypes, num_heads )
models/multiheadminkunet.py:24
↓ 2 callersMethodforward_heads
(self, feats)
models/multiheadminkunet.py:74
↓ 2 callersMethodupdate_queue
Updates self.queue with the features of the novel points in the current batch :param feats: the features for the novel points in the
modules/Discoverer.py:499
↓ 1 callersFunctionM
(axis, theta)
utils/voxelizer.py:5
↓ 1 callersMethodforward_head
(self, head_idx, feats)
models/multiheadminkunet.py:35
↓ 1 callersFunctionmain
(args)
main_discover.py:58
↓ 1 callersFunctionmain
(args)
main_discover_test.py:30
↓ 1 callersFunctionmain
(args)
main_pretrain.py:38
↓ 1 callersMethodnetwork_initialization
(self, in_channels, out_channels, D)
models/resnet.py:43
↓ 1 callersMethodweight_initialization
(self)
models/resnet.py:81
Method__getitem__
(self, t)
utils/dataset.py:88
Method__getitem__
(self, t)
utils/dataset.py:228
Method__getitem__
(self, t)
utils/dataset.py:398
Method__getitem__
(self, t)
utils/dataset.py:540
Method__getitem__
(self, t)
utils/dataset.py:648
Method__init__
(self, label_mapping, label_mapping_inv, unknown_label, **kwargs)
modules/Pretrainer.py:19
Method__init__
(self, label_mapping, label_mapping_inv, unknown_label, **kwargs)
modules/Discoverer.py:27
Method__init__
Args: voxel_size: side length of a voxel clip_bound: boundary of the voxelizer. Points outside the bound will be deleted
utils/voxelizer.py:10
Method__init__
(self, num_iters=3, epsilon=0.05)
utils/sinkhorn_knopp.py:5
Method__init__
Args: optimizer (Optimizer): Wrapped optimizer. warmup_epochs (int): Maximum number of iterations for linear warmup
utils/scheduler.py:43
Method__init__
Load data from given dataset directory.
utils/dataset.py:23
Method__init__
Load data from given dataset directory.
utils/dataset.py:157
Method__init__
( self, clean_mask, config_file="config/dataset.yaml", split="train",
utils/dataset.py:310
Method__init__
Load data from given dataset directory.
utils/dataset.py:330
Method__init__
Load data from given dataset directory.
utils/dataset.py:466
Method__init__
( self, clean_mask, config_file="config/semposs_dataset.yaml", split="train",
utils/dataset.py:621
Method__init__
(self, in_channels, out_channels, D=3)
models/minkunet.py:43
Method__init__
(self, output_dim, num_prototypes, D=3)
models/multiheadminkunet.py:9
Method__init__
( self, num_labeled, num_unlabeled, overcluster_factor=None, num_heads
models/multiheadminkunet.py:44
Method__init__
(self, in_channels, out_channels, D=3)
models/resnet.py:35
Method__len__
(self)
utils/dataset.py:85
Method__len__
(self)
utils/dataset.py:225
Method__len__
(self)
utils/dataset.py:395
Method__len__
(self)
utils/dataset.py:537
Method__len__
(self)
utils/dataset.py:645
Method_get_closed_form_lr
Called when epoch is passed as a param to the `step` function of the scheduler.
utils/scheduler.py:105
Functioncollation_fn_dataset
(data_labels)
utils/collation.py:5
Functioncollation_fn_restricted_dataset
(data_labels)
utils/collation.py:19
Functioncollation_fn_restricted_dataset_two_samples
(data_labels)
utils/collation.py:34
Methodconfigure_optimizers
(self)
modules/Pretrainer.py:57
Methodconfigure_optimizers
(self)
modules/Discoverer.py:82
Methodforward
(self, features, head, queue=None)
utils/sinkhorn_knopp.py:11
Methodforward
(self, x, return_feats=False)
models/minkunet.py:118
Methodforward
(self, x)
models/multiheadminkunet.py:19
Methodforward
(self, feats)
models/multiheadminkunet.py:38
Methodforward
(self, views)
models/multiheadminkunet.py:94
Methodforward
(self, x: ME.SparseTensor)
models/resnet.py:124
Methodget_lr
Compute learning rate using chainable form of the scheduler.
utils/scheduler.py:68
Methodget_uncertainty_mask
returns a boolean mask selecting the p-th percentile of the predictions with highest confidence for each class :param preds:
modules/Discoverer.py:224
Functionlabel_mapping
(unknown_labels, all_labels)
utils/unkn_labels.py:27
Methodnetwork_initialization
(self, in_channels, out_channels, D)
models/minkunet.py:46
Methodon_load_checkpoint
(self, checkpoint)
modules/Discoverer.py:759
Methodon_save_checkpoint
(self, checkpoint)
modules/Discoverer.py:754
Methodon_save_checkpoint
(self, trainer, pl_module, checkpoint)
utils/callbacks.py:44
Methodon_test_epoch_end
(self, trainer, pl_module)
utils/callbacks.py:31
Methodon_train_epoch_end
(self, trainer, pl_module)
utils/callbacks.py:7
Methodon_train_epoch_start
(self)
modules/Discoverer.py:211
Methodon_train_start
(self)
modules/Pretrainer.py:67
Methodon_train_start
(self)
modules/Discoverer.py:122
Methodon_validation_epoch_end
(self, trainer, pl_module)
utils/callbacks.py:19
Methodon_validation_epoch_start
(self)
modules/Discoverer.py:611
Methodtrain_dataloader
(self)
modules/Pretrainer.py:111
Methodtrain_dataloader
(self)
modules/Discoverer.py:170
Methodtraining_step
(self, data, _)
modules/Pretrainer.py:150
Methodtraining_step
(self, data, _)
modules/Discoverer.py:223
Functionunknown_labels
Creates the set of unknown labels in a way that all the classes in the same splits have roughly the same number of points
utils/unkn_labels.py:3
Methodval_dataloader
(self)
modules/Pretrainer.py:132
Methodval_dataloader
(self)
modules/Discoverer.py:193
Methodvalidation_step
(self, data, _)
modules/Pretrainer.py:196
Methodvalidation_step
(self, data, _)
modules/Discoverer.py:711