Commit cf60559f authored by npapernot's avatar npapernot
Browse files

fix import errors

parent 7f351c62
...@@ -240,7 +240,7 @@ def main(unused_argv): ...@@ -240,7 +240,7 @@ def main(unused_argv):
counts_mat = np.zeros((n, 10)).astype(np.int32) counts_mat = np.zeros((n, 10)).astype(np.int32)
for i in range(n): for i in range(n):
for j in range(num_teachers): for j in range(num_teachers):
counts_mat[i, input_mat[j, i]] += 1 counts_mat[i, int(input_mat[j, i])] += 1
n = counts_mat.shape[0] n = counts_mat.shape[0]
num_examples = min(n, FLAGS.max_examples) num_examples = min(n, FLAGS.max_examples)
......
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