[pymvpa] LinearCSVMC() error with python 2.7 but not 2.6?
Edmund Chong
edmund.w.chong at gmail.com
Wed Sep 12 16:03:38 UTC 2012
Sorry for taking awhile to get back to you on this.
So I tried print repr(fds) before and after hdf5 save/load. The text file
comparer revealed a difference for a first line:
before: Dataset(memmap([[ 3.19004774e-01, -2.48533797e+00,
1.55277145e+00,
after: Dataset(array([[ 3.19004774e-01, -2.48533797e+00,
1.55277145e+00,
and also the last line:
before:
Collectable(name='voxel_eldim', doc=None, value=(3.0, 3.0, 3.0)),
Collectable(name='voxel_dim', doc=None, value=(53, 80, 80)),
Collectable(name='imghdr', doc=None, value=<nibabel.nifti1.Nifti1Header
object at 0x5d83510>)]))
after:
Collectable(name='imghdr', doc=None, value=<nibabel.nifti1.Nifti1Header
object at 0x7c79ed0>), Collectable(name='voxel_dim', doc=None, value=(53,
80, 80)), Collectable(name='voxel_eldim', doc=None, value=(3.0, 3.0,
3.0))]))
---
another interesting thing to check -- on that non-working system with
> default python 2.7, most porbably 2.6 is also supported so you could try
> running non-working (i.e. without this save/reload trick) script with
> python2.6 -- would it work?
>
I earlier tried installing python 2.6 on that system. I used pythonbrew so
that I could have concurrent versions of 2.7 and 2.6. The problem is when i
use the ubuntu binaries for pymvpa installation it still assumes that I'm
on 2.7, so when I run python 2.6 it cannot detect pymvpa. I didn't try to
install from source and am not sure how to yet, but if you'd like I can try
that. I'm hoping that you figure out what's going wrong from looking at the
above print repr(fds) though :)
also, sample .nii files coming your way
thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20120912/7a0f632c/attachment.html>
More information about the Pkg-ExpPsy-PyMVPA
mailing list