corrected numpy printoptions
This commit is contained in:
parent
0058431e2e
commit
bce94f6ade
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue