Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BlackHC/BatchBALD
/ functions
Functions
305 in github.com/BlackHC/BatchBALD
⨍
Functions
305
◇
Types & classes
28
↓ 1 callers
Function
recover_args
(laaos_store)
src/recover_model.py:53
↓ 1 callers
Function
recover_args
(laaos_store)
src/al_notebook/results_loader.py:164
↓ 1 callers
Method
reset_mask
(self)
src/mc_dropout.py:85
↓ 1 callers
Function
sample_indices
(indices, total_length)
src/dataset_enum.py:412
↓ 1 callers
Function
show_batch
(batch, **kwargs)
src/al_notebook/show_batch.py:40
↓ 1 callers
Method
snapshot
(self)
src/ignite_restoring_score_guard.py:72
↓ 1 callers
Function
store_iteration_results
(engine: ignite.engine.Engine, store_object, log_interval=1000)
src/ignite_utils.py:40
↓ 1 callers
Function
train_model
( model: nn.Module, optimizer: optim.Optimizer, max_epochs, early_stopping_patience, num_i
src/train_model.py:22
Function
B
(request)
src/joint_entropy/test_matmuls.py:45
Function
B
(request)
src/joint_entropy/unoptimized/test_exact_batch.py:56
Function
B
(request)
src/joint_entropy/unoptimized/test_sampling_batch.py:78
Function
B
(request)
src/joint_entropy/unoptimized/test_exact_joint_probs.py:70
Function
B
(request)
src/joint_entropy/unoptimized/test_sampling_sample.py:104
Function
C
()
src/joint_entropy/test_matmuls.py:40
Function
C
(request)
src/joint_entropy/unoptimized/test_exact_batch.py:51
Function
C
(request)
src/joint_entropy/unoptimized/test_sampling_batch.py:73
Function
C
(request)
src/joint_entropy/unoptimized/test_exact_joint_probs.py:65
Function
C
(request)
src/joint_entropy/unoptimized/test_sampling_sample.py:99
Function
K
(request)
src/joint_entropy/test_matmuls.py:55
Function
K
(request)
src/joint_entropy/unoptimized/test_exact_batch.py:66
Function
K
(request)
src/joint_entropy/unoptimized/test_sampling_batch.py:88
Function
K
(request)
src/joint_entropy/unoptimized/test_exact_joint_probs.py:80
Function
K
(request)
src/joint_entropy/unoptimized/test_sampling_sample.py:114
Function
M
(request)
src/joint_entropy/test_matmuls.py:50
Function
M
(request)
src/joint_entropy/unoptimized/test_exact_batch.py:61
Function
M
(request)
src/joint_entropy/unoptimized/test_sampling_batch.py:83
Function
M
(request)
src/joint_entropy/unoptimized/test_exact_joint_probs.py:75
Function
M
(request)
src/joint_entropy/unoptimized/test_sampling_sample.py:109
Function
N
(request)
src/joint_entropy/unoptimized/test_exact_batch.py:76
Function
N
(request)
src/joint_entropy/unoptimized/test_sampling_batch.py:98
Function
N
(request)
src/joint_entropy/unoptimized/test_exact_joint_probs.py:90
Function
N
(request)
src/joint_entropy/unoptimized/test_sampling_sample.py:124
Function
S
(request)
src/joint_entropy/unoptimized/test_exact_batch.py:71
Function
S
(request)
src/joint_entropy/unoptimized/test_sampling_batch.py:93
Function
S
(request)
src/joint_entropy/unoptimized/test_exact_joint_probs.py:85
Function
S
(request)
src/joint_entropy/unoptimized/test_sampling_sample.py:119
Method
__enter__
(self)
src/context_stopwatch.py:15
Method
__exit__
(self, exc_type, exc_value, traceback)
src/context_stopwatch.py:19
Method
__getitem__
(self, idx)
src/transformed_dataset.py:21
Method
__init__
(self, desc, log_interval)
src/ignite_progress_bar.py:7
Method
__init__
(self)
src/context_stopwatch.py:7
Method
__init__
(self, bayesian_net: mc_dropout.BayesianModule)
src/sampler_model.py:62
Method
__init__
(self, num_classes: int)
src/mc_dropout.py:24
Method
__init__
(self, num_classes)
src/emnist_model.py:10
Method
__init__
(self, dataset, *, transformer=None, vision_transformer=None)
src/transformed_dataset.py:13
Method
__init__
(self, dataset: data.Dataset)
src/active_learning_data.py:10
Method
__init__
(self, dataset: data.Dataset, target_length)
src/random_fixed_length_sampler.py:12
Method
__init__
(self, num_classes)
src/mnist_model.py:9
Method
__init__
(self, features, num_classes=1000, init_weights=True, smaller_head=False)
src/vgg_model.py:27
Method
__init__
( self, *, patience, score_function, out_of_patience_callback,
src/ignite_restoring_score_guard.py:36
Method
__iter__
(self)
src/random_fixed_length_sampler.py:17
Method
__len__
(self)
src/transformed_dataset.py:24
Method
__len__
(self)
src/random_fixed_length_sampler.py:24
Method
_get_sample_mask_shape
(self, sample_shape)
src/mc_dropout.py:198
Function
aggregate_accuracies
(stores, percentiles=None, thresholds=None)
src/al_notebook/results_loader.py:385
Method
apply_noise
(idx, sample)
src/dataset_enum.py:119
Function
bald_acquisition_function
(logits_b_K_C)
src/acquisition_functions.py:30
Function
batch
(probs_B_K_C, prev_joint_probs_M_K=None)
src/joint_entropy/exact.py:59
Function
batch
(probs_B_K_C, samples_M_K)
src/joint_entropy/sampling.py:58
Function
batch
(probs_B_K_C, prev_joint_probs_M_K=None)
src/joint_entropy/unoptimized/exact.py:40
Function
batch
(probs_B_K_C, samples_M_K)
src/joint_entropy/unoptimized/sampling.py:37
Function
batch_conditional_entropy_B
(logits_B_K_C, out_conditional_entropy_B=None)
src/joint_entropy/exact.py:88
Function
batch_conditional_entropy_B
(logits_B_K_C, out_conditional_entropy_B=None)
src/joint_entropy/unoptimized/exact.py:69
Function
batch_exact_joint_entropy_logits
This one switches between devices, too.
src/multi_bald.py:183
Function
batch_jsd
:param batch_p: #batch x #classes :param q: #classes :return: #batch Jensen-Shannon Divergences
src/torch_utils.py:159
Function
compute_acquisition_bag
( bayesian_model: nn.Module, acquisition_function: AcquisitionFunction, available_loader, num_
src/independent_batch_acquisition.py:15
Function
compute_multi_bald_batch
( bayesian_model: nn.Module, available_loader, num_classes, k, b, target_size, ini
src/multi_bald.py:20
Function
cuda_meminfo
()
src/torch_utils.py:73
Function
dataset_subset_split
(dataset, indices)
src/subrange_dataset.py:12
Function
desc
(name)
src/run_experiment_no_al.py:158
Function
desc
(name)
src/run_experiment.py:231
Method
deterministic_forward_impl
(self, x: Tensor)
src/vgg_model.py:58
Method
elapsed_time
(self)
src/context_stopwatch.py:12
Function
entropy_from_M_K
(joint_probs_M_K)
src/joint_entropy/exact.py:34
Function
entropy_from_M_K
(joint_probs_M_K)
src/joint_entropy/unoptimized/exact.py:33
Function
eval_bayesian_model_consistent
( bayesian_model: mc_dropout.BayesianModule, available_loader, num_classes, k=20, device=None )
src/sampler_model.py:13
Function
exact_module
(request)
src/joint_entropy/unoptimized/test_exact_batch.py:101
Function
exact_module
(request)
src/joint_entropy/unoptimized/test_sampling_batch.py:123
Function
exact_module
(request)
src/joint_entropy/unoptimized/test_exact_joint_probs.py:115
Function
exact_module
(request)
src/joint_entropy/unoptimized/test_sampling_sample.py:149
Method
extra_repr
(self)
src/mc_dropout.py:82
Function
filter_dict
(d: dict, *, kv=None, k=None, v=None)
src/al_notebook/results_loader.py:131
Method
forward
(self, input)
src/sampler_model.py:66
Method
forward
(self, input: torch.Tensor)
src/sampler_model.py:80
Method
forward
(self, input_B: torch.Tensor, k: int)
src/mc_dropout.py:31
Method
forward
(self, input: torch.Tensor)
src/mc_dropout.py:101
Method
forward
(self, batch)
src/test_acquisition_functions.py:88
Function
from_M_K
(samples_M_K)
src/joint_entropy/sampling.py:48
Function
from_M_K
(samples_M_K)
src/joint_entropy/unoptimized/sampling.py:27
Function
gather_accuracies
(stores)
src/al_notebook/results_loader.py:396
Function
gc_cuda
(quiet=False)
src/al_notebook/torch_utils.py:14
Function
get_RepeatedMNIST
()
src/dataset_enum.py:79
Function
get_accuracy
(iteration)
src/al_notebook/results_loader.py:273
Function
get_any
(d: dict)
src/al_notebook/results_loader.py:76
Function
get_cuda_available_memory
()
src/torch_utils.py:29
Function
get_diff_args_key2text
(stores, ignore_fields=())
src/al_notebook/results_loader.py:535
Function
get_samples_accuracy_I
Get all samples and accuracies for iterations (I) in a store. We never evaluate the final batch of chosen samples. Accuracies are always for the
src/al_notebook/results_loader.py:277
Function
get_stores_info
(stores, include_keys=False)
src/al_notebook/results_loader.py:488
Function
get_threshold_quantiles_key
(agg)
src/al_notebook/results_loader.py:412
Function
get_top_n
(scores: np.ndarray, n)
src/independent_batch_acquisition.py:10
← previous
next →
101–200 of 305, ranked by callers