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

执行测试文件报错,keyerror:‘img_name’ #99

Open
lyx-0213 opened this issue Jul 12, 2022 · 4 comments
Open

执行测试文件报错,keyerror:‘img_name’ #99

lyx-0213 opened this issue Jul 12, 2022 · 4 comments

Comments

@lyx-0213
Copy link

请问怎么解决啊谢谢

@xingchen-yao
Copy link

遇到了同样的问题,请问解决了吗

@wuhengliangliang
Copy link

请问问题解决了嘛

@tiamjiakun
Copy link

tiamjiakun commented Oct 13, 2022

在pan_ic15.py中的‘prepare_test_data’方法(第441行之后)中添加
img_name = img_path.split("/")[-1]
img_meta.update(dict(img_path=img_path))
img_meta.update(dict(img_name=img_name))
这三行代码,然后就好了。

@zeng-cy
Copy link

zeng-cy commented Nov 22, 2022

prepare_test_data

您好,能具体说一下这个文件在哪里吗?没找到

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

5 participants