'utf-8' codec can't decode byte 0x80
<p>I'm trying to download BVLC-trained model and I'm stuck with this error</p>

<pre><code>UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 110: invalid start byte
</code></pre>

<p>I think it's because of the following function (<a href="https://github.com/BVLC/caffe/blob/master/scripts/download_model_binary.py" rel="noreferrer">complete code</a>)</p>

<pre><code>  # Closure-d function for checking SHA1.
  def model_checks_out(filename=model_filename, sha1=frontmatter['sha1']):
      with open(filename, 'r') as f:
          return hashlib.sha1(f.read()).hexdigest() == sha1
</code></pre>

<p>Any idea how to fix this?</p>