Closed GoogleCodeExporter closed 9 years ago
This bug has now been fixed.
Original comment by markp...@gmail.com
on 20 Dec 2007 at 12:02
Sorry I wasn't explicit when I posted the original message, this is still not
fixed
in 2.1.6.
The changes made in 2.1.6 don't fix the problem since the existing
sizeOfStateKey and
sizeOfRandomSeed are instance methods so 2.1.6 now gives the error:
line 21, in <module>
RLGlue.RL_set_state(init_state)
File "/export/home/tools/rl-glue/RL-Glue/Python/rlglue/RLGlue.py", line 169, in
RL_set_state
network.putInt(Network.sizeOfStateKey(sk))
AttributeError: 'module' object has no attribute 'sizeOfStateKey'
I made this work by using
network.putInt(network.sizeOfRandomSeed(rsk))
instead of the 2.1.6 code
network.putInt(Network.sizeOfRandomSeed(rsk))
Original comment by michael....@gmail.com
on 14 Jan 2008 at 4:46
Original issue reported on code.google.com by
michael....@gmail.com
on 19 Dec 2007 at 7:57