Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LuigiRiz/NOPS
/ functions
Functions
75 in github.com/LuigiRiz/NOPS
⨍
Functions
75
◇
Types & classes
25
↓ 12 callers
Method
_make_layer
(self, block, planes, blocks, stride=1, dilation=1, bn_momentum=0.1)
models/resnet.py:90
↓ 7 callers
Function
get_dataset
(name)
utils/dataset.py:13
↓ 4 callers
Method
get_transformation_matrix
(self)
utils/voxelizer.py:41
↓ 4 callers
Method
loss
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 callers
Method
__init__
(self, dataset)
utils/dataset.py:641
↓ 2 callers
Method
__init__
( self, input_dim, num_prototypes, num_heads )
models/multiheadminkunet.py:24
↓ 2 callers
Method
forward_heads
(self, feats)
models/multiheadminkunet.py:74
↓ 2 callers
Method
update_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 callers
Function
M
(axis, theta)
utils/voxelizer.py:5
↓ 1 callers
Method
forward_head
(self, head_idx, feats)
models/multiheadminkunet.py:35
↓ 1 callers
Function
main
(args)
main_discover.py:58
↓ 1 callers
Function
main
(args)
main_discover_test.py:30
↓ 1 callers
Function
main
(args)
main_pretrain.py:38
↓ 1 callers
Method
network_initialization
(self, in_channels, out_channels, D)
models/resnet.py:43
↓ 1 callers
Method
weight_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
Function
collation_fn_dataset
(data_labels)
utils/collation.py:5
Function
collation_fn_restricted_dataset
(data_labels)
utils/collation.py:19
Function
collation_fn_restricted_dataset_two_samples
(data_labels)
utils/collation.py:34
Method
configure_optimizers
(self)
modules/Pretrainer.py:57
Method
configure_optimizers
(self)
modules/Discoverer.py:82
Method
forward
(self, features, head, queue=None)
utils/sinkhorn_knopp.py:11
Method
forward
(self, x, return_feats=False)
models/minkunet.py:118
Method
forward
(self, x)
models/multiheadminkunet.py:19
Method
forward
(self, feats)
models/multiheadminkunet.py:38
Method
forward
(self, views)
models/multiheadminkunet.py:94
Method
forward
(self, x: ME.SparseTensor)
models/resnet.py:124
Method
get_lr
Compute learning rate using chainable form of the scheduler.
utils/scheduler.py:68
Method
get_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
Function
label_mapping
(unknown_labels, all_labels)
utils/unkn_labels.py:27
Method
network_initialization
(self, in_channels, out_channels, D)
models/minkunet.py:46
Method
on_load_checkpoint
(self, checkpoint)
modules/Discoverer.py:759
Method
on_save_checkpoint
(self, checkpoint)
modules/Discoverer.py:754
Method
on_save_checkpoint
(self, trainer, pl_module, checkpoint)
utils/callbacks.py:44
Method
on_test_epoch_end
(self, trainer, pl_module)
utils/callbacks.py:31
Method
on_train_epoch_end
(self, trainer, pl_module)
utils/callbacks.py:7
Method
on_train_epoch_start
(self)
modules/Discoverer.py:211
Method
on_train_start
(self)
modules/Pretrainer.py:67
Method
on_train_start
(self)
modules/Discoverer.py:122
Method
on_validation_epoch_end
(self, trainer, pl_module)
utils/callbacks.py:19
Method
on_validation_epoch_start
(self)
modules/Discoverer.py:611
Method
train_dataloader
(self)
modules/Pretrainer.py:111
Method
train_dataloader
(self)
modules/Discoverer.py:170
Method
training_step
(self, data, _)
modules/Pretrainer.py:150
Method
training_step
(self, data, _)
modules/Discoverer.py:223
Function
unknown_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
Method
val_dataloader
(self)
modules/Pretrainer.py:132
Method
val_dataloader
(self)
modules/Discoverer.py:193
Method
validation_step
(self, data, _)
modules/Pretrainer.py:196
Method
validation_step
(self, data, _)
modules/Discoverer.py:711