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

Orhan Kislal reassigned MADLIB-1388:
------------------------------------

    Fix Version/s: v1.17
         Assignee: Orhan Kislal

> Deep Learning module does not work with tables in non-public schemas
> --------------------------------------------------------------------
>
>                 Key: MADLIB-1388
>                 URL: https://issues.apache.org/jira/browse/MADLIB-1388
>             Project: Apache MADlib
>          Issue Type: Bug
>          Components: Deep Learning
>            Reporter: Orhan Kislal
>            Assignee: Orhan Kislal
>            Priority: Major
>             Fix For: v1.17
>
>
> I have tried both source table and model arch table in schemas to replicate 
> the issue. It seems the quote indent is tripping up the validation code which 
> causes the following error.
> {code:java}
> madlib=# SELECT madlib_keras_fit(                                             
>                                          's1.t2',                             
>                                                                               
> 'keras_saved_out',                                                            
>                                      'model_arch',                            
>                                                                           1,  
>                                                                               
>                                  $$ optimizer=SGD(lr=0.01, decay=1e-6, 
> nesterov=True), loss='categorical_crossentropy', 
> metrics=['accuracy']$$::text,                                                 
>                                                                  $$ 
> batch_size=2, epochs=1, verbose=0 $$::text,                                   
>                                   3);
> ERROR:  plpy.Error: madlib_keras_fit error: Input table '"s1.t2"' does not 
> exist. (plpy_elog.c:121)
> CONTEXT:  Traceback (most recent call last):
>   PL/Python function "madlib_keras_fit", line 21, in <module>
>     madlib_keras.fit(**globals())
>   PL/Python function "madlib_keras_fit", line 42, in wrapper
>   PL/Python function "madlib_keras_fit", line 99, in fit
>   PL/Python function "madlib_keras_fit", line 370, in __init__
>   PL/Python function "madlib_keras_fit", line 260, in __init__
>   PL/Python function "madlib_keras_fit", line 268, in _validate_common_args
>   PL/Python function "madlib_keras_fit", line 674, in input_tbl_valid
> PL/Python function "madlib_keras_fit"
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to