Skip to content Skip to sidebar Skip to footer

How To Avoid Defining Target Tensors In Tensorflow 2 For Ctc Loss Model?

I am trying to use tf.distribute.MirroredStrategy() for multi GPU training in Tensorflow 2, on a model with CTC loss. Problem is that model needs defining target_tensors in order t

Solution 1:

This is solved by using tf-nightly version.

Tf-nightly doesn't allow using target_tensors in eager execution mode. With nightly version my model successfully compiled without target tensors (no changes in implementation), so the problem is solved.

Post a Comment for "How To Avoid Defining Target Tensors In Tensorflow 2 For Ctc Loss Model?"