I found the the weights model of vgg/resnet is supported in “**.pth”, and I always use other weights as npy. I wonder what’s the difference between them and can I use npy or h5 as the weights model.
file.npy is a saved numpy array, you can load it with np.load('file.npy')
while file.pth is a saved torch tensor, that you can load with torch.load('file.pth')
wow,I understand, thanks!