MCPcopy Create free account

hub / github.com/BlackHC/BatchBALD / functions

Functions305 in github.com/BlackHC/BatchBALD

↓ 1 callersFunctionrecover_args
(laaos_store)
src/recover_model.py:53
↓ 1 callersFunctionrecover_args
(laaos_store)
src/al_notebook/results_loader.py:164
↓ 1 callersMethodreset_mask
(self)
src/mc_dropout.py:85
↓ 1 callersFunctionsample_indices
(indices, total_length)
src/dataset_enum.py:412
↓ 1 callersFunctionshow_batch
(batch, **kwargs)
src/al_notebook/show_batch.py:40
↓ 1 callersMethodsnapshot
(self)
src/ignite_restoring_score_guard.py:72
↓ 1 callersFunctionstore_iteration_results
(engine: ignite.engine.Engine, store_object, log_interval=1000)
src/ignite_utils.py:40
↓ 1 callersFunctiontrain_model
( model: nn.Module, optimizer: optim.Optimizer, max_epochs, early_stopping_patience, num_i
src/train_model.py:22
FunctionB
(request)
src/joint_entropy/test_matmuls.py:45
FunctionB
(request)
src/joint_entropy/unoptimized/test_exact_batch.py:56
FunctionB
(request)
src/joint_entropy/unoptimized/test_sampling_batch.py:78
FunctionB
(request)
src/joint_entropy/unoptimized/test_exact_joint_probs.py:70
FunctionB
(request)
src/joint_entropy/unoptimized/test_sampling_sample.py:104
FunctionC
()
src/joint_entropy/test_matmuls.py:40
FunctionC
(request)
src/joint_entropy/unoptimized/test_exact_batch.py:51
FunctionC
(request)
src/joint_entropy/unoptimized/test_sampling_batch.py:73
FunctionC
(request)
src/joint_entropy/unoptimized/test_exact_joint_probs.py:65
FunctionC
(request)
src/joint_entropy/unoptimized/test_sampling_sample.py:99
FunctionK
(request)
src/joint_entropy/test_matmuls.py:55
FunctionK
(request)
src/joint_entropy/unoptimized/test_exact_batch.py:66
FunctionK
(request)
src/joint_entropy/unoptimized/test_sampling_batch.py:88
FunctionK
(request)
src/joint_entropy/unoptimized/test_exact_joint_probs.py:80
FunctionK
(request)
src/joint_entropy/unoptimized/test_sampling_sample.py:114
FunctionM
(request)
src/joint_entropy/test_matmuls.py:50
FunctionM
(request)
src/joint_entropy/unoptimized/test_exact_batch.py:61
FunctionM
(request)
src/joint_entropy/unoptimized/test_sampling_batch.py:83
FunctionM
(request)
src/joint_entropy/unoptimized/test_exact_joint_probs.py:75
FunctionM
(request)
src/joint_entropy/unoptimized/test_sampling_sample.py:109
FunctionN
(request)
src/joint_entropy/unoptimized/test_exact_batch.py:76
FunctionN
(request)
src/joint_entropy/unoptimized/test_sampling_batch.py:98
FunctionN
(request)
src/joint_entropy/unoptimized/test_exact_joint_probs.py:90
FunctionN
(request)
src/joint_entropy/unoptimized/test_sampling_sample.py:124
FunctionS
(request)
src/joint_entropy/unoptimized/test_exact_batch.py:71
FunctionS
(request)
src/joint_entropy/unoptimized/test_sampling_batch.py:93
FunctionS
(request)
src/joint_entropy/unoptimized/test_exact_joint_probs.py:85
FunctionS
(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
Functionaggregate_accuracies
(stores, percentiles=None, thresholds=None)
src/al_notebook/results_loader.py:385
Methodapply_noise
(idx, sample)
src/dataset_enum.py:119
Functionbald_acquisition_function
(logits_b_K_C)
src/acquisition_functions.py:30
Functionbatch
(probs_B_K_C, prev_joint_probs_M_K=None)
src/joint_entropy/exact.py:59
Functionbatch
(probs_B_K_C, samples_M_K)
src/joint_entropy/sampling.py:58
Functionbatch
(probs_B_K_C, prev_joint_probs_M_K=None)
src/joint_entropy/unoptimized/exact.py:40
Functionbatch
(probs_B_K_C, samples_M_K)
src/joint_entropy/unoptimized/sampling.py:37
Functionbatch_conditional_entropy_B
(logits_B_K_C, out_conditional_entropy_B=None)
src/joint_entropy/exact.py:88
Functionbatch_conditional_entropy_B
(logits_B_K_C, out_conditional_entropy_B=None)
src/joint_entropy/unoptimized/exact.py:69
Functionbatch_exact_joint_entropy_logits
This one switches between devices, too.
src/multi_bald.py:183
Functionbatch_jsd
:param batch_p: #batch x #classes :param q: #classes :return: #batch Jensen-Shannon Divergences
src/torch_utils.py:159
Functioncompute_acquisition_bag
( bayesian_model: nn.Module, acquisition_function: AcquisitionFunction, available_loader, num_
src/independent_batch_acquisition.py:15
Functioncompute_multi_bald_batch
( bayesian_model: nn.Module, available_loader, num_classes, k, b, target_size, ini
src/multi_bald.py:20
Functioncuda_meminfo
()
src/torch_utils.py:73
Functiondataset_subset_split
(dataset, indices)
src/subrange_dataset.py:12
Functiondesc
(name)
src/run_experiment_no_al.py:158
Functiondesc
(name)
src/run_experiment.py:231
Methoddeterministic_forward_impl
(self, x: Tensor)
src/vgg_model.py:58
Methodelapsed_time
(self)
src/context_stopwatch.py:12
Functionentropy_from_M_K
(joint_probs_M_K)
src/joint_entropy/exact.py:34
Functionentropy_from_M_K
(joint_probs_M_K)
src/joint_entropy/unoptimized/exact.py:33
Functioneval_bayesian_model_consistent
( bayesian_model: mc_dropout.BayesianModule, available_loader, num_classes, k=20, device=None )
src/sampler_model.py:13
Functionexact_module
(request)
src/joint_entropy/unoptimized/test_exact_batch.py:101
Functionexact_module
(request)
src/joint_entropy/unoptimized/test_sampling_batch.py:123
Functionexact_module
(request)
src/joint_entropy/unoptimized/test_exact_joint_probs.py:115
Functionexact_module
(request)
src/joint_entropy/unoptimized/test_sampling_sample.py:149
Methodextra_repr
(self)
src/mc_dropout.py:82
Functionfilter_dict
(d: dict, *, kv=None, k=None, v=None)
src/al_notebook/results_loader.py:131
Methodforward
(self, input)
src/sampler_model.py:66
Methodforward
(self, input: torch.Tensor)
src/sampler_model.py:80
Methodforward
(self, input_B: torch.Tensor, k: int)
src/mc_dropout.py:31
Methodforward
(self, input: torch.Tensor)
src/mc_dropout.py:101
Methodforward
(self, batch)
src/test_acquisition_functions.py:88
Functionfrom_M_K
(samples_M_K)
src/joint_entropy/sampling.py:48
Functionfrom_M_K
(samples_M_K)
src/joint_entropy/unoptimized/sampling.py:27
Functiongather_accuracies
(stores)
src/al_notebook/results_loader.py:396
Functiongc_cuda
(quiet=False)
src/al_notebook/torch_utils.py:14
Functionget_RepeatedMNIST
()
src/dataset_enum.py:79
Functionget_accuracy
(iteration)
src/al_notebook/results_loader.py:273
Functionget_any
(d: dict)
src/al_notebook/results_loader.py:76
Functionget_cuda_available_memory
()
src/torch_utils.py:29
Functionget_diff_args_key2text
(stores, ignore_fields=())
src/al_notebook/results_loader.py:535
Functionget_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
Functionget_stores_info
(stores, include_keys=False)
src/al_notebook/results_loader.py:488
Functionget_threshold_quantiles_key
(agg)
src/al_notebook/results_loader.py:412
Functionget_top_n
(scores: np.ndarray, n)
src/independent_batch_acquisition.py:10
← previousnext →101–200 of 305, ranked by callers