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

Fix problem "UnicodeDecodeError: 'ascii' codec can't decode byte 0x8e in position 0: ordinal not in range(128)" #59

Open
ToToVa06 opened this issue May 20, 2022 · 0 comments

Comments

@ToToVa06
Copy link

Hello everyone,

I decided to create this issue because I found a solution to the following error: "UnicodeDecodeError: 'ascii' codec can't decode byte 0x8e in position 0: ordinal not in range(128)".
To avoid this error, you just have to look at the documentation https://pytorch.org/docs/master/generated/torch.load.html#torch.load for torch.load and see in the note part that you have to add the argument encoding='latin1'. So, replace in the codes visualize.py and scannetv2_instance.py the torch.load(i) by torch.load(i,encoding='latin1'). Normally, the problem will be solved.

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