torrvision / crfasrnn

This repository contains the source code for the semantic image segmentation method described in the ICCV 2015 paper: Conditional Random Fields as Recurrent Neural Networks. http://crfasrnn.torr.vision/
Other
1.34k stars 462 forks source link

This implementation has not been tested batch size > 1 #149

Open matthiasmace opened 7 years ago

matthiasmace commented 7 years ago

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.

bittnt commented 7 years ago

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.

matthiasmace commented 7 years ago

@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...