Re: [Pyro-users] Wumpus World problem
- Christine A. Shannon [EMAIL PROTECTED] wrote: I've downloaded the newest version of pyro and tried to run the Pyrobot simulator with the Wumpus World.py and got the following message -- looks like missing modules Traceback (most recent call last): File /usr/lib/python2.5/site-packages/pyrobot/plugins/simulators/PyrobotSimulator, line 83, in module gui = INIT(worldFile) File /usr/lib/python2.5/site-packages/pyrobot/plugins/simulators/PyrobotSimulator, line 18, in INIT exec(import + module + as userspace) File string, line 1, in module File /usr/lib/python2.5/site-packages/pyrobot/plugins/worlds/Pyrobot/WumpusWorld.py, line 2, in module import Image, ImageTk, ImageDraw, ImageFont ImportError: No module named ImageTk Did you use the yum install method? Looks like we need to list python-imaging-tk as a dependency. You can fix that with: yum install python-imaging-tk Thanks for your help. Incidentally, I have a couple more improvements to the WumpusWorld.py that allows pits in the 0th row and column. I thought we had corrected that last time but it still has the pits only in rows and col 1-3. If you send me a fixed version, I'll update it. Thanks! -Doug Christine Shannon ___ Pyro-users mailing list Pyro-users@pyrorobotics.org http://emergent.brynmawr.edu/mailman/listinfo/pyro-users ___ Pyro-users mailing list Pyro-users@pyrorobotics.org http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
Re: [Pyro-users] Error in deep copying neural network
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 [EMAIL PROTECTED] 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 ___ Pyro-users mailing list Pyro-users@pyrorobotics.org http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
Re: [Pyro-users] Pyro and Ubuntu 8.04
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 [EMAIL PROTECTED] 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 ___ Pyro-users mailing list Pyro-users@pyrorobotics.org http://emergent.brynmawr.edu/mailman/listinfo/pyro-users