Skip to content

Package and imgaug failures #8

@alfieroddan

Description

@alfieroddan

Hi

Thank you for your work!

Unfortunately your code is unreproducible due to package conflicts, lack of installation instructions and general lack of working scripts.

What packages did you install from source?

Your requirements.txt does not give any detail of custom package installations i.e anomalib>1.1, llava, mgm and flash attention. Even when you get past all of this there is lack of direction.

Obviously you have a lot of foundational models that often come with custom installation instructions. If you update the code to say the base requirements and then a set of dependencies from foundational models this would be fine.

imgaug fails:

File "/home/tay/anaconda3/envs/logsad/lib/python3.10/site-packages/imgaug/__init__.py", line 7, in <module>
    from imgaug.imgaug import *  # pylint: disable=redefined-builtin
  File "/home/tay/anaconda3/envs/logsad/lib/python3.10/site-packages/imgaug/imgaug.py", line 45, in <module>
    NP_FLOAT_TYPES = set(np.sctypes["float"])
  File "/home/tay/anaconda3/envs/logsad/lib/python3.10/site-packages/numpy/__init__.py", line 400, in __getattr__
    raise AttributeError(
AttributeError: `np.sctypes` was removed in the NumPy 2.0 release. Access dtypes explicitly instead.

I'd be happy to help test and work with you in updating the code. Please let me know.

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