[Fwd: Re: [Fann-general] pyfann+pylab]

It seems there are error reports in the wild which may not be getting to us here at matplotlib-devel. I'm forwarding one to our list. Does anyone know the cause of the issue below? Can we fix it?

Gonzalo, I'm forwarding your emails to the matplotlib-devel list. If you reply to us there and could be more specific about "get errors" someone would be much better able to figure out what is going wrong.

···

-------- Original Message --------
Subject: Re: [Fann-general] pyfann+pylab
Date: Wed, 26 Apr 2006 18:27:03 +0200
From: Gonzalo A. de la Vega <gadelavega@...415...>
Reply-To: fann-general@lists.sourceforge.net
To: fann-general@lists.sourceforge.net
References: <444CCDC5.901@...415...> <444F3657.70509@...416...>

Thanks... I tried that before thou. I just found out, following some tips on matplotlib archives, that the problem comes from localization. I just run with English and runs fine (used Spanish before), but the problem apparently comes for pylab (it may be only Fedora Core 5).

Michael Röttger wrote:

Hi Gonzalo,

Gonzalo A. de la Vega schrieb:
  

Working with pyfann I get errors when reading training data or nets from
files, but only if the pylab module (or part of it) has been imported.I
know pylab overloads some python operations, but I don't see how this
could affect pyfann. Any ideas?
    
try to import both modules in separate namespaces, e.g.

import pylab as pl
import pyfann.libfann as fann

and use it like

pl.plot(..)
ann = fann.neural_net()
ann.create_from_file(..)

In this way I carried out a short test (matplotlib 0.85, pyfann2) and
had no problems when reading a network with ann.create_from_file(..).

Michael

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642
_______________________________________________
Fann-general mailing list
Fann-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fann-general