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' for preprocessing #1

Closed
ys7yoo opened this issue Feb 14, 2021 · 2 comments
Closed

'UnicodeDecodeError' for preprocessing #1

ys7yoo opened this issue Feb 14, 2021 · 2 comments

Comments

@ys7yoo
Copy link
Owner

ys7yoo commented Feb 14, 2021

python3 preprocess_asap.py -i training_set_rel3.tsv
Traceback (most recent call last):
  File "preprocess_asap.py", line 44, in <module>
    dataset = collect_dataset(args.input_file)
  File "preprocess_asap.py", line 34, in collect_dataset
    for line in f:
  File "/usr/lib/python3.6/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 1539: invalid start byte
@ys7yoo
Copy link
Owner Author

ys7yoo commented Feb 14, 2021

nusnlp#11

@ys7yoo
Copy link
Owner Author

ys7yoo commented Feb 14, 2021

I'm gonna re-fork from https://github.com/tim-hub/nea.git

git remote add upstream https://github.com/tim-hub/nea.git
git fetch upstream
git rebase upstream/master
git push

@ys7yoo ys7yoo closed this as completed Feb 14, 2021
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