roytseng-tw / Detectron.pytorch

A pytorch implementation of Detectron. Both training from scratch and inferring directly from pretrained Detectron weights are available.
MIT License
2.82k stars 567 forks source link

UnicodeDecodeError: 'ascii' codec can't decode byte 0xf5 in position 1: ordinal not in range(128) #238

Open Yinhance opened 2 years ago

Yinhance commented 2 years ago

When I run the inference command,the error is:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xf5 in position 1: ordinal not in range(128) How to solve this problem? btw,I followed the approach to test python -c "import sys; print(sys.getdefaultencoding())", the output is ascii