"tools/git@developer.sourcefind.cn:OpenDAS/torchaudio.git" did not exist on "1706a72fa5762a1666896457426d6aa703b7f609"
Commit 3fab0abd authored by Hongkun Yu's avatar Hongkun Yu Committed by A. Unique TensorFlower
Browse files

Fix xlnet run_classifier.

PiperOrigin-RevId: 280516666
parent 3af667fd
......@@ -91,9 +91,7 @@ def run_evaluation(strategy,
_test_step_fn, args=(next(test_iterator),))
return logits, labels, masks
# pylint: disable=protected-access
test_iterator = data_utils._get_input_iterator(test_input_fn, strategy)
# pylint: enable=protected-access
test_iterator = data_utils.get_input_iterator(test_input_fn, strategy)
correct = 0
total = 0
for _ in range(eval_steps):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment