Closed stheid closed 5 years ago
I tracked the segfault down to line 71 in regression.py
Changing the facade to SMAC4BO
fixes the issue. Therefore its quite obvious that its related to the random forest implementation.
Thank you for trying to look into this issue. Unfortunately, we are not familiar with archlinux s.t. we cannot provide support for it. Furthermore, our main developer of the pyrfr package left our group quite some time ago; therefore we lack manpower to provide support for the pyrfr package in general.
If you find a way to fix the issue, we would highly appreciate a PR.
Best, Marius
I fixed the issue by reinstalling pyrfr
sudo pip uninstall pyrfr
sudo pip install pyrfr
with swig3 installed and linked to
sudo pacman -Syu swig3
sudo ln -s /usr/bin/swig-3 /usr/bin/swig
Reinstalling smac has no effect, as swig seems to be only used during the installation of pyrfr (https://github.com/automl/auto-sklearn/issues/314: > swigging pyrfr/regression.i to pyrfr/regression_wrap.cpp)
SMAC4HPO works also properly when i uninstall swig, therefore i think its only a build dependency of pyrfr
This issue also says that swig must be <=4.0: https://github.com/automl/random_forest_run/issues/51
So building/installing pyrfr with swig3 solves the issue. i will create a pullrequest for the README.md
Description
running
https://github.com/automl/SMAC3/blob/master/examples/fmin_rosenbrock.py
results in a segfault.I also tried running my own program first and there the error occures inside
SMAC4HPO.__init__()
Steps/Code to Reproduce
swig
on archlinux viapacman
pip
replace step 1 with (continue with smac install):
swig3
on archlinux viapacman
sudo ln -s /usr/bin/swig-3 /usr/bin/swig
=> same segfaultExpected Results
no segfault
Actual Results
Versions
0.11.1