-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: 'gbk' codec can't decode byte 0xa4 in position 7599: illegal multibyte sequence #217
Comments
setup.py Read the contents of README filewith open("README.md", encoding='utf-8') as f: |
ronghanghu
added a commit
to ronghanghu/sam2
that referenced
this issue
Aug 14, 2024
Hi @monkeycc, it seems that the Hugging Face emoji in README.md is causing trouble with gbk codec. It should be fixed in #218. For now, you can manually replace the line (https://github.com/facebookresearch/segment-anything-2/blob/0db838b11726893f151fa5826ecfa744e1a7760f/setup.py#L20) with
|
ronghanghu
added a commit
that referenced
this issue
Aug 14, 2024
xydy666
pushed a commit
to xydy666/segment-anything-2
that referenced
this issue
Sep 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: