Skip to content

[MacOS] TypeError: only 0-dimensional arrays can be converted to Python scalars #33

@gamesbyangelina

Description

@gamesbyangelina
  File "......src/utils.py", line 49, in get_smoothing_filter
    print("%02d: %.3f" %(len(filter_weights)-i, w))
          ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: only 0-dimensional arrays can be converted to Python scalars

Looking around, it seems like this might be a versioning issue with numpy, I think the requirements file doesn't specify a new version but I think new versions of numpy break this specific line. Will come back if I notice a fix myself.

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