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

关于运行pysot-toolkit test.py #145

Open
huade2022 opened this issue Mar 25, 2024 · 1 comment
Open

关于运行pysot-toolkit test.py #145

huade2022 opened this issue Mar 25, 2024 · 1 comment

Comments

@huade2022
Copy link

运行 python -u pysot_toolkit/test.py --dataset GOT-10k --name 'transt'出错
pysot_toolkit/..
Traceback (most recent call last):
File "pysot_toolkit/test.py", line 225, in
main()
File "pysot_toolkit/test.py", line 52, in main
load_img=False)
File "/media/ygh/EXTERNAL_USB/huade/TransT-main/pysot_toolkit/toolkit/datasets/init.py", line 38, in create_dataset
dataset = GOT10kDataset(**kwargs)
File "/media/ygh/EXTERNAL_USB/huade/TransT-main/pysot_toolkit/toolkit/datasets/got10k.py", line 59, in init
meta_data = json.load(f)
File "/home/ygh/anaconda3/envs/transt/lib/python3.7/json/init.py", line 293, in load
return loads(fp.read(),
File "/home/ygh/anaconda3/envs/transt/lib/python3.7/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd1 in position 8: invalid continuation byte

@huade2022
Copy link
Author

请问这个错误是什么原因?是因为json文件无法正常读取吗?

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