Unable to open table file ..\data\model_ckpt: Unknown: NewRandomAccessFile failed to Create/Open:

Unable to open table file ..\data\model_ckpt: Unknown: NewRandomAccessFile failed to Create/Open:

这里是因为加载模型,但是目录文件夹下并不存在保存的模型,
下载指定额模型放到data目录下,并修改checkpoint的目录为..\data\model.chpt
下载模型解压如下 :

$ ll ssd_mobilenet_v1_coco_2017_11_17/
total 58153
-rw-r--r-- 1 sh04595 1049089       77 1118 12:01 checkpoint
-rw-r--r-- 1 sh04595 1049089 29112121 1118 12:01 frozen_inference_graph.pb
-rw-r--r-- 1 sh04595 1049089 27380740 1118 12:01 model.ckpt.data-00000-of-00001
-rw-r--r-- 1 sh04595 1049089     8937 1118 12:01 model.ckpt.index
-rw-r--r-- 1 sh04595 1049089  3038417 1118 12:01 model.ckpt.meta
drwxr-xr-x 1 sh04595 1049089        0 320 15:13 saved_model/

ssd_mobilenet_v1_pets.config 配置checkpoint如下:

  fine_tune_checkpoint: "E:\\tensorflow-relevant-download\\light_dection\\ssd_mobilenet_v1_coco_2017_11_17\\model.ckpt"
  from_detection_checkpoint: true

你可能感兴趣的:(tensorflow)