Wendy-Fly commited on
Commit
be8b625
·
verified ·
1 Parent(s): 655a711

Upload infer_3.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. infer_3.py +1 -1
infer_3.py CHANGED
@@ -43,7 +43,7 @@ save_data = []
43
  correct_num = 0
44
  begin = 0
45
  end = len(data)
46
- batch_size = 2
47
  for batch_idx in tqdm(range(begin, end, batch_size)):
48
  batch = data[batch_idx:batch_idx + batch_size]
49
 
 
43
  correct_num = 0
44
  begin = 0
45
  end = len(data)
46
+ batch_size = 1
47
  for batch_idx in tqdm(range(begin, end, batch_size)):
48
  batch = data[batch_idx:batch_idx + batch_size]
49