Active-Learning-Bayesian-Convolutional-Neural-Networks
Active-Learning-Bayesian-Convolutional-Neural-Networks copied to clipboard
Standard deviation is not properly calculated in Segnet codes
Hello,
In the code for the standard deviation acquisition function (Segnet), the standard deviation seems to not be properly calculated. Lines 236-237 in the demo read:
for d_iter in range(dropout_iterations):
L = np.append(L, All_Dropout_Scores[t, r+10])
Notice that the All_Dropout_Scores index doesn't use d_iter, so the L array effectively contains only copies of the same value. The calculated STD is therefore of 0. This would explain why the results for this approach in the related paper are similar to the random acquisition.