fmcquillan99 edited a comment on pull request #524:
URL: https://github.com/apache/madlib/pull/524#issuecomment-784665248


   (2) error when generating MSTs with TensorBoard:
   ```
   madlib=# SELECT madlib.generate_model_configs(
   madlib(#                                         'model_arch_library', -- 
model architecture table
   madlib(#                                         'mst_table',          -- 
model selection table output
   madlib(#                                          ARRAY[1,2],          -- 
model ids from model architecture table
   madlib(#                                          $$
   madlib$#                                             {'loss': 
['categorical_crossentropy'],
   madlib$#                                              
'optimizer_params_list': [ {'optimizer': ['Adam', 'SGD'], 'lr': [0.001, 0.01]} 
],
   madlib$#                                              'metrics': 
['accuracy']}
   madlib$#                                          $$,                  -- 
compile_param_grid
   madlib(#                                          $$
   madlib$#                                          { 'batch_size': [64, 128],
   madlib$#                                            'epochs': [10],
   madlib$#                                            'callbacks': 
['[TensorBoard(log_dir="/tmp/logs/fit")]']
   madlib$#                                          }
   madlib$#                                          $$,                  -- 
fit_param_grid
   madlib(#                                          'grid'               -- 
search_type
   madlib(#                                          );
   ERROR:  plpy.Error: DL: Cannot search from a distribution with grid search 
(plpython.c:5038)
   CONTEXT:  Traceback (most recent call last):
     PL/Python function "generate_model_configs", line 21, in <module>
       mst_loader = madlib_keras_model_selection.MstSearch(**globals())
     PL/Python function "generate_model_configs", line 42, in wrapper
     PL/Python function "generate_model_configs", line 309, in __init__
     PL/Python function "generate_model_configs", line 364, in validate_inputs
     PL/Python function "generate_model_configs", line 105, in _assert
   PL/Python function "generate_model_configs"
   ```


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to