You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@madlib.apache.org by "Frank McQuillan (Jira)" <ji...@apache.org> on 2021/03/24 23:06:00 UTC
[jira] [Created] (MADLIB-1480) DL: Passing in weighted_metrics
fails
Frank McQuillan created MADLIB-1480:
---------------------------------------
Summary: DL: Passing in weighted_metrics fails
Key: MADLIB-1480
URL: https://issues.apache.org/jira/browse/MADLIB-1480
Project: Apache MADlib
Issue Type: Bug
Components: Deep Learning
Reporter: Frank McQuillan
Fix For: v1.19.0
Passing in weighted_metrics fails, not sure if we even support it
{code}
SELECT madlib.madlib_keras_fit( 'iris_data_packed', 'iris_model', 'iris_model_arch', 1, $$loss='categorical_crossentropy',optimizer='Adam(lr=0.1)',metrics=['accuracy'],weighted_metrics=['accuracy']$$,$$batch_size=10,epochs=1$$,1);
ERROR: spiexceptions.InternalError: ValueError: too many values to unpack (plpy_elog.c:121) (seg0 slice1 127.0.0.1:6002 pid=84135) (plpy_elog.c:121)
CONTEXT: Traceback (most recent call last):
PL/Python function "madlib_keras_fit", line 23, in <module>
madlib_keras.fit(**globals())
PL/Python function "madlib_keras_fit", line 42, in wrapper
PL/Python function "madlib_keras_fit", line 298, in fit
PL/Python function "madlib_keras_fit", line 520, in compute_loss_and_metrics
PL/Python function "madlib_keras_fit", line 1001, in get_loss_metric_from_keras_eval
PL/Python function "madlib_keras_fit"
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)