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: 'ascii' codec can't decode byte 0xdf in position 0: ordinal not in range(128) #8

Open
sumhncku opened this issue Jul 6, 2018 · 1 comment

Comments

@sumhncku
Copy link

sumhncku commented Jul 6, 2018

Hi,
When I run the neuralTensorNetwork.py file, I have encountered this problem:
I use Python 3.6.

Traceback (most recent call last):
File "neuralTensorNetwork.py", line 764, in
neuralTensorNetwork()
File "neuralTensorNetwork.py", line 710, in neuralTensorNetwork
word_indices, num_words = getWordIndices('wordIndices.p')
File "neuralTensorNetwork.py", line 591, in getWordIndices
word_dictionary = pickle.load(open(file_name, 'rb'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xdf in position 0: ordinal not in range(128)

Does anyone know how to solve it?

Thanks.

@NerdTsai
Copy link

NerdTsai commented Jan 8, 2019

python27

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

2 participants