From lenrsmith at gmail.com Mon Aug 11 20:50:23 2008 From: lenrsmith at gmail.com (Leonard Smith) Date: Mon Aug 11 23:10:32 2008 Subject: [Pyro-users] Pyro and Ubuntu 8.04 Message-ID: <1218502223.11810.12.camel@leonards-laptop> Greetings. I am attempting to use Pyro on an Ubuntu 8.04 system and read the post from Susan in June and the responses. I have successfully loaded Pyro after fixing the -e echo problem in the configure script. I didn't see where anyone posted any changes to the svn repository, and I would be happy to dig it back out so someone can include it. I was a bit adventurous and downloaded the latest player and stage. I successfully compiled both and tested them. When I attempt to connect to the stage server, however, I get the following error: success Stage plugin: 7000.simulation.0 is a Stage world [Loading /usr/lib/python2.5/site-packages/pyrobot/plugins/worlds/Stage/simple.world][Include pioneer.inc][Include map.inc][Include sick.inc][Load time 0.307sec] Stage plugin: 6665.map.0 is err: error: stage driver doesn't support interface type 42 (/home/leonards/sources/stage/libstageplugin/p_driver.cc StgDriver) error : Initialization failed for driver "stage" error : failed to parse config file /usr/lib/python2.5/site-packages/pyrobot/plugins/worlds/Stage/simple.cfg driver blocks Is this result of the advancing development of player/stage? I'm not afraid to dig into the code (though I'm a bit of a python newbie), I just don't know where to look. Also, I'd like to play with Gazebo, but I haven't been able to get any version of it to work. I realize this may be a better question for their list but any suggestions would be appreciated. Leonard Smith From dblank at brynmawr.edu Mon Aug 11 23:14:20 2008 From: dblank at brynmawr.edu (Douglas Blank) Date: Mon Aug 11 23:14:37 2008 Subject: [Pyro-users] Pyro and Ubuntu 8.04 In-Reply-To: <1218502223.11810.12.camel@leonards-laptop> Message-ID: <1247844052.205921218510860336.JavaMail.root@ganesh.brynmawr.edu> Leonard, I'm on vacation this week, so just a brief note now: Player/Stage/Gazebo has changed substantially. I suspect it will take some work to get Pyro to work with the latest versions. Patches accepted :) -Doug ----- "Leonard Smith" wrote: > Greetings. I am attempting to use Pyro on an Ubuntu 8.04 system and > read > the post from Susan in June and the responses. > > I have successfully loaded Pyro after fixing the -e echo problem in > the > configure script. I didn't see where anyone posted any changes to the > svn repository, and I would be happy to dig it back out so someone > can > include it. > > I was a bit adventurous and downloaded the latest player and stage. I > successfully compiled both and tested them. When I attempt to connect > to > the stage server, however, I get the following error: > > success > Stage plugin: 7000.simulation.0 is a Stage world > > [Loading > /usr/lib/python2.5/site-packages/pyrobot/plugins/worlds/Stage/simple.world][Include > pioneer.inc][Include map.inc][Include sick.inc][Load time 0.307sec] > > Stage plugin: 6665.map.0 is err: error: stage driver doesn't > support > interface type 42 > (/home/leonards/sources/stage/libstageplugin/p_driver.cc StgDriver) > error : Initialization failed for driver "stage" > error : failed to parse config > file > /usr/lib/python2.5/site-packages/pyrobot/plugins/worlds/Stage/simple.cfg > driver blocks > > Is this result of the advancing development of player/stage? I'm not > afraid to dig into the code (though I'm a bit of a python newbie), I > just don't know where to look. > > Also, I'd like to play with Gazebo, but I haven't been able to get > any > version of it to work. I realize this may be a better question for > their > list but any suggestions would be appreciated. > > Leonard Smith > > > _______________________________________________ > Pyro-users mailing list > Pyro-users@pyrorobotics.org > http://emergent.brynmawr.edu/mailman/listinfo/pyro-users From D.Zoltok at sussex.ac.uk Tue Aug 19 19:13:52 2008 From: D.Zoltok at sussex.ac.uk (Dave Zoltok) Date: Tue Aug 19 19:14:03 2008 Subject: [Pyro-users] Error in deep copying neural network Message-ID: <25AB1275-2410-49CF-B176-7246CD4BC07C@sussex.ac.uk> Hi everyone! I'm working on a dissertation involving evolved neural controllers for robots. I have my experiment running on my own computer, but on my school's computers, I get the traceback shown below. Each robot is meant to react to one of several sets of input based on the output value of a "threshold" neuron. I'm accomplishing this by making a deepcopy() of the network for each possible input, running them, and comparing the network output to determine which sets of input I should pass into the actual propagation. When I try this on the school's servers, I get this: Traceback (most recent call last): ... File "/usr/lib64/python2.4/copy.py", line 336, in _reconstruct y = callable(*args) File "/usr/lib64/python2.4/site-packages/Numeric/Numeric.py", line 539, in array_constructor x.shape = shape ValueError: total size of new array must be unchanged Where should I be looking for the bug here? In Numeric, copy.py, or the Python install itself? Is there a recommended way of copying the neural networks in Conx? Thanks in advance Dave From dblank at brynmawr.edu Tue Aug 19 22:19:30 2008 From: dblank at brynmawr.edu (Douglas Blank) Date: Tue Aug 19 22:19:47 2008 Subject: [Pyro-users] Error in deep copying neural network In-Reply-To: <25AB1275-2410-49CF-B176-7246CD4BC07C@sussex.ac.uk> Message-ID: <470864302.1595071219198770586.JavaMail.root@ganesh.brynmawr.edu> Dave, I didn't follow exactly what you are trying to do, but if you can avoid deepcopy() that is probably a good idea. If you just want to clone a network, you might take a look at the arrayify functions. It assumes that you have the correct structure (layer sizes and connections) and will take all of the learnable network data (weights and biases), turn it into an array which you can then load back into another network. Other than that, you'll probably want to make your own method that would clone the network structure and sizes of layers. -Doug ----- Dave Zoltok wrote: > Hi everyone! > > I'm working on a dissertation involving evolved neural controllers for > robots. I have my experiment running on my own computer, but on my > school's computers, I get the traceback shown below. Each robot is > meant to react to one of several sets of input based on the output > value of a "threshold" neuron. I'm accomplishing this by making a > deepcopy() of the network for each possible input, running them, and > comparing the network output to determine which sets of input I should > pass into the actual propagation. When I try this on the school's > servers, I get this: > > Traceback (most recent call last): > ... > File "/usr/lib64/python2.4/copy.py", line 336, in _reconstruct > y = callable(*args) > File "/usr/lib64/python2.4/site-packages/Numeric/Numeric.py", line > 539, in array_constructor > x.shape = shape > ValueError: total size of new array must be unchanged > > Where should I be looking for the bug here? In Numeric, copy.py, or > the Python install itself? Is there a recommended way of copying the > neural networks in Conx? > > Thanks in advance > Dave > > > _______________________________________________ > Pyro-users mailing list > Pyro-users@pyrorobotics.org > http://emergent.brynmawr.edu/mailman/listinfo/pyro-users