Reading weights from model_best.pth.tar

Hi,

I have the model_best.pth.tar file from my trained PyTorch model. I want to save these weights into a numpy file or be able to read it so that I can load it into my Tensorflow model.
Could anyone please tell me how I can do this?

Thanks in advance!

You should extract the .tar file first and then load the model/state_dict.
Serialization semantics