Loading PyTorch model from TF checkpoint

I had a similar problem and this helped Getting an error “UnpicklingError: invalid load key, 'v'.” in Pytorch model deploying in Streamlit - #3 by Anubhav1107 - PyTorch Forums