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

'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128) #43

Open
mynbo opened this issue Dec 20, 2021 · 1 comment

Comments

@mynbo
Copy link

mynbo commented Dec 20, 2021

Traceback (most recent call last):
File "/home/byang/gnrt/tranX/exp.py", line 569, in
train(args)
File "/home/byang/gnrt/tranX/exp.py", line 47, in train
train_set = Dataset.from_bin_file(args.train_file)
File "/home/byang/gnrt/tranX/components/dataset.py", line 33, in from_bin_file
examples = pickle.load(open(file_path, 'rb'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128)

Have any suggestions for this problem?
the datasets downloading from http://www.cs.cmu.edu/~pengchey/tranx.0.2.0.zip.
and the tranx.0.2.1.zip.

the above dataset both have the Error ."ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128)"

@mynbo
Copy link
Author

mynbo commented Dec 21, 2021

This error appear on all datasets except conala

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