尝试打包一个图形化界面,运行识别的时候报错RuntimeError,如何解决?

尝试打包一个YOYLOV5的图形化界面,结果完成后,真的只有一个界面,运行识别的时候报错RuntimeError: Expected one of cpu, cuda, xpu, mkldnn, opengl, opencl, ideep, hip, msnpu, xla, vulkan device type at start of device string: coda
找了半天不知道该怎么改,求指教,非常感谢

img

别打包成一个exe文件试试,打包成文件形式