Skip to content

Commit 3f2fc55

Browse files
committed
fix logging of large confusion matrices
1 parent d033748 commit 3f2fc55

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/loop

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ def main():
110110
os.environ['TF_DETERMINISTIC_OPS']=FLAGS.deterministic
111111
os.environ['TF_DISABLE_SPARSE_SOFTMAX_XENT_WITH_LOGITS_OP_DETERMINISM_EXCEPTIONS']=FLAGS.deterministic
112112

113+
np.set_printoptions(linewidth=np.inf)
114+
113115
if FLAGS.igpu:
114116
physical_devices = tf.config.list_physical_devices('GPU')
115117
if re.search('[a-zA-Z]', FLAGS.igpu):

0 commit comments

Comments
 (0)