TextSummary icon indicating copy to clipboard operation
TextSummary copied to clipboard

TypeError: sampled_loss() got an unexpected keyword argument 'logits'

Open belle9217 opened this issue 5 years ago • 2 comments

when i run predict.py,there is a mistake:TypeError: sampled_loss() got an unexpected keyword argument 'logits'.I think it's a model paramater mistake,but I can't find where it is,can you help me?

belle9217 avatar Sep 17 '19 02:09 belle9217

It should be a problem with the TensorFlow version. Check that the version is TF 1.0.0

1148270327 avatar Sep 19 '19 09:09 1148270327

ok,thanks~

belle9217 avatar Sep 23 '19 03:09 belle9217