Active-Learning-Bayesian-Convolutional-Neural-Networks icon indicating copy to clipboard operation
Active-Learning-Bayesian-Convolutional-Neural-Networks copied to clipboard

Standard deviation is not properly calculated in Segnet codes

Open reber199 opened this issue 4 years ago • 0 comments

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.

reber199 avatar Jan 04 '21 19:01 reber199