_pickle.UnpicklingError: STACK_GLOBAL requires str

在运行yolo项目时,遇到这个错误:
_pickle.UnpicklingError: STACK_GLOBAL requires str_第1张图片
在网上查询了原因,是因为之前对数据集进行过训练。因此,已经有了labels.cache文件。
解决文法:找到数据集,删除labels.cache文件。

你可能感兴趣的:(python)