huangyhg 发表于 2023-1-7 09:59:41

KeyError: "weights/best.pt is not compatible with models/yolov5x.yaml.

Bot: Specify --weights to load a compatible weights file."

This error indicates that the weights file you are trying to load is not compatible with the model configuration you are using. You should use the --weights option when running the program to specify a compatible weights file.

huangyhg 发表于 2023-1-7 10:00:19

KeyError: "weights/best.pt is not compatible with models/yolov5x.yaml. This may be due to model differences or weights/best.pt may be out of date. Please delete or update weights/best.pt and try again, or use --weights '' to train from scratch."
页: [1]
查看完整版本: KeyError: "weights/best.pt is not compatible with models/yolov5x.yaml.