Skip to content

Incompatibility with Python 3.9 due to Optimize.total_loss #30

Open
@jsmqz

Description

It appears that there is an issue while using this package with Python 3.9 and the most up-to-date version of SciPy. When using this package with Python 3.9, the total_loss method in the Optimize class returns an array of [[SCALER]] when it should just return the scalar, causing the program to fail. I was able to fix this in my personal project by flattening the array but I'm unsure how it would impact others using this package. If there is interest I'm happy to upload the changes I've made.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions