edvardHua/PoseEstimationForMobile

error,pred_image_on_tensorboard = True

guker opened this issue · 0 comments

guker commented

for index in range(params['batchsize']):

when pred_image_on_tensorboard = True,error as fllow:

IndexError: index 11 is out of bounds for axis 0 with size 11

I have solve it as follow:

dataset = dataset.batch(batch_size).repeat(epoch)

dataset = dataset.repeat(epoch).batch(batch_size)