windows如何查看jdk安装目录
Leee52:
我运行的时候出现读模型错误,最后确定是linux训练的模型里面用到了Posix格式的地址,然后读模型里面信息的时候,Windows下不支持使用PosixPath,Windows直接是基类Path或者pathlib.WindowsPath,然后出错,最后我直接改了pathlib.py文件
yolov5-master\models\experimental.py", line 204, in attempt_load
raise RuntimeError(f"无法加载模型权重: {inner_e}")
RuntimeError: 无法加载模型权重: persistent IDs in protocol 0 must be ASCII strings