STL-10 scripts out-of-date and downsampling

68 views
Skip to first unread message

Laurent Dinh

unread,
May 15, 2013, 7:19:31 PM5/15/13
to pylea...@googlegroups.com
Hi, 

The scripts in the pylearn2/scripts/datasets/ associated with STL-10 seem to import the wrong module "string" instead of "string_utils". 
Moreover the downsampling script for STL-10 seems to be not working. The error I get is in the attached file. 
For additional information, I run on anaconda and when I replace the in pylearn2/datasets/preprocessing.py file the Conv3D.conv3D op used in the Downsample Preprocessor with Conv2D.conv2d things seem to work (given a few theano.tensor.dimshuffle and numpy.transpose inserted). 

Cheers, 
-- 
Laurent Dinh
error.txt

Ian Goodfellow

unread,
May 16, 2013, 5:26:28 AM5/16/13
to pylearn-dev
Thanks for the bug report. I fixed the string_utils thing, haven't had
time to look into the rest yet. You have everything working how you
need it though, right?
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "pylearn-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pylearn-dev...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Pascal Lamblin

unread,
May 16, 2013, 2:10:42 PM5/16/13
to pylea...@googlegroups.com
Hi Laurent,
The error message below seems to boil down to:
> /usr/bin/ld: cannot find -lmkl_gnu_thread
> collect2: error: ld returned 1 exit status

Did you specify a value for blas.ldflags in your .theanorc or
THEANO_FLAGS? If that's the case, you may need to also provide the
relevant '-L' flag indicating where libmkl_gnu_thread.so is.

Cheers,
--
Pascal
Reply all
Reply to author
Forward
0 new messages