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

UnicodeDecoderError in win10 #4

Open
wumy27 opened this issue Jun 14, 2020 · 0 comments
Open

UnicodeDecoderError in win10 #4

wumy27 opened this issue Jun 14, 2020 · 0 comments

Comments

@wumy27
Copy link

wumy27 commented Jun 14, 2020


> E:\DOTA_dataset\coco2017>python voc2coco.py  --ann_dir annotations/train_xml --ann_ids train.txt --labels labels.txt --output train2017.json --ext xml
> Traceback (most recent call last):
>   File "voc2coco.py", line 151, in <module>
>     main()
>   File "voc2coco.py", line 140, in main
>     annpaths_list_path=args.ann_paths_list
>   File "voc2coco.py", line 32, in get_annpaths
>     ann_ids = f.read().split()
> UnicodeDecodeError: 'gbk' codec can't decode byte 0xff in position 0: illegal multibyte sequence

can anyone help me?

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