Skip to content

'np.float' has been deprecated from numpy #5

@nohi191212

Description

@nohi191212

When first training THUMOS, an AttributeError was raised:

AttributeError: module 'numpy' has no attribute 'float'

Now we often use 'np.float32' with the fact that 'np.float' has been deprecated in NumPy. But it still exists in 'libs/utils/metrics.py'.

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