Closed aetherealtea closed 6 years ago
I'm curious about this line
File "/opt/project/models/lstm_crf/main.py", line 117, in model_fn 'precision': tf.metrics.precision(tags, pred_ids, num_tags, indices, weights),
it does seem that you changed the code?
You need to use tf_metrics
as explained in the README.md (or just comment the metric lines) if you don't care about real-time metrics.
Double-checked tf_metrics, it solved the problem, thank you.
I would be grateful if you could help me with this problem. I tried to execute model training with example data and received the error:
I'm using Docker with tensorflow:latest-gpu-py3.