corrected numpy printoptions
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ import torch.nn.functional as F
|
||||
|
||||
# Set printoptions
|
||||
torch.set_printoptions(linewidth=1320, precision=5, profile='long')
|
||||
np.set_printoptions(linewidth=320, formatter={'float_kind': '{11.5g}'.format}) # format short g, %precision=5
|
||||
np.set_printoptions(linewidth=320, formatter={'float_kind': '{:11.5g}'.format}) # format short g, %precision=5
|
||||
|
||||
|
||||
def load_classes(path):
|
||||
|
||||
Reference in New Issue
Block a user