coco-text icon indicating copy to clipboard operation
coco-text copied to clipboard

Creating tfrecord for the dataset

Open aicaffeinelife opened this issue 6 years ago • 0 comments

Hi,

I'm currently trying to train the coco-text dataset with the Tensorflow object detection API. I would like to discuss here how to create a script that allows us to interface with the TF object detection API. Please note that I'm able to parse the tfrecords generated by my own script in a graph session. With the TF Object detection API I end up getting:

ConcatOp : Dimensions of inputs should match: shape[0] = [1,46] vs. shape[1] = [1,23]
	 [[Node: concat = ConcatV2[N=4, T=DT_FLOAT, Tidx=DT_INT32, _device="/job:localhost/replica:0/task:0/device:CPU:0"](ExpandDims, ExpandDims_1, ExpandDims_2, ExpandDims_3, Equal_4/y)]]

I'm wondering what could be the issue and how to solve it, since the error doesn't say much.

aicaffeinelife avatar Apr 03 '18 20:04 aicaffeinelife