You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your acquisition function should inherit from all base classes it supports. For example, Entropy class should inherit from MCAcquisition and EnsembleAcquisition:
I have added DeterministicStrategy now. Acquisitions such as Entropy should check if the input is 3d (mc_dim, pool_dim, n_classes) and take mean over the first dimension. If input is 2d (pool_dim, n_classes), simply compute the acquisition and return the scores.
Since MC BALD and BALD have been assigned differently, BALD will only inherit from DeterministicStratergy? Basically, should we have two separate files for BALD and MC BALD?
Refer to this paper for most functions below.
Create a separate file for each of these strategies in
astra/torch/al/acquisitions
folder. See for example, https://github.com/sustainability-lab/ASTRA/blob/main/astra/torch/al/acquisitions/random.pyYour acquisition function should inherit from all base classes it supports. For example,
Entropy
class should inherit fromMCAcquisition
andEnsembleAcquisition
:All of you should
astra/tests
directory in relevant folders.The text was updated successfully, but these errors were encountered: