未验证 提交 6cc6f823 编写于 作者: Z zhouzj 提交者: GitHub

Update SMAC version requirements (#1701)

上级 e5f36761
......@@ -417,8 +417,11 @@ def quant_post_hpo(
try:
import smac
assert smac.version == '1.4.0'
except:
os.system('python -m pip install -U smac')
_logger.warning(
"smac==1.4.0 is required, please use \"pip install smac==1.4.0\".")
os.system('python -m pip install smac==1.4.0')
# smac
from ConfigSpace.hyperparameters import CategoricalHyperparameter, \
UniformFloatHyperparameter, UniformIntegerHyperparameter
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册