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

Plugins with MAC #150

Open
LukasFehring opened this issue Jun 11, 2024 · 2 comments
Open

Plugins with MAC #150

LukasFehring opened this issue Jun 11, 2024 · 2 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@LukasFehring
Copy link
Collaborator

Some of the plugins do not execute on MAC but execute on Linux.

For example,
black_box_max_20_layers.zip
fails when plotting Fanova Hyperparameter Importance on M1 Mac. However, On Linux it executes.

The raised error is AttributeError: 'SwigPyObject' object has no attribute 'mean'

@sarah-segel sarah-segel added this to the v2.0 milestone Aug 2, 2024
@sarah-segel sarah-segel added the invalid This doesn't seem right label Aug 6, 2024
@mwever mwever self-assigned this Aug 7, 2024
@mwever
Copy link
Collaborator

mwever commented Aug 8, 2024

This seems to be quite a strange issue. For me the type does not correspond to a numpy array, instead it is of the type rfr::util::weighted_running_statistics< double > *. Could you maybe check under Linux what type the variable ls has on line 224 in the following file:
deepcave.evaluators.epm.fanova_forest.py?

@sarah-segel
Copy link
Collaborator

I just checked under Linux and get pyrfr.util.weighted_running_stats. For ls.mean(), I get a float.
@mwever I assume you also get the AttributeError there? If so, seems like a Swig on Mac issue.

@sarah-segel sarah-segel removed this from the v2.0 milestone Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants