Skip to content

usage of deprecated type np.float #2

@Dharmesh946

Description

@Dharmesh946

Using the test command line in the project readme, I've got an error in metric.py line 124:
(relative_err < 0.05).astype(np.float).mean()

AttributeError: module 'numpy' has no attribute 'float'.
np.float was a deprecated alias for th builtin float...

Metadata

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