This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
TypeError: __call__() got an unexpected keyword argument 'training' #471
Comments
I have the same issue and stuck with it. Did you fix that? |
Hey, did you solve it? |
Same problem as well. In my case I was using keras sub classing for creating the model. |
SOLUTION FOR THIS ISSUEIn my case I'm subclassing the keras Model class, just as an example:
Running this I got this error:
Hope this helps |
Thanks!..I did the same |
I think you need to define your custom call function as : def call(self, inputs):
<do stuff>
return output If you use |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello I have issue in using dynamic_decode in tfa as below with tensorflow 2.X
I really appreciate if anyone have already resolved this issue as I have spent last 4 hours in it but still no solution out there.
The text was updated successfully, but these errors were encountered: