../zoo/chronos/autots/experimental.py:165: in fit
scheduler_params=scheduler_params
../zoo/chronos/autots/model/auto_lstm.py:141: in fit
scheduler_params=scheduler_params,
../zoo/orca/automl/auto_estimator.py:185: in fit
self.searcher.run()
../zoo/automl/search/ray_tune_search_engine.py:181: in run
self.logger.run(tf_config, tf_metric)
../zoo/automl/logger/tensorboardxlogger.py:115: in run
self._write_hparams(new_config[key], newmetric[key], name=key.replace("/", ""))
../zoo/automl/logger/tensorboardxlogger.py:120: in _write_hparams
exp, ssi, sei = hparams(hparam_dict, metric_dict)
/Users/arda/anaconda3/envs/py36/lib/python3.6/site-packages/tensorboardX/summary.py:102: in hparams
v = make_np(v)[0]
/Users/arda/anaconda3/envs/py36/lib/python3.6/site-packages/tensorboardX/x2num.py:20: in make_np
return check_nan(np.array(x))
/Users/arda/anaconda3/envs/py36/lib/python3.6/site-packages/tensorboardX/x2num.py:12: in check_nan
tmp = np.sum(array)
<__array_function__ internals>:6: in sum
???
/Users/arda/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/fromnumeric.py:2229: in sum
initial=initial, where=where)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
obj = array(['WEEKDAY(datetime)', 'IS_AWAKE(datetime)'], dtype=', method = 'sum', axis = None, dtype = None, out = None
kwargs = {'initial': , 'keepdims': , 'where': }
passkwargs = {}
def _wrapreduction(obj, ufunc, method, axis, dtype, out, **kwargs):
passkwargs = {k: v for k, v in kwargs.items()
if v is not np._NoValue}
if type(obj) is not mu.ndarray:
try:
reduction = getattr(obj, method)
except AttributeError:
pass
else:
# This branch is needed for reductions like any which don't
# support a dtype.
if dtype is not None:
return reduction(axis=axis, dtype=dtype, out=out, **passkwargs)
else:
return reduction(axis=axis, out=out, **passkwargs)
> return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
E TypeError: cannot perform reduce with flexible type
/Users/arda/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/fromnumeric.py:90: TypeError`
jenkins link:
http://10.239.176.111:18888/job/ZOO-NB-UnitTests-2.4-PYTHON-MAC/387/consoleFull
PR: [AutoTSTrainer with tuning of model hyperparams and data preprocessing intel-analytics/analytics-zoo#4105](https://github.com/intel-analytics/analytics-zoo/pull/4105)
`____ TestAutoTrainer.test_fit_lstmfeature ____
self =
../test/zoo/chronos/autots/test_experimental.py:95:
../zoo/chronos/autots/experimental.py:165: in fit scheduler_params=scheduler_params ../zoo/chronos/autots/model/auto_lstm.py:141: in fit scheduler_params=scheduler_params, ../zoo/orca/automl/auto_estimator.py:185: in fit self.searcher.run() ../zoo/automl/search/ray_tune_search_engine.py:181: in run self.logger.run(tf_config, tf_metric) ../zoo/automl/logger/tensorboardxlogger.py:115: in run self._write_hparams(new_config[key], newmetric[key], name=key.replace("/", "")) ../zoo/automl/logger/tensorboardxlogger.py:120: in _write_hparams exp, ssi, sei = hparams(hparam_dict, metric_dict) /Users/arda/anaconda3/envs/py36/lib/python3.6/site-packages/tensorboardX/summary.py:102: in hparams v = make_np(v)[0] /Users/arda/anaconda3/envs/py36/lib/python3.6/site-packages/tensorboardX/x2num.py:20: in make_np return check_nan(np.array(x)) /Users/arda/anaconda3/envs/py36/lib/python3.6/site-packages/tensorboardX/x2num.py:12: in check_nan tmp = np.sum(array)
<__array_function__ internals>:6: in sum ??? /Users/arda/anaconda3/envs/py36/lib/python3.6/site-packages/numpy/core/fromnumeric.py:2229: in sum initial=initial, where=where) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = array(['WEEKDAY(datetime)', 'IS_AWAKE(datetime)'], dtype='