浏览器输入地址时,报错打不开h5文件

在视图中有函数upload_handle,在upload_handle函数中用到了另外一个py文件,该文件用keras训练好的模型可提取出车牌。 可是在浏览器输入网址时,却报错Exception Value:
Unable to open file (Unable to open file: name = 'model/model12.h5', errno = 2, error message = 'no such file or directory', flags = 0, o_flags = 0) Exception Location: D:\Anaconda\lib\site-packages\h5py_hl\files.py in make_fid, line 92。如果有人会解决这个错误的话,还请滴我一下,困扰了好久了,谢谢!!

评论 1