@scottpurdy, thank you for your help, i have tried to run outside pycharm as
your suggestion , but it is not working.
i run “python run_mnist_experiment.py” in shell , and got the same error.
> 在 2015年10月16日,23:35,Scott Purdy <[email protected]> 写道:
>
> I'd recommend trying to run out outside pycharm. The cPickle library used in
> the current serialization is not thread safe which may be the issue when
> running it through pycharm. Please follow up after you try running it outside
> pycharm.
>
> On Oct 16, 2015 12:39 AM, "[email protected]
> <mailto:[email protected]>" <[email protected]
> <mailto:[email protected]>> wrote:
> hi ,Marek Otahal
> Thank you for your help , my testing data is 120*230 images ,so i change
> the inputWidth=27600, when i use the parameters as following:
> "columnCount": 12288,
> "spatialImp": "cpp",
> "inputWidth": 27600,
> "spVerbosity": 1,
> "synPermConnected": 0.4,
> "synPermActiveInc": 0.001,
> "synPermInactiveDec": 0.0005,
> "seed": 1956,
> "numActiveColumnsPerInhArea": 2400,
> "globalInhibition": 1,
> "potentialPct": 0.4,
> "maxBoost": 1.0
> and i save the network ,i got the error :
>
> Traceback (most recent call last):
> File "/Users/tony/nupic.vision/nupic/vision/mnist/run_mnist_experiment.py",
> line 833, in <module>
> trainNetworkWHZ(net,netName,"mnist/whz_video")
> File "/Users/tony/nupic.vision/nupic/vision/mnist/run_mnist_experiment.py",
> line 405, in trainNetworkWHZ
> net.save(networkFile)
> File
> "/Library/Python/2.7/site-packages/nupic-0.3.3-py2.7.egg/nupic/engine/__init__.py",
> line 721, in save
> engine.Network.save(self, *args, **kwargs)
> File
> "/Library/Python/2.7/site-packages/nupic.bindings-0.2.1-py2.7-macosx-10.9-intel.egg/nupic/bindings/engine_internal.py",
> line 1082, in save
> return _engine_internal.Network_save(self, *args, **kwargs)
> SystemError: NULL result without error in PyObject_Call
> Process finished with exit code 1
>
> I think that maybe the parameter “columnCount" result the error,so i
> increase columnCount to 122880, the result is what i write as the previous
> email .
> I have send email to scott as your suggestion , and can you explain the
> reason for the above error? the max number of column that i can create is ?
> thank you for your explantion
>
>
>
>> 在 2015年10月16日,13:39,Marek Otahal <[email protected]
>> <mailto:[email protected]>> 写道:
>>
>> large file serialization problem
>