Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No matches shown in evaluation tab #65

Open
ByLennox opened this issue Feb 16, 2024 · 4 comments
Open

No matches shown in evaluation tab #65

ByLennox opened this issue Feb 16, 2024 · 4 comments

Comments

@ByLennox
Copy link

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 builtin bool. To avoid this error in existing code, use bool by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.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

@kochlisGit
Copy link
Owner

Hello, which numpy version are you using? Open cmd and type: pip show numpy and tell me your version.

@ByLennox
Copy link
Author

It says version: 1.26.4

@kochlisGit
Copy link
Owner

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

@AfricaData
Copy link

@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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants