-
Notifications
You must be signed in to change notification settings - Fork 20
Description
I'm trying to evaluate my dataset using pavpu.py
Could you upload npy files ('label', 'pred', 'std') in def main(): or show type and shape?
@ex.automain
def main():
label = np.load("/data/wg-cee-dev-dgx/output/bcnn/predict/graphite/Litarion/test_targets.npy")[324]
pred = np.load("/data/wg-cee-dev-dgx/output/bcnn/predict/graphite/Litarion/dropout/dropout_pred.npy")[324]
std = np.load("/data/wg-cee-dev-dgx/output/bcnn/predict/graphite/Litarion/dropout/dropout_unc.npy")[324]
val = std.mean()# + (std.std())
calculate_pavpu(pred, label, std, accuracy_threshold=0.78, uncertainty_threshold=val)
print()
pred = np.load("/data/wg-cee-dev-dgx/output/bcnn/predict/graphite/Litarion/bayesian/bayesian_pred.npy")[324]
std = np.load("/data/wg-cee-dev-dgx/output/bcnn/predict/graphite/Litarion/bayesian/bayesian_unc.npy")[324]
val = std.mean()# + (std.std())
calculate_pavpu(pred, label, std, accuracy_threshold=0.78, uncertainty_threshold=val)