Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError #4

Open
fjhheras opened this issue Nov 27, 2016 · 0 comments
Open

UnicodeDecodeError #4

fjhheras opened this issue Nov 27, 2016 · 0 comments

Comments

@fjhheras
Copy link

I have this error when running the notebook with "jupyter notebook"

UnicodeDecodeError                        Traceback (most recent call last)
<ipython-input-8-42c04a259fe9> in <module>()
      1 file = open(train_datasets[0])
----> 2 train_A = pickle.load(file)
      3 train_A.shape

/usr/lib/python3.5/codecs.py in decode(self, input, final)
    319         # decode input (taking the buffer into account)
    320         data = self.buffer + input
--> 321         (result, consumed) = self._buffer_decode(data, self.errors, final)
    322         # keep undecoded input until the next call
    323         self.buffer = data[consumed:]

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant