Skip to content

AttributeError: module 'numpy' has no attribute 'float'. #330

Open

Description

@CXHadams

您好,我在测试demo的时候老是出现AttributeError: module 'numpy' has no attribute 'float'.
np.float was a deprecated alias for the builtin float的问题,也将np.float改成float了,结果显示还存在这个问题,请问您在测试demo 的时候遇到过吗?(有偿求助,QQ:1798191013)

image

Activity

  1. jojosama commented on Apr 18, 2023

    @jojosama

    beacuse your numpy version >=1.24

    pip uninstall numpy
    pip install -U numpy==1.23.5

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

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