crfasrnn icon indicating copy to clipboard operation
crfasrnn copied to clipboard

This implementation has not been tested batch size > 1

Open matthiasmace opened this issue 7 years ago • 2 comments
trafficstars

Hi @bittnt I am trying to train with my own data following Martin Kresner's https://github.com/martinkersner/train-CRF-RNN lmdb creation is OK nut when I make 'python2.7 solve.py 2>&1 | tee train.log', it gives me the error above. As you can see, batch_size =1 ! WHat should I do ?

train.log mentionned.

matthiasmace avatar Nov 23 '17 16:11 matthiasmace

Initially, we did not test the batch_size>1, so we have set that code would throw an error if you use batch_size>1. But, feel free to comments that in the code and play with this at your own risk.

bittnt avatar Nov 25 '17 06:11 bittnt

@bittnt I do use batch_size = 1 !!! In fact, the log shows a "Bus error: 10" after this line. And when I comment, I cannot compile...

matthiasmace avatar Nov 25 '17 16:11 matthiasmace