You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@madlib.apache.org by "Orhan Kislal (Jira)" <ji...@apache.org> on 2022/07/18 17:54:00 UTC

[jira] [Updated] (MADLIB-1485) DL: Unhelpful error message when loss/accuracy does not exist

     [ https://issues.apache.org/jira/browse/MADLIB-1485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Orhan Kislal updated MADLIB-1485:
---------------------------------
    Fix Version/s: v1.20.0
                       (was: v1.19.0)

> DL: Unhelpful error message when loss/accuracy does not exist
> -------------------------------------------------------------
>
>                 Key: MADLIB-1485
>                 URL: https://issues.apache.org/jira/browse/MADLIB-1485
>             Project: Apache MADlib
>          Issue Type: Bug
>          Components: Deep Learning
>            Reporter: Frank McQuillan
>            Priority: Minor
>             Fix For: v1.20.0
>
>
> We throw an unhelpful error message when either the loss or the metrics argument is invalid. We should check if this happens for any other argument
> {code}
> SELECT madlib.madlib_keras_fit('mnist_train_batched', 'mnist_lstm_model',
> 'model_arch_mnist_lstm', 1,
> $$ optimizer=SGD(lr=0.01, decay=1e-6, nesterov=True), loss='does_not_exist', metrics=['accuracy']$$::text,
> $$ batch_size=25, epochs=1, verbose=0 $$::text, 5, TRUE, NULL, NULL);
> ERROR:  plpy.Error: Object table not specified for function ['does_not_exist'] in compile_params (plpy_elog.c:121)
> {code}
> {code}
> SELECT madlib.madlib_keras_fit('mnist_train_batched', 'mnist_lstm_model',
> 'model_arch_mnist_lstm', 1,
> $$ optimizer=SGD(lr=0.01, decay=1e-6, nesterov=True), loss='categorical_crossentropy', metrics=['foobar']$$::text,
> $$ batch_size=25, epochs=1, verbose=0 $$::text, 5, TRUE, NULL, NULL);
> ERROR:  plpy.Error: Object table not specified for function ['foobar'] in compile_params (plpy_elog.c:121)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)