From 4e6edc3274a4aa2dbd86dbe58b8567bf9e40870f Mon Sep 17 00:00:00 2001 From: thomwolf Date: Tue, 18 Jun 2019 16:57:15 +0200 Subject: [PATCH] hop --- examples/run_classifier.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/run_classifier.py b/examples/run_classifier.py index 2667b82d72..b2acffe0c3 100644 --- a/examples/run_classifier.py +++ b/examples/run_classifier.py @@ -443,7 +443,7 @@ def main(): nb_eval_steps += 1 if len(preds) == 0: preds.append(logits.detach().cpu().numpy()) - out_label_ids = label_ids.detach().cpu().numpy()) + out_label_ids = label_ids.detach().cpu().numpy() else: preds[0] = np.append( preds[0], logits.detach().cpu().numpy(), axis=0) @@ -523,7 +523,7 @@ def main(): nb_eval_steps += 1 if len(preds) == 0: preds.append(logits.detach().cpu().numpy()) - out_label_ids = label_ids.detach().cpu().numpy()) + out_label_ids = label_ids.detach().cpu().numpy() else: preds[0] = np.append( preds[0], logits.detach().cpu().numpy(), axis=0)