MCPcopy Create free account

hub / github.com/XiaLiPKU/EMANet / types & classes

Types & classes39 in github.com/XiaLiPKU/EMANet

↓ 4 callersClassSynchronizedBatchNorm1d
r"""Applies Synchronized Batch Normalization over a 2d or 3d input that is seen as a mini-batch. .. math:: y = \frac{x - mean[x]}{ \
bn_lib/nn/modules/batchnorm.py:133
↓ 3 callersClassDataParallelWithCallback
Data Parallel with a replication callback. An replication callback `__data_parallel_replicate__` of each module will be invoked after being
bn_lib/nn/modules/replicate.py:50
↓ 3 callersClassEMANet
Implementation of EMANet (ICCV 2019 Oral).
network.py:266
↓ 2 callersClassConvBNReLU
Module for the Conv-BN-ReLU tuple.
network.py:168
↓ 2 callersClassDataLoader
Data loader. Combines a dataset and a sampler, and provides single- or multi-process iterators over the dataset. Arguments: data
bn_lib/utils/data/dataloader.py:338
↓ 2 callersClassExceptionWrapper
r"Wraps an exception plus traceback to communicate across threads
bn_lib/utils/data/dataloader.py:22
↓ 2 callersClassTrainDataset
dataset.py:108
↓ 2 callersClassValDataset
dataset.py:126
↓ 1 callersClassBatchSampler
Wraps another sampler to yield a mini-batch of indices. Args: sampler (Sampler): Base sampler. batch_size (int): Size of mini-bat
bn_lib/utils/data/sampler.py:96
↓ 1 callersClassCallbackContext
bn_lib/nn/modules/replicate.py:23
↓ 1 callersClassConcatDataset
Dataset to concatenate multiple datasets. Purpose: useful to assemble different existing datasets, possibly large-scale datasets as the c
bn_lib/utils/data/dataset.py:49
↓ 1 callersClassCrossEntropyLoss2d
network.py:310
↓ 1 callersClassDataLoaderIter
Iterates once over the DataLoader's dataset, as specified by the sampler
bn_lib/utils/data/dataloader.py:185
↓ 1 callersClassEMAU
The Expectation-Maximization Attention Unit (EMAU). Arguments: c (int): The input and output channel number. k (int): The number
network.py:186
↓ 1 callersClassFutureResult
A thread-safe future implementation. Used only as one-to-one pipe.
bn_lib/nn/modules/comm.py:18
↓ 1 callersClassRandomSampler
Samples elements randomly, without replacement. Arguments: data_source (Dataset): dataset to sample from
bn_lib/utils/data/sampler.py:39
↓ 1 callersClassResNet
network.py:57
↓ 1 callersClassSequentialSampler
Samples elements sequentially, always in the same order. Arguments: data_source (Dataset): dataset to sample from
bn_lib/utils/data/sampler.py:22
↓ 1 callersClassSession
eval.py:20
↓ 1 callersClassSession
train.py:53
↓ 1 callersClassSlavePipe
Pipe for master-slave communication.
bn_lib/nn/modules/comm.py:46
↓ 1 callersClassSubset
bn_lib/utils/data/dataset.py:93
↓ 1 callersClassSyncMaster
An abstract `SyncMaster` object. - During the replication, as the data parallel will trigger an callback of each module, all slave devices should
bn_lib/nn/modules/comm.py:56
↓ 1 callersClassSynchronizedBatchNorm2d
r"""Applies Batch Normalization over a 4d input that is seen as a mini-batch of 3d inputs .. math:: y = \frac{x - mean[x]}{ \sqrt{Va
bn_lib/nn/modules/batchnorm.py:196
ClassBaseDataset
dataset.py:88
ClassBottleneck
network.py:17
ClassDataset
An abstract class representing a Dataset. All other datasets should subclass it. All subclasses should override ``__len__``, that provides th
bn_lib/utils/data/dataset.py:8
ClassDictGatherDataParallel
bn_lib/nn/parallel/data_parallel.py:49
ClassDistributedSampler
Sampler that restricts data loading to a subset of the dataset. It is especially useful in conjunction with :class:`torch.nn.parallel.Distrib
bn_lib/utils/data/distributed.py:7
ClassNumericTestCase
bn_lib/nn/modules/tests/test_numeric_batchnorm.py:29
ClassSampler
Base class for all Samplers. Every Sampler subclass has to provide an __iter__ method, providing a way to iterate over indices of dataset ele
bn_lib/utils/data/sampler.py:4
ClassSubsetRandomSampler
Samples elements randomly from a given list of indices, without replacement. Arguments: indices (list): a list of indices
bn_lib/utils/data/sampler.py:56
ClassSyncTestCase
bn_lib/nn/modules/tests/test_sync_batchnorm.py:36
ClassSynchronizedBatchNorm3d
r"""Applies Batch Normalization over a 5d input that is seen as a mini-batch of 4d inputs .. math:: y = \frac{x - mean[x]}{ \sqrt{Va
bn_lib/nn/modules/batchnorm.py:259
ClassTensorDataset
Dataset wrapping data and target tensors. Each sample will be retrieved by indexing both tensors along the first dimension. Arguments:
bn_lib/utils/data/dataset.py:26
ClassTorchTestCase
bn_lib/nn/modules/unittest.py:23
ClassUserScatteredDataParallel
bn_lib/nn/parallel/data_parallel.py:54
ClassWeightedRandomSampler
Samples elements from [0,..,len(weights)-1] with given probabilities (weights). Arguments: weights (list) : a list of weights, not nece
bn_lib/utils/data/sampler.py:73
Class_SynchronizedBatchNorm
bn_lib/nn/modules/batchnorm.py:38