Open cos888888 opened 1 month ago
Was the model mytrain.pt
trained using default.yaml
? Please check your configuration to ensure it has no extra arguments.
Thank you, I will check related files again.
------------------ 原始邮件 ------------------ 发件人: "THU-MIG/yolov10" @.>; 发送时间: 2024年6月10日(星期一) 晚上10:19 @.>; @.**@.>; 主题: Re: [THU-MIG/yolov10] when I load my pt file, an error occured (Issue #199)
Was the model mytrain.pt trained using default.yaml? Please check your configuration to ensure it has no extra arguments.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
when I run model = YOLOv10('mytrain.pt') , I get a error as follows:
Message= 'IterableSimpleNamespace' object has no attribute 'setstate'. This may be caused by a modified or out of date ultralytics 'default.yaml' file.
My ultralytics has installed from yolov10-master, I don't know how to deal with this problem.