text-classification-models-tf
text-classification-models-tf copied to clipboard
Got this trouble running on Google Cloud Platform TPU
Tensorflow 2.x Python 3.7.3
Traceback (most recent call last):
File "train3.py", line 74, in _distributed_apply()
instead of "
RuntimeError: Use _distributed_apply()
instead of apply_gradients()
in a cross-replica context.
Shared too on stackoverflow:https://stackoverflow.com/questions/61704387/wordcnn-trouble-with-distributed-apply-and-apply-gradients