参考了不少文章,最后采纳该文章解决
https://www.cnblogs.com/longyi8013/p/15098275.html
报错处改为
with open(opt.hyp, encoding = 'gb2312') as f:
hyp = yaml.load(f, Loader=yaml.FullLoader) # load hyps
参考了不少文章,最后采纳该文章解决
https://www.cnblogs.com/longyi8013/p/15098275.html
报错处改为
with open(opt.hyp, encoding = 'gb2312') as f:
hyp = yaml.load(f, Loader=yaml.FullLoader) # load hyps