xmojiao / deeplab_v2

基于v2版本的deeplab,使用VGG16模型,在VOC2012,Pascal-context,NYU-v2等多个数据集上进行训练
162 stars 103 forks source link

segmentation fault (core dumped)?(when running run_densecrf) #2

Open lixiang-ucas opened 7 years ago

lixiang-ucas commented 7 years ago

when running run_densecrf, got the following error: segmentation fault (core dumped)

xmojiao commented 6 years ago

You should see how your ppm data is converted. I have also encountered this problem, and I have used three methods to convert ppm data. I upload the jpg2ppm.sh script I used. Hope this can help you.

LiXiTHU commented 6 years ago

I also got the same error when running run_densecrf, even I used your pg2ppm.sh script: segmentation fault (core dumped) What else problem caused this?

xmojiao commented 6 years ago

@LiXiTHU @lixiang-ucas 这个问题我当时解决了很久,就是ppm文件的问题,多试几种转换ppm文件的方法

wangleihitcs commented 5 years ago

It is PPM's problems. Use matlab to trans .jpg to .ppm. SaveJpgToPPM.m then run at terminal: matlab -nodesktop -nosplash -r SaveJpgToPPM