5897356f490bc7cabc4e51c305df54e6302cc911,optuna/integration/catalyst.py,,,#,6
Before Change
import optuna
try:
from catalyst.dl import Callback
_available = True
except ImportError as e:
_import_error = e
// CatalystPruningCallback is disabled because Catalyst is not available.
_available = False
Callback = object
class CatalystPruningCallback(Callback):
Catalyst callback to prune unpromising trials.
Args:
After Change
from optuna._imports import try_import
with try_import() as _imports:
from catalyst.dl import Callback
class CatalystPruningCallback(Callback):
Catalyst callback to prune unpromising trials.
Args:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 13
Instances
Project Name: pfnet/optuna
Commit Name: 5897356f490bc7cabc4e51c305df54e6302cc911
Time: 2020-06-26
Author: skripniuk.v@yandex.ru
File Name: optuna/integration/catalyst.py
Class Name:
Method Name:
Project Name: pfnet/optuna
Commit Name: 0358bf3b516e3153e0f1579c81eae93166f73c07
Time: 2020-06-25
Author: skripniuk.v@yandex.ru
File Name: optuna/integration/tensorboard.py
Class Name:
Method Name:
Project Name: pfnet/optuna
Commit Name: c7fc32d37d74dc7ea085f4885f6f17eb213d1e68
Time: 2020-06-01
Author: hiroyuki.vincent.yamazaki@gmail.com
File Name: optuna/integration/mlflow.py
Class Name:
Method Name: