I have abc.pth file which is a feature file. I want to determine the shape/dimension of this file through google colab. how to load it and determine its shape?
path="/path/to/abc.pth"
import torch a=torch.load(path) a.size()

and it will output the tensor

torch.Size([1, 2048, 19, 29])
How to determine shape of .pth file in google colab