举个例子简单介绍下训练英文和数字的数据处理方式
(1)CHAR_VECTOR = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-'.!?,""
图片命名为下面两串字符
(2)batch_y:['abdominoscope' 'abducent']
batch_dt:(array([[ 0, 0],
[ 0, 1],
[ 0, 2],
[ 0, 3],
[ 0, 4],
[ 0, 5],
[ 0, 6],
[ 0, 7],
[ 0, 8],
[ 0, 9],
[ 0, 10],
[ 0, 11],
[ 0, 12],
[ 1, 0],
[ 1, 1],
[ 1, 2],
[ 1, 3],
[ 1, 4],
[ 1, 5],
[ 1, 6],
[ 1, 7]], dtype=int64), array([10, 11, 13, 24, 22, 18, 23, 24, 28, 12, 24, 25, 14, 10, 11, 13, 30,
12, 14, 23, 29]), array([ 2, 13], dtype=int64))
batch_x:为(bath_size, 100, 32, 1)的图片
train_batches.append((batch_y, batch_dt, batch_x))