I am using weights = torch.load('file_name.pt')
to read weights from a .pt file because I want to use the weights obtained to implement this neural network. When I do this and display the weights by calling weights
, there are some weights which are not completely displayed and shortened by ellipsis. How do I read all the weight values in the .pt files? Is there any way in by which I can print the values a particular layer like L2.0.weight?
Thanks!