<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">    Dear Julio,<br>
      <br>
          Given the warnings on compute_epi_mask, I think that you
      should remove the folder
      nilearn_cache/joblib/nilearn/masking/compute_epi_mask and launch
      again.<br>
          Best,<br>
      <br>
      Bertrand Thirion<br>
      <br>
      <br>
      On 24/02/2017 02:36, Julio Villalon wrote:<br>
    </div>
    <blockquote
cite="mid:CAJ+byPSb7kR4+v0r450SWkXU2zgKgcyhJ9XwhekRc2srEqfdYA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Nilearn team,
        <div><br>
        </div>
        <div>I am trying to run the SpaceNet example:</div>
        <div><br>
        </div>
        <div><a moz-do-not-send="true"
href="https://nilearn.github.io/auto_examples/02_decoding/plot_haxby_space_net.html#sphx-glr-auto-examples-02-decoding-plot-haxby-space-net-py">https://nilearn.github.io/auto_examples/02_decoding/plot_haxby_space_net.html#sphx-glr-auto-examples-02-decoding-plot-haxby-space-net-py</a><br>
        </div>
        <div><br>
          <div>And I am getting the following error:</div>
          <div><br>
          </div>
          <div>' ' ' </div>
          <div>
            <div>ValueError: Found array with 0 sample(s) (shape=(0,
              129600)) while a minimum of 1 is required.</div>
            <div><br>
            </div>
            <div>/Users/jvillalo/scikit-learn/sklearn/externals/joblib/memory.py:133:
              DeprecationWarning: The file
'nilearn_cache/joblib/nilearn/masking/compute_epi_mask/8ac3f6747d8c3cbe01809029506bc2c4/output.pkl'
              has been generated with a joblib version less than 0.10.
              Please regenerate this pickle file.</div>
            <div>  return numpy_pickle.load(filename,
              mmap_mode=mmap_mode)</div>
          </div>
        </div>
        <div>' ' ' </div>
        <div><br>
        </div>
        <div>I am using Python 3.5, Numpy 1.12, Scipy 0.18.1. I also
          included in my PYTHONPATH the latest development versions
          (master branches) of Nilearn and Scikit-learn. </div>
        <div><br>
        </div>
        <div>Can anyone point me in the right direction of how to solve
          this problem?</div>
        <div><br>
        </div>
        <div>Thank you</div>
        <div><br>
        </div>
        <div>Julio Villalon</div>
        <div>USC Imaging Genetics Center</div>
        <div><br>
        </div>
        <div>This is full error message:</div>
        <div>------------------------------------------------</div>
        <div>
          <div>Traceback (most recent call last):</div>
          <div>  File
"/Users/jvillalo/anaconda/lib/python3.5/site-packages/IPython/core/interactiveshell.py",
            line 2481, in safe_execfile</div>
          <div>    self.compile if kw['shell_futures'] else None)</div>
          <div>  File
"/Users/jvillalo/anaconda/lib/python3.5/site-packages/IPython/utils/py3compat.py",
            line 186, in execfile</div>
          <div>    exec(compiler(f.read(), fname, 'exec'), glob, loc)</div>
          <div>  File
"/Users/jvillalo/Documents/IGC/Conferences/MICCAI_2016/Gaels_code/plot_haxby_space_net.py",
            line 70, in <module></div>
          <div>    decoder.fit(X_train, y_train)</div>
          <div>  File
            "/Users/jvillalo/nilearn/nilearn/decoding/space_net.py",
            line 783, in fit</div>
          <div>    multi_output=True, y_numeric=True)</div>
          <div>  File
            "/Users/jvillalo/nilearn/nilearn/_utils/fixes/sklearn_validation.py",
            line 195, in check_X_y</div>
          <div>    ensure_min_features)</div>
          <div>  File
            "/Users/jvillalo/nilearn/nilearn/_utils/fixes/sklearn_validation.py",
            line 97, in check_array</div>
          <div>    % (n_samples, shape_repr, ensure_min_samples))</div>
          <div>ValueError: Found array with 0 sample(s) (shape=(0,
            129600)) while a minimum of 1 is required.</div>
          <div><br>
          </div>
          <div>/Users/jvillalo/scikit-learn/sklearn/externals/joblib/memory.py:133:
            DeprecationWarning: The file
'nilearn_cache/joblib/nilearn/masking/compute_epi_mask/8ac3f6747d8c3cbe01809029506bc2c4/output.pkl'
            has been generated with a joblib version less than 0.10.
            Please regenerate this pickle file.</div>
          <div>  return numpy_pickle.load(filename, mmap_mode=mmap_mode)</div>
          <div>/Users/jvillalo/scikit-learn/sklearn/externals/joblib/memory.py:133:
            DeprecationWarning: The file
'nilearn_cache/joblib/nilearn/image/resampling/resample_img/ea3a4d90803321dbf749b23ff6acfa18/output.pkl'
            has been generated with a joblib version less than 0.10.
            Please regenerate this pickle file.</div>
          <div>  return numpy_pickle.load(filename, mmap_mode=mmap_mode)</div>
        </div>
        <div><br>
        </div>
        <div>-------------------------------------------------------------</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Neuroimaging mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Neuroimaging@python.org">Neuroimaging@python.org</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/neuroimaging">https://mail.python.org/mailman/listinfo/neuroimaging</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>