jyopari / VINN

45 stars 11 forks source link

UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 64: illegal multibyte sequence #4

Open hean-oops opened 1 week ago

hean-oops commented 1 week ago

When running handle_nn.py in the project using PyCharm, I encountered the issue mentioned in the title. Even after specifying the encoding method, the problem still persists. How can I resolve this?

notmahi commented 1 week ago

Hi, it's hard to tell us from just the error message what the fix could be. Could you tell us what your python version is, as well as what are the packages you have installed currently.

For the first one, you can use the command python -V, and the second one you can run pip freeze.

hean-oops commented 1 week ago

hello, my python version is Python 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)] on win32, and packages are "accelerate==0.34.2 asgiref==3.8.1 bc==0.0.1 beartype==0.18.5 byol-pytorch==0.8.2 certifi==2024.8.30 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 contourpy==1.3.0 cycler==0.12.1 Django==4.2.16 docker-pycreds==0.4.0 filelock==3.16.1 fonttools==4.54.1 fsspec==2024.9.0 gitdb==4.0.11 GitPython==3.1.43 huggingface-hub==0.25.0 idna==3.10 image==1.5.33 importlib_resources==6.4.5 Jinja2==3.1.4 kiwisolver==1.4.7 MarkupSafe==2.1.5 matplotlib==3.9.2 mpmath==1.3.0 networkx==3.2.1 numpy==1.23.0 opencv-python==4.10.0.84 packaging==24.1 pillow==10.4.0 platformdirs==4.3.6 protobuf==5.28.2 psutil==6.0.0 pyparsing==3.1.4 python-dateutil==2.9.0.post0 PyYAML==6.0.2 requests==2.32.3 safetensors==0.4.5 sentry-sdk==2.14.0 setproctitle==1.3.3 six==1.16.0 smmap==5.0.1 sqlparse==0.5.1 sympy==1.13.3 torch==1.10.0 torchaudio==0.10.0 torchvision==0.11.1 tqdm==4.66.5 typing_extensions==4.12.2 tzdata==2024.2 urllib3==2.2.3 wandb==0.18.1 zipp==3.20.2" thankyou~