fmcquillan99 commented on pull request #513:
URL: https://github.com/apache/madlib/pull/513#issuecomment-688930405
@Advitya17 What is the syntax error here please?
```
SELECT madlib.madlib_keras_automl('cifar10_train_packed',
'automl_cifar10_output',
'model_arch_library',
'automl_cifar_10_mst_table',
ARRAY[1],
$${'loss': ['categorical_crossentropy'],
'optimizer_params_list': [
{'optimizer': ['Adam'],'lr': [0.001,
0.0001, 'log']}
{'optimizer': ['Adam'],'lr': [0.001,
0.0001, 'log']}],
'metrics':['accuracy']}$$,
$${'batch_size': [64, 128], 'epochs': [1]}$$,
'hyperband',
'R=9, eta=3, skip_last=2');
```
```
InternalError: (psycopg2.errors.InternalError_) SyntaxError: invalid syntax
(<unknown>, line 1) (plpython.c:5038)
CONTEXT: Traceback (most recent call last):
PL/Python function "madlib_keras_automl", line 21, in <module>
schedule_loader = madlib_keras_automl.KerasAutoML(**globals())
PL/Python function "madlib_keras_automl", line 42, in wrapper
PL/Python function "madlib_keras_automl", line 215, in __init__
PL/Python function "madlib_keras_automl", line 308, in
find_hyperband_config
PL/Python function "madlib_keras_automl", line 42, in wrapper
PL/Python function "madlib_keras_automl", line 283, in __init__
PL/Python function "madlib_keras_automl", line 48, in literal_eval
PL/Python function "madlib_keras_automl", line 36, in parse
PL/Python function "madlib_keras_automl"
[SQL: SELECT madlib.madlib_keras_automl('cifar10_train_packed',
'automl_cifar10_output',
'model_arch_library',
'automl_cifar_10_mst_table',
ARRAY[1],
$${'loss': ['categorical_crossentropy'],
'optimizer_params_list': [
{'optimizer': ['Adam'],'lr': [0.001,
0.0001, 'log']}
{'optimizer': ['Adam'],'lr': [0.001,
0.0001, 'log']}],
'metrics':['accuracy']}$$,
$${'batch_size': [64, 128], 'epochs': [1]}$$,
'hyperband',
'R=9, eta=3, skip_last=2');]
(Background on this error at: http://sqlalche.me/e/2j85)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]