使用yolo的时候,训练自己的数据集,报错。尝试了各种办法,终于找到了一个可行的,记录一下。 大家可以试试,照着在命令框中输入,修改权重文件的路径
Found the solution:
Run:
"""
python -c "from utils.general import *; strip_optimizer('path/to/best.pt')"
"""
And then retrain.
This is the case when you continue training with models that have not finished training first.
参考:https://github.com/ultralytics/yolov5/issues/7379
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)