Hi, I just finished compiling eblearn on my machine (MAC OS X 10.6.8) and I am trying to prepare the data from mnist.
../../bin/dscompile /Users/odenas/projects/xpr_model/eblearn/demos/mnist/mnist_original/test -outdir /Users/odenas/projects/xpr_model/eblearn/demos/mnist/mnist_processed -dname test -dims 32x32x1 -kernelsz 4x4
I get I get an error that I cannot determine (sorry I am brand new to eblearn). Can you help?
odenas@bxlab05:$ ../../bin/dscompile /Users/odenas/projects/xpr_model/eblearn/demos/mnist/mnist_original/test -outdir /Users/odenas/projects/xpr_model/eblearn/demos/mnist/mnist_processed -dname test -dims 32x32x1 -kernelsz 4x4
_______________________________________________________________
Dataset compiler for libeblearn library
_______________________________________________________________
input parameters:
dataset name: test
dataset type: regular
dataset precision: float
images root directory: /Users/odenas/projects/xpr_model/eblearn/demos/mnist/mnist_original/test
annotations directory:
ignored annotations directory:
output directory: /Users/odenas/projects/xpr_model/eblearn/demos/mnist/mnist_processed
outputs: /Users/odenas/projects/xpr_model/eblearn/demos/mnist/mnist_processed/test_*.mat
images pattern: .*[.](png|jpg|jpeg|PNG|JPG|JPEG|bmp|BMP|ppm|PPM|pnm|PNM|pgm|PGM|gif|GIF|mat|MAT)
channels mode: RGB
preprocessing: yes
display: no
display sleep: 0 ms.
shuffling: no
usepose: no
useparts: no
partsonly: no
stereo: no
max per class limitation: none
max data limitation: none
mexican_hat_size: 0
preprocessing kernel size: [ 4x4 ]
deformations: -1
resizing method: bilinear
output dimensions: [ 32x32x1 ]
minimum input dimensions: <empty>
maximum input dimensions: <empty>
no padded: no
scales: none
laplacian pyramid: 0
_______________________________________________________________
Setting dataset name to: test
Setting preprocessing to: 4x4_bilinear32x32
Preprocessing produces 1 layers per sample.
Preprocessing modules:
0: resizepp module 4x4_bilinear32x32, resizing with method 0 to 32x32 while preserving aspect ratio, pp: rgb_to_rgb
Setting output directory to /Users/odenas/projects/xpr_model/eblearn/demos/mnist/mnist_processed
Setting temporary output directory to /Users/odenas/projects/xpr_model/eblearn/demos/mnist/mnist_processed
Setting target dimensions to 32x32x1
Setting saving mode to: dynset
Enabling individual sample saving.
Disabling saving sample layers separately.
Setting image pattern to .*[.](png|jpg|jpeg|PNG|JPG|JPEG|bmp|BMP|ppm|PPM|pnm|PNM|pgm|PGM|gif|GIF|mat|MAT)
Counting number of samples in /Users/odenas/projects/xpr_model/eblearn/demos/mnist/mnist_original/test/ ...
terminate called after throwing an instance of 'std::bad_cast'
what(): std::bad_cast
Abort trap