<p dir="auto">Hello , please i run this code :</p>
<h1 dir="auto">print the summary of the architecture</h1>
<p dir="auto">model.summary()</p>
<h1 dir="auto">load the loss summary (training and validation losses)</h1>
<p dir="auto">import pickle<br>
losses = pickle.load( open('./tmpdata/history_exp' + str(exp_number) + '.pickle'   , 'rb'))</p>
<h1 dir="auto">load the test set</h1>
<p dir="auto">test_set = pickle.load( open('./tmpdata/TestSet.pickle', 'rb'))<br>
X_test = test_set['X_test']<br>
Y_test = test_set["Y_test"]</p>
<p dir="auto">and i get this issue :</p>
<p dir="auto">ImportError                               Traceback (most recent call last)<br>
 in ()<br>
5 exp_number = 15<br>
6 with open('/home/ubuntu/nilmtk/nilmtk/neuralnilm/tmpdata/history_exp' + str(exp_number) + '.pickle'   , 'rb') as f:<br>
----&gt; 7     losses = pickle.load(f)<br>
8 # load the test set<br>
9 with open('/home/ubuntu/nilmtk/nilmtk/neuralnilm/tmpdata/TestSet.pickle', 'rb') as v:</p>
<p dir="auto">ImportError: No module named multiarray</p>
<p dir="auto">can someone please help me</p>
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1284" rel="nofollow">http://projects.scipy.org/numpy/ticket/1284</a> on 2009-11-04 by trac user reckoner, assigned to unknown.</em></p>
<p dir="auto">On winxp 32-bit:</p>
<p dir="auto">Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on<br>
win32<br>
Type "help", "copyright", "credits" or "license" for more information.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; import numpy
&gt;&gt;&gt; import cPickle
&gt;&gt;&gt; a = numpy.eye(10)
&gt;&gt;&gt; cPickle.dump(a,open('from32bitxp.pkl','w'))
&gt;&gt;&gt; import numpy.core.multiarray
&gt;&gt;&gt; numpy.__version__
'1.0.4'
&gt;&gt;&gt;"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; import numpy
&gt;&gt;&gt; import cPickle
&gt;&gt;&gt; a = numpy.eye(10)
&gt;&gt;&gt; cPickle.dump(a,open('from32bitxp.pkl','w'))
&gt;&gt;&gt; import numpy.core.multiarray
&gt;&gt;&gt; numpy.__version__
'1.0.4'
&gt;&gt;&gt;
</code></pre></div>
<p dir="auto">On linux 64 bit:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Python 2.5.4 (r254:67916, Feb  5 2009, 19:52:35)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
&gt;&gt;&gt; import numpy
&gt;&gt;&gt; import cPickle
&gt;&gt;&gt; cPickle.load(open('from32bitxp.pkl'))
Traceback (most recent call last):
 File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
ImportError: No module named multiarray
&gt;&gt;&gt; numpy.__version__
'1.2.1'
&gt;&gt;&gt; import numpy.core.multiarray
&gt;&gt;&gt;"><pre class="notranslate"><code class="notranslate">Python 2.5.4 (r254:67916, Feb  5 2009, 19:52:35)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
&gt;&gt;&gt; import numpy
&gt;&gt;&gt; import cPickle
&gt;&gt;&gt; cPickle.load(open('from32bitxp.pkl'))
Traceback (most recent call last):
 File "&lt;stdin&gt;", line 1, in &lt;module&gt;
ImportError: No module named multiarray
&gt;&gt;&gt; numpy.__version__
'1.2.1'
&gt;&gt;&gt; import numpy.core.multiarray
&gt;&gt;&gt;
</code></pre></div>
<p dir="auto">Note that I transfer the from32bitxp file from the winxp32 machine to<br>
the linux host. Also, I've tried this with version 1.3 on winxp and<br>
get the same problem on the linux host.</p>
<p dir="auto">Here's more interesting info:</p>
<p dir="auto">On linux:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; a = numpy.eye(10)
&gt;&gt;&gt; cPickle.dump(a,open('from64bitLinux.pkl','w'))"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; a = numpy.eye(10)
&gt;&gt;&gt; cPickle.dump(a,open('from64bitLinux.pkl','w'))
</code></pre></div>
<p dir="auto">upon transferring the file to winxp 32 and on winxp32:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; cPickle.load(open('from64bitLinux.pkl'))"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; cPickle.load(open('from64bitLinux.pkl'))
</code></pre></div>
<p dir="auto">See? No problem going from linux to winxp32; but problems going the other way.</p>
<p dir="auto">Please let me know if you need more info on this.</p>
<p dir="auto">Any help appreciated.</p>