tensorflow.python.framework.errors_impl.OperatorNotAllowedInGraphError: using a tf.Tensor
as a Python bool
is not allowed in Graph execution. Use Eager execution or decorate this function with @tf.function.
Exception ignored in: >
Traceback (most recent call last):
File “/venv/lib/python3.6/site-packages/tensorflow_core/python/training/server_lib.py”, line 158, in del
AttributeError: ‘NoneType’ object has no attribute ‘UnimplementedError’
麻烦问下机器学习PAI,本地单机训练没问题,配了tf_config开启train_distribute: PSStrategy训练报这个错大概是啥问题?
多机的地址要先自己配置好的,默认值是个示例,此回答整理自钉群“【EasyRec】推荐算法交流群”