title: Problems loading model; Pytorch
body: <p>I am trying to load a model I saved with the following and it gives me this error:</p>
  <pre><code>import torch
  
  model = torch.load('./grunet.pkl')
  model.eval()
  </code></pre>
  <p>This is the error:</p>
  <pre><code>  Traceback (most recent call last):
    File &quot;.\eval.py&quot;, line 4, in &lt;module&gt;
      model.eval()
    AttributeError: 'NoneType' object has no attribute 'eval'
  </code></pre>
  <p>Please help!</p>