ys7yoo / nea_tf

Neural Essay Assessor: An Automated Essay Scoring System Based on Deep Neural Networks
GNU General Public License v3.0
0 stars 0 forks source link

Adding dropout to LSTM #6

Closed ys7yoo closed 3 years ago

ys7yoo commented 3 years ago
Traceback (most recent call last):
  File "/home/yyoo/tf2/lib/python3.6/site-packages/tensorflow/python/training/tracking/base.py", line 517, in _method_wrapper
    result = method(self, *args, **kwargs)
  File "/home/yyoo/tf2/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 340, in __init__
    generic_utils.validate_kwargs(kwargs, allowed_kwargs)
  File "/home/yyoo/tf2/lib/python3.6/site-packages/tensorflow/python/keras/utils/generic_utils.py", line 808, in validate_kwargs
    raise TypeError(error_message, kwarg)
TypeError: ('Keyword argument not understood:', 'dropout_W')
python-BaseException
ys7yoo commented 3 years ago

https://stackoverflow.com/questions/55391226/typeerror-keyword-argument-not-understood-dropout

ys7yoo commented 3 years ago

Keras API: https://faroit.com/keras-docs/1.2.1/layers/recurrent/

TF Keras API: https://www.tensorflow.org/api_docs/python/tf/keras/layers/LSTM