8000 unexpected error from return_msg · Issue #103 · coralnet/pyspacer · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
unexpected error from return_msg #103
Open
@yeelauren

Description

@yeelauren
# Open the pkl file and load the return message
import pickle
with open(return_message_filepath, 'rb') as f:
    return_msg = pickle.load(f)
print(f"New model's accuracy (0.0 = 0%, 1.0 = 100%): {return_msg.acc}")
print(
    f"Previous models' accuracies on the validation set:"
    f" {return_msg.pc_accs}")
print(
    "New model's accuracy progression (calculated on the reference set)"
    f" after each epoch of training: {return_msg.ref_accs}")
print(f"Training runtime: {return_msg.runtime:.1f} s")

Error:

AttributeError: 'CalibratedClassifierCV' object has no attribute 'acc'

previously I believe _acc was accessible ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0