tarbaevbb / wnd-charm

Automatically exported from code.google.com/p/wnd-charm
0 stars 0 forks source link

wndchrm classify command gives seg fault, wndchrm test command gives seg fault #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
 on lgchrm15 attempt proper classify command with two .fit files:
[eckleyd@lgchrm15 ~]$ wndchrm classify -l 
/home/eckleyd/ImageData/TimeCourseFacing/FacingL.fit 
/home/eckleyd/WholeWormTest/

What is the expected output? (I used an older version of wndchrm to get it to 
work)

[eckleyd@lgchrm15 wndchrm-1.31.251]$ ./wndchrm classify -l 
/home/eckleyd/ImageData/TimeCourseFacing/FacingL.fit 
/home/eckleyd/WholeWormTest/
Processing training set '/home/eckleyd/ImageData/TimeCourseFacing/FacingL.fit'.
----------
Summary of '/home/eckleyd/ImageData/TimeCourseFacing/FacingL.fit' (698 samples 
total, 1 samples per image):
'Class label' (interpreted value) number of samples.
'01'    (1) 100
'02.5'  (2.5)   65
'04'    (4) 70
'05'    (5) 83
'06'    (6) 91
'07'    (7) 71
'08'    (8) 107
'11'    (11)    111
Class labels are purely numeric
----------
Processing test set '/home/eckleyd/WholeWormTest/'.
Processing directory '/home/eckleyd/WholeWormTest/1'
Processing image file '/home/eckleyd/WholeWormTest/1/TestImages0000.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImages0000-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImages0001.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImages0001-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImages0002.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImages0002-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImages0003.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImages0003-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImages0004.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImages0004-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImages0005.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImages0005-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImages0006.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImages0006-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImages0007.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImages0007-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImages0008.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImages0008-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImages0009.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImages0009-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImages0010.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImages0010-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImagesday50000.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImagesday50000-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImagesday50001.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImagesday50001-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImagesday50002.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImagesday50002-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImagesday50003.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImagesday50003-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImagesday50004.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImagesday50004-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImagesday50005.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImagesday50005-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImagesday50006.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImagesday50006-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImagesday50007.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImagesday50007-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImagesday50008.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImagesday50008-l.sig' read in.
Processing image file '/home/eckleyd/WholeWormTest/1/TestImagesday50009.tif'.
Sig '/home/eckleyd/WholeWormTest/1/TestImagesday50009-l.sig' read in.
----------
Summary of '/home/eckleyd/WholeWormTest' (21 samples total, 1 samples per 
image):
Single class '1' with 21 samples. Suitable as a test/classification set only.
----------
Max balanced training: 65
samples per image=1, training images: 65, testing images 0

----------
image   norm. fact. p(01)   p(02.5) p(04)   p(05)   p(06)   p(07)   p(08)   p(11)   act. 
class   pred. class pred. val.
/home/eckleyd/WholeWormTest/1/TestImages0000.tif    1.01e-24    0.005   0.002   0.006   0.21
1   0.005   0.021   0.699   0.051   1*  08  7.425
/home/eckleyd/WholeWormTest/1/TestImages0001.tif    1.05e-24    0.004   0.002   0.005   0.17
1   0.005   0.020   0.744   0.048   1*  08  7.539
/home/eckleyd/WholeWormTest/1/TestImages0002.tif    4.49e-24    0.001   0.001   0.001   0.43
6   0.002   0.007   0.526   0.026   1*  08  6.744
/home/eckleyd/WholeWormTest/1/TestImages0003.tif    1.06e-19    0.584   0.080   0.000   0.00
0   0.335   0.000   0.000   0.000   1*  01  2.798
/home/eckleyd/WholeWormTest/1/TestImages0004.tif    5.05e-20    0.529   0.261   0.000   0.00
0   0.209   0.000   0.000   0.001   1*  01  2.444
/home/eckleyd/WholeWormTest/1/TestImages0005.tif    2.34e-21    0.325   0.038   0.000   0.00
0   0.636   0.000   0.000   0.000   1*  06  4.242
/home/eckleyd/WholeWormTest/1/TestImages0006.tif    2.85e-20    0.711   0.012   0.000   0.00
0   0.277   0.000   0.000   0.000   1*  01  2.402
/home/eckleyd/WholeWormTest/1/TestImages0007.tif    5.08e-22    0.631   0.065   0.001   0.00
0   0.299   0.000   0.000   0.003   1*  01  2.630
/home/eckleyd/WholeWormTest/1/TestImages0008.tif    1.58e-21    0.451   0.063   0.000   0.00
0   0.485   0.000   0.000   0.000   1*  06  3.525
/home/eckleyd/WholeWormTest/1/TestImages0009.tif    1.01e-20    0.488   0.024   0.000   0.00
0   0.487   0.000   0.000   0.000   1*  01  3.475
/home/eckleyd/WholeWormTest/1/TestImages0010.tif    9.54e-20    0.267   0.480   0.000   0.00
0   0.253   0.000   0.000   0.000   1*  02.5    2.989
/home/eckleyd/WholeWormTest/1/TestImagesday50000.tif    5.5e-21 0.018   0.200   0.123   0
.001    0.033   0.002   0.008   0.614   1*  11  8.054
/home/eckleyd/WholeWormTest/1/TestImagesday50001.tif    9.58e-21    0.027   0.561   0.298   
0.003   0.073   0.007   0.030   0.001   1*  02.5    3.373
/home/eckleyd/WholeWormTest/1/TestImagesday50002.tif    2.48e-21    0.053   0.246   0.398   
0.012   0.181   0.034   0.072   0.004   1*  04  4.267
/home/eckleyd/WholeWormTest/1/TestImagesday50003.tif    1.54e-21    0.043   0.283   0.423   
0.005   0.127   0.013   0.090   0.016   1*  04  4.214
/home/eckleyd/WholeWormTest/1/TestImagesday50004.tif    1.99e-21    0.050   0.232   0.400   
0.011   0.206   0.024   0.032   0.045   1*  04  4.439
/home/eckleyd/WholeWormTest/1/TestImagesday50005.tif    2.07e-21    0.047   0.191   0.409   
0.006   0.142   0.012   0.051   0.143   1*  04  5.103
/home/eckleyd/WholeWormTest/1/TestImagesday50006.tif    1.08e-20    0.006   0.021   0.081   
0.001   0.018   0.002   0.002   0.868   1*  11  10.078
/home/eckleyd/WholeWormTest/1/TestImagesday50007.tif    2.75e-21    0.116   0.389   0.397   
0.003   0.055   0.009   0.031   0.001   1*  04  3.336
/home/eckleyd/WholeWormTest/1/TestImagesday50008.tif    4.05e-21    0.044   0.165   0.430   
0.005   0.077   0.009   0.012   0.259   1*  04  5.666
/home/eckleyd/WholeWormTest/1/TestImagesday50009.tif    3.41e-21    0.022   0.210   0.490   
0.003   0.148   0.008   0.095   0.024   1*  04  4.485

                                01            02.5              04              05              06              07              08              11
              01               0               0               0               0               0               0               0               0
            02.5               0               0               0               0               0               0               0               0
              04               0               0               0               0               0               0               0               0
              05               0               0               0               0               0               0               0               0
              06               0               0               0               0               0               0               0               0
              07               0               0               0               0               0               0               0               0
              08               0               0               0               0               0               0               0               0
              11               0               0               0               0               0               0               0               0
         UNKNOWN               5               2               7               0               2               0               3               2

                                01            02.5              04              05              06              07              08              11
              01         nan         nan         nan         nan         nan         nan         nan         nan
            02.5         nan         nan         nan         nan         nan         nan         nan         nan
              04         nan         nan         nan         nan         nan         nan         nan         nan
              05         nan         nan         nan         nan         nan         nan         nan         nan
              06         nan         nan         nan         nan         nan         nan         nan         nan
              07         nan         nan         nan         nan         nan         nan         nan         nan
              08         nan         nan         nan         nan         nan         nan         nan         nan
              11         nan         nan         nan         nan         nan         nan         nan         nan
         UNKNOWN         4.42285         3.52698         3.46274         0.86803         4.05280         0.16852         2.39363         2.10446

Accuracy: nan 

----------
Average accuracy (1 splits): nan

----------
WARNING: Test set class label '1' does not match any training set class.  
Marked with '*'.
[eckleyd@lgchrm15 wndchrm-1.31.251]$
 What do you see instead?
Summary of '/home/eckleyd/WholeWormTest' (21 samples total, 1 samples per 
image):
Single class '1' with 21 samples. Suitable as a test/classification set only.
----------
Max balanced training: 65
samples per image=1, training images: 65, testing images 0

----------
image   norm. fact. p(01)   p(02.5) p(04)   p(05)   p(06)   p(07)   p(08)   p(11)   act. 
class   pred. class pred. val.
Segmentation fault

Please use labels and text to provide additional information.

Original issue reported on code.google.com by dmarkeck...@gmail.com on 9 May 2012 at 7:26

GoogleCodeExporter commented 9 years ago
Issue 42 has been merged into this issue.

Original comment by christop...@nih.gov on 10 Jun 2012 at 6:15

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r369.

Original comment by christop...@nih.gov on 10 Jun 2012 at 6:17

GoogleCodeExporter commented 9 years ago
Fixed with revision 365.

Original comment by christop...@nih.gov on 10 Jun 2012 at 6:17