This commit is contained in:
Glenn Jocher
2019-08-23 12:57:26 +02:00
parent ff7f73b642
commit 0d71fd8228
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ from . import torch_utils # , google_utils
matplotlib.rc('font', **{'size': 11})
# Set printoptions
torch.set_printoptions(linewidth=1320, precision=5, profile='long')
torch.set_printoptions(linewidth=320, precision=5, profile='long')
np.set_printoptions(linewidth=320, formatter={'float_kind': '{:11.5g}'.format}) # format short g, %precision=5
# Prevent OpenCV from multithreading (to use PyTorch DataLoader)