Skip to content

pavpu.py file format? #8

@dhlee-jubilee

Description

@dhlee-jubilee

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions