warp-transducer
warp-transducer copied to clipboard
error in tf2.1
in tensorflow_binding/warprnnt_tensorflow/init.py, there is a line @ops.RegisterShape("WarpRNNT")
when using tf 2.1.0, there is an error
'tensorflow.python.framework.ops' has no attribute 'RegisterShape'
I got the same error with tf2.1
Try to remove python 'RegisterShape', then add a SetShapeFn after warprnnt_op.cc:13.
Hi, I am getting the same issue. Did this work? Can anyone explain what changes are need to be done?
Hello bhaswa! I was having the same issue and i found this solution: https://github.com/noahchalifour/warp-transducer/commit/45a4a10ae9af14b7d9b25bd558be95f43ee1ba9a