1.
问题:
执行train.py,Command 'git tag' returned non-zero exit status 128.
原因:
使用预训练权重,但路径错误,未找到本地预训练权重,它会自动下载,下载被墙
解决方法:
从github下载对应预训练权重放入本地或者不使用预训练权重
2.
问题:
执行test.py,
tag = subprocess.check_output('git tag', shell=True).decode().split()[-1]
IndexError: list index out of range
原因:
pt文件路径中不能有大写字母
解决方法:
去掉评估权重路径中的大写字母