m0_57560054的博客使用python的request库,使用json.load()方法将要json字符串转dict的过程中却遇到时报错AttributeError: 'str' object has no attribute 'read'json.load():是从文件中加载内容并转换成python可执行的数据格式;...
InactionWorld的博客使用以上方法读取json文件时,报错AttributeError: 'str' object has no attribute 'read' 解决方法 import json with open('AlphaPose-pytorch/examples/res/alphapose-results.json') as f: da