yolo-tf icon indicating copy to clipboard operation
yolo-tf copied to clipboard

"Adam_1 not found" error

Open ashleyjsands opened this issue 5 years ago • 0 comments

I'm using tensorflow 1.0 (CPU) pip package and I get an "Adam_1 not found" error when I attempt to train the model.

Here are the commands that I ran to set up the model:

python3 cache.py -c config.ini config/yolo2/darknet-20.ini -v
python3 parse_darknet_yolo2.py ~/other_datasets/yolo-tf/yolo-full.weights  -c config.ini config/yolo2/darknet-20.ini -d
python3 train.py -c config.ini config/yolo2/darknet-20.ini -t ~/other_datasets/yolo-tf/yolo2/darknet/20/model.ckpt -e yolo2_darknet/conv

Here's the error:

NotFoundError (see above for traceback): Key yolo2_darknet/conv9/weights/Adam_1 not found in checkpoint
	 [[Node: save/RestoreV2_239 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_239/tensor_names, save/RestoreV2_239/shape_and_slices)]]

Here's the full log out: error.txt

Here's the contents of the checkpoint directory:

ls ~/other_datasets/yolo-tf/yolo2/darknet/20/
2018-08-22_19-40-17  checkpoint  model.ckpt.data-00000-of-00001  model.ckpt.index  model.ckpt.meta

ashleyjsands avatar Aug 22 '18 09:08 ashleyjsands