Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexrame/fishr
/ types & classes
Types & classes
59 in github.com/alexrame/fishr
⨍
Functions
228
◇
Types & classes
59
↓ 16 callers
Class
Q
domainbed/lib/query.py:53
↓ 5 callers
Class
ParamDict
Code adapted from https://github.com/Alok/rl_implementations/tree/master/reptile. A dictionary where the values are Tensors, meant to represent we
domainbed/lib/misc.py:190
↓ 4 callers
Class
Identity
An identity layer
domainbed/networks.py:36
↓ 2 callers
Class
InfiniteDataLoader
domainbed/lib/fast_data_loader.py:15
↓ 2 callers
Class
_InfiniteSampler
Wraps another Sampler to yield an infinite stream.
domainbed/lib/fast_data_loader.py:5
↓ 2 callers
Class
_SplitDataset
Used by split_dataset
domainbed/lib/misc.py:110
↓ 1 callers
Class
FastDataLoader
DataLoader wrapper with slightly improved speed by not respawning worker processes at every epoch.
domainbed/lib/fast_data_loader.py:48
↓ 1 callers
Class
Job
domainbed/scripts/sweep.py:30
↓ 1 callers
Class
MLP
Just an MLP
domainbed/networks.py:45
↓ 1 callers
Class
MLP
coloredmnist/train_coloredmnist.py:123
↓ 1 callers
Class
MNIST_CNN
Hand-tuned architecture for MNIST. Weirdness I've noticed so far with this architecture: - adding a linear layer after the mean-pool in f
domainbed/networks.py:119
↓ 1 callers
Class
MovingAverage
domainbed/lib/misc.py:31
↓ 1 callers
Class
ResNet
ResNet with the softmax chopped off and the batchnorm frozen
domainbed/networks.py:69
Class
ANDMask
Learning Explanations that are Hard to Vary [https://arxiv.org/abs/2009.00329] AND-Mask implementation from [https://github.com/gibipara92/le
domainbed/algorithms.py:932
Class
ARM
Adaptive Risk Minimization (ARM)
domainbed/algorithms.py:175
Class
AbstractDANN
Domain-Adversarial Neural Networks (abstract class)
domainbed/algorithms.py:200
Class
AbstractMMD
Perform ERM while matching the pair-wise domain feature distributions using MMD (abstract class)
domainbed/algorithms.py:585
Class
Algorithm
A subclass of Algorithm implements a domain generalization algorithm. Subclasses should implement the following: - update() - predict
domainbed/algorithms.py:55
Class
CDANN
Conditional DANN
domainbed/algorithms.py:297
Class
CORAL
MMD using mean and covariance difference
domainbed/algorithms.py:671
Class
ColoredMNIST
domainbed/datasets.py:116
Class
ContextNet
domainbed/networks.py:164
Class
DANN
Unconditional DANN
domainbed/algorithms.py:288
Class
Debug
domainbed/datasets.py:61
Class
Debug224
domainbed/datasets.py:79
Class
Debug28
domainbed/datasets.py:75
Class
DomainNet
domainbed/datasets.py:234
Class
ERM
Empirical Risk Minimization (ERM)
domainbed/algorithms.py:81
Class
Fish
Implementation of Fish, as seen in Gradient Matching for Domain Generalization, Shi et al. 2021.
domainbed/algorithms.py:115
Class
Fishr
Invariant Gradients variances for Out-of-distribution Generalization
domainbed/algorithms.py:1169
Class
GroupDRO
Robust ERM minimizes the error at the worst minibatch Algorithm 1 from [https://arxiv.org/pdf/1911.08731.pdf]
domainbed/algorithms.py:439
Class
IGA
Inter-environmental Gradient Alignment From https://arxiv.org/abs/2008.01883v2
domainbed/algorithms.py:978
Class
IIDAccuracySelectionMethod
Picks argmax(mean(env_out_acc for env in train_envs))
domainbed/model_selection.py:75
Class
IRM
Invariant Risk Minimization
domainbed/algorithms.py:306
Class
LeaveOneOutSelectionMethod
Picks (hparams, step) by leave-one-out cross validation.
domainbed/model_selection.py:102
Class
MLDG
Model-Agnostic Meta-Learning Algorithm 1 / Equation (3) from: https://arxiv.org/pdf/1710.03463.pdf Related: https://arxiv.org/pdf/1703.03
domainbed/algorithms.py:473
Class
MMD
MMD using Gaussian kernel
domainbed/algorithms.py:662
Class
MTL
A neural network version of Domain Generalization by Marginal Transfer Learning (https://arxiv.org/abs/1711.07910)
domainbed/algorithms.py:680
Class
Mixup
Mixup of minibatches from different domains https://arxiv.org/pdf/2001.00677.pdf https://arxiv.org/pdf/1912.01805.pdf
domainbed/algorithms.py:408
Class
MultipleDomainDataset
domainbed/datasets.py:47
Class
MultipleEnvironmentImageFolder
domainbed/datasets.py:179
Class
MultipleEnvironmentMNIST
domainbed/datasets.py:84
Class
OfficeHome
domainbed/datasets.py:241
Class
OracleSelectionMethod
Like Selection method which picks argmax(test_out_acc) across all hparams and checkpoints, but instead of taking the argmax over all checkpoin
domainbed/model_selection.py:54
Class
PACS
domainbed/datasets.py:227
Class
RSC
domainbed/algorithms.py:849
Class
RotatedMNIST
domainbed/datasets.py:156
Class
SANDMask
SAND-mask: An Enhanced Gradient Masking Strategy for the Discovery of Invariances in Domain Generalization <https://arxiv.org/abs/2106.02266>
domainbed/algorithms.py:1105
Class
SD
Gradient Starvation: A Learning Proclivity in Neural Networks Equation 25 from [https://arxiv.org/pdf/2011.09468.pdf]
domainbed/algorithms.py:906
Class
SagNet
Style Agnostic Network Algorithm 1 from: https://arxiv.org/abs/1910.11645
domainbed/algorithms.py:732
Class
SelectionMethod
Abstract class whose subclasses implement strategies for model selection across hparams and timesteps.
domainbed/model_selection.py:11
Class
SelfReg
domainbed/algorithms.py:1018
Class
Tee
domainbed/lib/misc.py:176
Class
TerraIncognita
domainbed/datasets.py:248
Class
VLCS
domainbed/datasets.py:220
Class
VREx
V-REx algorithm from http://arxiv.org/abs/2003.00688
domainbed/algorithms.py:362
Class
WholeFish
domainbed/networks.py:210
Class
Wide_ResNet
Wide Resnet with the softmax layer chopped off
domainbed/lib/wide_resnet.py:63
Class
wide_basic
domainbed/lib/wide_resnet.py:37