Error indices[0] = 0 is not in [0, 0) while training an object-detection model with tensorflow
I had the same issue using the centernet_mobilenetv2 model, but I just deleted the num_keypoints parameter in the pipeline.config file and then all was working fine. I don't know what is the problem with that parameter but I was able to run the training without it.
So I am currently attempting to train a custom object-detection model on tensorflow to recognize images of a raspberrypi2. Everything is already set up and running on my hardware,but due to limitations of my gpu I settled for the cloud. I have uploaded my data(train & test records ans csv-files) and my checkpoint model. That is what I get from the logs:
tensorflow:Restoring parameters from /mobilenet/model.ckpt 
tensorflow:Starting Session. 
tensorflow:Saving checkpoint to path training/model.ckpt 
tensorflow:Starting Queues.
tensorflow:Error reported to Coordinator: <class tensorflow.python.framework.errors_impl.InvalidArgumentError'>,
indices[0] = 0 is not in [0, 0)
I also have a folder called images with the actual .jpg files and it is also on the cloud, but for some reason I must specify every directory with a preceeding forward slash / and that might be a problem, as I currently do not know whether some of the files are trying to import these images ,but could not find the path because of the missing /.
If any of you happens to share a solution I would be really thankful.
EDIT : I fixed it by downloading an older version of the models folder in tensorflow and the model started training, so note to the tf team.