<DIV> </DIV>
<DIV>Hi :</DIV>
<DIV>The accessory are my experiment data and the file of attributes(The lable of each timepoint,TR=2s)<BR>Can you help me to make the single file like the ''hyperalignment_tutorial_data.hdf5.gz''</DIV>
<DIV>I attemppted to use dcm2niigui.exe to transform every single subjects' 3D data to a single 4D file , then use h5save to integration all subjects' data.</DIV>
<DIV> </DIV>
<DIV>>>> print ds_all[0]<BR><Dataset: <A href="mailto:384x131072@float64">384x131072@float64</A>, <sa: chunks,subject,targets,time_coords,time_indices>, <fa: voxel_indices>, <a: imghdr,imgtype,mapper,voxel_dim,voxel_eldim>><BR></DIV>
<DIV>But when I input :</DIV>
<DIV>>>>nruns = len(ds_all[0].UC)<BR>>>> nruns<BR>1</DIV>
<DIV>so I can't do the cross validation</DIV>
<DIV>>>> wsc_results = [cv(sd) for sd in ds_all]<BR>Traceback (most recent call last):<BR> File "<stdin>", line 1, in <module><BR> File "/usr/lib/pymodules/python2.7/mvpa2/base/learner.py", line 239, in __call__<BR> return super(Learner, self).__call__(ds)<BR> File "/usr/lib/pymodules/python2.7/mvpa2/base/node.py", line 84, in __call__<BR> result = self._call(ds)<BR> File "/usr/lib/pymodules/python2.7/mvpa2/measures/base.py", line 472, in _call<BR> return super(CrossValidation, self)._call(ds)<BR> File "/usr/lib/pymodules/python2.7/mvpa2/measures/base.py", line 301, in _call<BR> result = node(sds)<BR> File "/usr/lib/pymodules/python2.7/mvpa2/base/learner.py", line 239, in __call__<BR> return super(Learner, self).__call__(ds)<BR> File "/usr/lib/pymodules/python2.7/mvpa2/base/node.py", line 84, in __call__<BR> result = self._call(ds)<BR> File "/usr/lib/pymodules/python2.7/mvpa2/measures/base.py", line 559, in _call<BR> % (ds.sa[splitter.get_space()].unique))<BR>ValueError: Got empty training dataset from splitting in TransferMeasure. Unique values of input split attribute are: [2])</DIV>
<DIV> </DIV>
<DIV>I will appreciate if you can help me to make the file and show me how to solve the problems.<BR><BR> </DIV><BR><BR> <div id="divNeteaseBigAttach" style="clear:both;margin-top:10px;margin-bottom:15px;background:#DEE8F2;padding:4px;font-family:verdana,Arial,Helvetica,sans-serif"> <div style="font-size:14px;padding:4px 8px 8px 8px;line-height:16px"> <b>超大附件</b> </div> <div style="background:#fff;padding:4px"> <div style="clear:both;height:36px;padding:6px 4px"> <div style="float:left;width:36px"> <a href="http://fs.qiye.163.com/fs/display/?p=X-NETEASE-HUGE-ATTACHMENT&file=q0XI7Rapb0R2Yno3lP104eHP084F4pQDwkHcNMbNuOJj6XPUlaR6CCUpubd40z9idmJF3BxNDTWYMM5D4eQOqQ"><img border="0" src="http://mimg.qiye.163.com/p/wm/jy3/img/fj/ico-bfile-7.gif" /></a> </div> <div> <div style="padding:0px;font-size:12px;line-height:14px"> <a href="http://fs.qiye.163.com/fs/display/?p=X-NETEASE-HUGE-ATTACHMENT&file=q0XI7Rapb0R2Yno3lP104eHP084F4pQDwkHcNMbNuOJj6XPUlaR6CCUpubd40z9idmJF3BxNDTWYMM5D4eQOqQ" download="http://fs.qiye.163.com/fs/display/?p=X-NETEASE-HUGE-ATTACHMENT&file=q0XI7Rapb0R2Yno3lP104eHP084F4pQDwkHcNMbNuOJj6XPUlaR6CCUpubd40z9idmJF3BxNDTWYMM5D4eQOqQ" fileid="1021406898" filename="data.zip" filesize="1871964411" expiretime="1438743595938" target="_blank" style="color:#000;text-decoration:none">data.zip</a> <span style="color:#bbb"> (1785.24M, 2015年8月5日 10:59到期 )</span> </div> <div style="padding:4px 0px;font-size:12px;line-height:14px"> <a href="http://fs.qiye.163.com/fs/display/?p=X-NETEASE-HUGE-ATTACHMENT&file=q0XI7Rapb0R2Yno3lP104eHP084F4pQDwkHcNMbNuOJj6XPUlaR6CCUpubd40z9idmJF3BxNDTWYMM5D4eQOqQ&title=Multiple%20datasets%20in%20one%20hdf5%20file&corpid=mail.bnu.edu.cn">下载</a> </div> </div> </div> </div> </div> <br>