Open drozzy opened 4 years ago
I think I figured it out. You forgot to remove two references to model
in these two places:
https://github.com/nvecoven/BRC/blob/master/MinimalWorkingExample.py#L26
https://github.com/nvecoven/BRC/blob/master/MinimalWorkingExample.py#L63
I got a similar error when the 'model' variable is not defined and passed as the tf.keras.layers.Layer 'name' parameter. Removing the references works for me as well.
You are absolutely right, in fact the "var_list" argument should also have been removed. I have no idea why it still ran correctly on my side despite these issues. I uploaded a new version as well as for benchmark 2 and benchmark 3. This should be fixed.
I just tried the min working example and it's giving me this error when I run it in jupyter. The happens for nRBC or BRC layer type (GRU training proceeds normally).
Any idea what might be the issue?
Thanks.