Screenshot-to-code
Screenshot-to-code copied to clipboard
ValueError: GRU(reset_after=False) is not compatible with GRU(reset_after=True)
Stack Overflow https://stackoverflow.com/questions/63630129/valueerror-grureset-after-false-is-not-compatible-with-grureset-after-true
Modify the data generator function as: yield ([array(Ximages), array(XSeq)], array(y)) instead of yield [[array(Ximages), array(XSeq)], array(y)]
Reference: https://github.com/tensorflow/tensorflow/issues/42038