Open xkungfu opened 3 years ago
训练时报了几错,不知道是不是和这些有关:
WARNING:tensorflow:Estimator's model_fn (<function model_fn_builder.<locals>.model_fn at 0x7fe7fc064268>) includes params argument, but params are not passed to Estimator.
W1110 13:13:09.330218 140635727812416 estimator.py:1984]
Estimator's model_fn (<function model_fn_builder.<locals>.model_fn at 0x7fe7fc064268>) includes params argument, but params are not passed to Estimator.
WARNING:tensorflow:Entity <bound method Dense.call of <tensorflow.python.layers.core.Dense object at 0x7f05bb3e4630>> could not be transformed and will be executed as-is. Please report this to the AutgoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: converting <bound method Dense.call of <tensorflow.python.layers.core.Dense object at 0x7f05bb3e4630>>: AttributeError: module 'gast' has no attribute 'Index'
W1110 16:03:36.983110 139664391046976 ag_logging.py:145] Entity <bound method Dense.call of <tensorflow.python.layers.core.Dense object at 0x7f05bb3e4630>> could not be transformed and will be executed as-is. Please report this to the AutgoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: converting <bound method Dense.call of <tensorflow.python.layers.core.Dense object at 0x7f05bb3e4630>>: AttributeError: module 'gast' has no attribute 'Index'
INFO:tensorflow:examples/sec: 1.36873
I1110 16:17:57.313254 139664391046976 tpu_estimator.py:2160] examples/sec: 1.36873
WARNING:tensorflow:It seems that global step (tf.train.get_global_step) has not been increased. Current value (could be stable): 143 vs previous value: 143. You could increase the global step by passing tf.train.get_global_step() to Optimizer.apply_gradients or Optimizer.minimize.
W1110 16:17:57.313455 139664391046976 basic_session_run_hooks.py:724] It seems that global step (tf.train.get_global_step) has not been increased. Current value (could be stable): 143 vs previous value: 143. You could increase the global step by passing tf.train.get_global_step() to Optimizer.apply_gradients or Optimizer.minimize.
训练和模型导出终于完成了,但是最后测试结果不对。请问可能是什么原因?