title: How to open pretrained models in python
body: <p>Hi I'm trying to load some pretrained models from <code>.sav</code> files and so far nothing is working. The models were originally made in pytorch and when I open the raw file in vs-code I can see that all the appropiate information was stored correctly.</p>
  
  <p>I've tried the following libraries:</p>
  
  <p><code>sklearn.externals.joblib</code></p>
  
  <p><code>pickle</code></p>
  
  <p><code>scipy.io</code></p>
  
  <p><code>pyreadstat</code></p>
  
  <p>Each library either gave me an error (such as <code>wrong timestamp</code> or <code>signature mismatch</code>) or just return an <code>int</code> instead of a python object.</p>
  
  <p>The models can be downloaded from <a href="http://bergerlab-downloads.csail.mit.edu/bepler-protein-sequence-embeddings-from-structure-iclr2019/pretrained_models.tar.gz" rel="nofollow noreferrer">this link</a>.</p>