From ecce92d5d8b9cc918bc75019b507e69f24389e40 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Mon, 16 Dec 2019 22:18:26 -0800 Subject: [PATCH] updates --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index 5d14c4e7..7472fa98 100644 --- a/test.py +++ b/test.py @@ -97,7 +97,7 @@ def test(cfg, if pred is None: if nl: - stats.append(([], torch.Tensor(), torch.Tensor(), tcls)) + stats.append((torch.zeros(0, 1), torch.Tensor(), torch.Tensor(), tcls)) continue # Append to text file