Open ByLennox opened 9 months ago
Hello, which numpy version are you using? Open cmd
and type: pip show numpy
and tell me your version.
It says version: 1.26.4
That's because you have different version installed. Check requirements.txt and install the recommended versions. You can do it like this:
pip install numpy==1.22.4
for example. Check the requirements.txt on the folder for the exact version of each library
@ByLennox you can also change np.bool in line 300 of file (\gui\dialogs\models\evaluate.py) to def get_mask(correct_ids: bool, target_col:
When I open the evaluation tab none of the matches are shown and i get this error: AttributeError: module 'numpy' has no attribute 'bool'.
np.bool
was a deprecated alias for the builtinbool
. To avoid this error in existing code, usebool
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, usenp.bool_
here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations