Skip to content

AttributeError: module 'numpy' has no attribute 'warnings' #14

@att131

Description

@att131

Hello,
I cloned this repo, and I have all the repositories installed, but when I run the example command given in the description
python3 build.py -b models/block_model_300_300.h5 -p models/position_model_512_512_256.h5 -l 60 -c data/config.json -o GeneratedTrack.Challenge.Gbx
I get the error:

  File "C:\Users\<user>\TMTrackNN\build.py", line 31, in <module>
    np.warnings.filterwarnings('ignore')
    ^^^^^^^^^^^
  File "C:\Users\<user>\AppData\Roaming\Python\Python312\site-packages\numpy\__init__.py", line 427, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'warnings'. Did you mean: 'hanning'?

Can anyone explain what I am doing wrong? Do I need a different version of numpy?
Thank you!

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