Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot load composite_metric_v1_model #2

Open
funnyzhou opened this issue Aug 17, 2023 · 2 comments
Open

Cannot load composite_metric_v1_model #2

funnyzhou opened this issue Aug 17, 2023 · 2 comments

Comments

@funnyzhou
Copy link

ipdb> composite_metric_v1_model = pickle.load(f)
*** AttributeError: Can't get attribute 'CompositeMetric' on <module 'main'>

@KathyFeiyang
Copy link
Contributor

Thanks for raising this issue. Could you try importing CompositeMetric following this script as an example?

@mk-runner
Copy link

ipdb> composite_metric_v1_model = pickle.load(f) *** AttributeError: Can't get attribute 'CompositeMetric' on <module 'main'>

I have the same issue when I run the below code.

    with open(composite_metric_v1_path, "rb") as f:
        composite_metric_v1_model = pickle.load(f)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants