I set batchsize=1,but code have problem. I do not why? 