报错:OSError: Unable to open file (truncated file: eof = 24614474, sblock->base_addr = 0, stored_eof = 257557808):

mask R-CNN报错:OSError: Unable to open file

 

发生错误的原因可能是你的权值文件没有下载完整,数据下载地址:

源码给的下载地址:COCO_MODEL_URL = "https://github.com/matterport/Mask_RCNN/releases/download/v2.0/mask_rcnn_coco.h5"

由于自己下载经常下载不完整,这里给一个网盘资源:

链接:https://pan.baidu.com/s/1oWIyRW77081FNKh83RSnkQ
提取码:t02k 

修改后可以自然运行:

mask R-CNN报错:OSError: Unable to open file

 

相关文章:

  • 2021-09-26
猜你喜欢
  • 2021-12-20
  • 2021-11-05
  • 2021-08-12
  • 2021-10-17
  • 2022-12-23
  • 2021-10-06
  • 2021-08-15
相关资源
相似解决方案