mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-24 13:41:07 +08:00
Merge pull request #471 from c-bata/improve-warning-message-optuna-fast-fanova
Improve warning message of optuna-fast-fanova
This commit is contained in:
@@ -21,8 +21,8 @@ try:
|
||||
from optuna_fast_fanova import FanovaImportanceEvaluator as FastFanovaImportanceEvaluator
|
||||
except ModuleNotFoundError:
|
||||
FastFanovaImportanceEvaluator = None # type: ignore
|
||||
except Exception:
|
||||
_logger.exception("Failed to import optuna-fast-fanova")
|
||||
except Exception as e:
|
||||
_logger.warning(f"Skipping to use optuna-fast-fanova due to {e}")
|
||||
FastFanovaImportanceEvaluator = None # type: ignore
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user