pan_pp.pytorch
pan_pp.pytorch copied to clipboard
执行测试文件报错,keyerror:‘img_name’
请问怎么解决啊谢谢
遇到了同样的问题,请问解决了吗
请问问题解决了嘛
在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)) 这三行代码,然后就好了。
prepare_test_data
您好,能具体说一下这个文件在哪里吗?没找到