Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexrame/fishr
/ functions
Functions
228 in github.com/alexrame/fishr
⨍
Functions
228
◇
Types & classes
59
Method
__init__
(self)
domainbed/model_selection.py:15
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:63
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:86
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:121
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:178
Method
__init__
(self, input_shape, num_classes, num_domains, hparams, conditional, class_balance)
domainbed/algorithms.py:203
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:291
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:300
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:309
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:365
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:415
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:445
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:481
Method
__init__
(self, input_shape, num_classes, num_domains, hparams, gaussian)
domainbed/algorithms.py:591
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:667
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:676
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:687
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:738
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:851
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:938
Method
__init__
(self, in_features, num_classes, num_domains, hparams)
domainbed/algorithms.py:984
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:1020
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:1111
Method
__init__
(self, input_shape, num_classes, num_domains, hparams)
domainbed/algorithms.py:1172
Method
__init__
(self, root, test_envs, hparams)
domainbed/datasets.py:62
Method
__init__
(self, root, environments, dataset_transform, input_shape, num_classes)
domainbed/datasets.py:85
Method
__init__
(self, root, test_envs, hparams)
domainbed/datasets.py:119
Method
__init__
(self, root, test_envs, hparams)
domainbed/datasets.py:159
Method
__init__
(self, root, test_envs, augment, hparams)
domainbed/datasets.py:180
Method
__init__
(self, root, test_envs, hparams)
domainbed/datasets.py:230
Method
__init__
(self, root, test_envs, hparams)
domainbed/datasets.py:237
Method
__init__
(self, root, test_envs, hparams)
domainbed/datasets.py:244
Method
__init__
(self, root, test_envs, hparams)
domainbed/datasets.py:251
Method
__init__
(self)
domainbed/networks.py:38
Method
__init__
(self, input_shape, hparams)
domainbed/networks.py:71
Method
__init__
(self, input_shape)
domainbed/networks.py:128
Method
__init__
(self, input_shape)
domainbed/networks.py:165
Method
__init__
(self, input_shape, num_classes, hparams, weights=None)
domainbed/networks.py:211
Method
__init__
(self, input_shape, depth, widen_factor, dropout_rate)
domainbed/lib/wide_resnet.py:65
Method
__init__
(self, ema, oneminusema_correction=True)
domainbed/lib/misc.py:33
Method
__init__
(self, underlying_dataset, keys)
domainbed/lib/misc.py:112
Method
__init__
(self, *args, **kwargs)
domainbed/lib/misc.py:195
Method
__init__
(self, sampler)
domainbed/lib/fast_data_loader.py:7
Method
__init__
(self, dataset, weights, batch_size, num_workers)
domainbed/lib/fast_data_loader.py:16
Method
__init__
(self, list_)
domainbed/lib/query.py:54
Method
__init__
(self, train_args, sweep_output_dir)
domainbed/scripts/sweep.py:35
Method
__init__
(self)
coloredmnist/train_coloredmnist.py:125
Method
__iter__
(self)
domainbed/lib/fast_data_loader.py:10
Method
__iter__
(self)
domainbed/lib/fast_data_loader.py:41
Method
__iter__
(self)
domainbed/lib/fast_data_loader.py:68
Method
__len__
(self)
domainbed/datasets.py:57
Method
__len__
(self)
domainbed/lib/misc.py:118
Method
__len__
(self)
domainbed/lib/fast_data_loader.py:45
Method
__len__
(self)
domainbed/lib/fast_data_loader.py:72
Method
__len__
(self)
domainbed/lib/query.py:58
Method
__repr__
(self)
domainbed/lib/query.py:73
Method
__rmul__
(self, other)
domainbed/lib/misc.py:209
Method
__rsub__
(self, other)
domainbed/lib/misc.py:217
Method
__str__
(self)
domainbed/lib/query.py:70
Method
__str__
(self)
domainbed/scripts/sweep.py:58
Method
__truediv__
(self, other)
domainbed/lib/misc.py:223
Function
_define_hparam
(hparams, hparam_name, default_val, random_val_fn)
domainbed/hparams_registry.py:6
Method
_step_acc
Given a single record, return a {val_acc, test_acc} dict.
domainbed/model_selection.py:80
Function
accuracy
(network, loader, weights, device)
domainbed/lib/misc.py:150
Method
color_dataset
(self, images, labels, environment)
domainbed/datasets.py:126
Function
conv_init
(m)
domainbed/lib/wide_resnet.py:27
Function
default_hparams
(algorithm, dataset)
domainbed/hparams_registry.py:144
Function
dummy_launcher
Doesn't run anything; instead, prints each command. Useful for testing.
domainbed/command_launchers.py:18
Function
f
(obj)
domainbed/lib/query.py:33
Method
filter_not_nan
(self)
domainbed/lib/query.py:157
Method
flatten
(self)
domainbed/lib/query.py:160
Method
forward
(self, x)
domainbed/networks.py:41
Method
forward
(self, x)
domainbed/networks.py:57
Method
forward
Encode x into a feature vector of size n_outputs.
domainbed/networks.py:102
Method
forward
(self, x)
domainbed/networks.py:142
Method
forward
(self, x)
domainbed/networks.py:180
Method
forward
(self, x)
domainbed/networks.py:227
Method
forward
(self, x)
domainbed/lib/wide_resnet.py:55
Method
forward
(self, x)
domainbed/lib/wide_resnet.py:97
Method
forward
(self, input)
coloredmnist/train_coloredmnist.py:139
Function
get_algorithm_class
Return the algorithm class with the given name.
domainbed/algorithms.py:48
Function
get_grouped_records
Group records by (trial_seed, dataset, algorithm, test_env). Because records can have multiple test envs, a given record may appear in more than
domainbed/lib/reporting.py:27
Method
group_map
Group elements by selector, apply fn to each group, and return a list of the results.
domainbed/lib/query.py:96
Method
key2
(x)
domainbed/lib/query.py:176
Method
len
(self)
domainbed/lib/query.py:126
Function
load_records
(path)
domainbed/lib/reporting.py:12
Function
local_launcher
Launch commands serially on the local machine.
domainbed/command_launchers.py:13
Function
make_weights_for_balanced_classes
(dataset)
domainbed/lib/misc.py:60
Method
mean_std
(self)
domainbed/lib/query.py:139
Function
multi_gpu_launcher
Launch commands on the local machine, using all GPUs in parallel.
domainbed/command_launchers.py:26
Function
num_environments
(dataset_name)
domainbed/datasets.py:43
Method
opt
(p)
domainbed/algorithms.py:778
Function
pdb
()
domainbed/lib/misc.py:80
Method
predict
(self, x)
domainbed/algorithms.py:77
Method
predict
(self, x)
domainbed/algorithms.py:171
Method
predict
(self, x)
domainbed/algorithms.py:185
Method
predict
(self, x)
domainbed/algorithms.py:284
Method
predict
(self, x)
domainbed/algorithms.py:845
Method
predict
(self, x)
domainbed/algorithms.py:1296
Function
print_row
(row, colwidth=10, latex=False)
domainbed/lib/misc.py:96
← previous
next →
101–200 of 228, ranked by callers