Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XiaLiPKU/EMANet
/ types & classes
Types & classes
39 in github.com/XiaLiPKU/EMANet
⨍
Functions
153
◇
Types & classes
39
↓ 4 callers
Class
SynchronizedBatchNorm1d
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 callers
Class
DataParallelWithCallback
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 callers
Class
EMANet
Implementation of EMANet (ICCV 2019 Oral).
network.py:266
↓ 2 callers
Class
ConvBNReLU
Module for the Conv-BN-ReLU tuple.
network.py:168
↓ 2 callers
Class
DataLoader
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 callers
Class
ExceptionWrapper
r"Wraps an exception plus traceback to communicate across threads
bn_lib/utils/data/dataloader.py:22
↓ 2 callers
Class
TrainDataset
dataset.py:108
↓ 2 callers
Class
ValDataset
dataset.py:126
↓ 1 callers
Class
BatchSampler
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 callers
Class
CallbackContext
bn_lib/nn/modules/replicate.py:23
↓ 1 callers
Class
ConcatDataset
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 callers
Class
CrossEntropyLoss2d
network.py:310
↓ 1 callers
Class
DataLoaderIter
Iterates once over the DataLoader's dataset, as specified by the sampler
bn_lib/utils/data/dataloader.py:185
↓ 1 callers
Class
EMAU
The Expectation-Maximization Attention Unit (EMAU). Arguments: c (int): The input and output channel number. k (int): The number
network.py:186
↓ 1 callers
Class
FutureResult
A thread-safe future implementation. Used only as one-to-one pipe.
bn_lib/nn/modules/comm.py:18
↓ 1 callers
Class
RandomSampler
Samples elements randomly, without replacement. Arguments: data_source (Dataset): dataset to sample from
bn_lib/utils/data/sampler.py:39
↓ 1 callers
Class
ResNet
network.py:57
↓ 1 callers
Class
SequentialSampler
Samples elements sequentially, always in the same order. Arguments: data_source (Dataset): dataset to sample from
bn_lib/utils/data/sampler.py:22
↓ 1 callers
Class
Session
eval.py:20
↓ 1 callers
Class
Session
train.py:53
↓ 1 callers
Class
SlavePipe
Pipe for master-slave communication.
bn_lib/nn/modules/comm.py:46
↓ 1 callers
Class
Subset
bn_lib/utils/data/dataset.py:93
↓ 1 callers
Class
SyncMaster
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 callers
Class
SynchronizedBatchNorm2d
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
Class
BaseDataset
dataset.py:88
Class
Bottleneck
network.py:17
Class
Dataset
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
Class
DictGatherDataParallel
bn_lib/nn/parallel/data_parallel.py:49
Class
DistributedSampler
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
Class
NumericTestCase
bn_lib/nn/modules/tests/test_numeric_batchnorm.py:29
Class
Sampler
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
Class
SubsetRandomSampler
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
Class
SyncTestCase
bn_lib/nn/modules/tests/test_sync_batchnorm.py:36
Class
SynchronizedBatchNorm3d
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
Class
TensorDataset
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
Class
TorchTestCase
bn_lib/nn/modules/unittest.py:23
Class
UserScatteredDataParallel
bn_lib/nn/parallel/data_parallel.py:54
Class
WeightedRandomSampler
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