Came across a very annoying bug. Basically, it's printing the wrong numbers for the fitness of each sweeper on the epoch, depending on the speed of the playback. The strange thing is that changing the speed at which the thread runs the updates shouldn't really have any effect whatsoever, so I'm at a loss for what the problem is.
It doesn't seem to have any effect on the actual running of the program, it just displays the fitnesses wrong. I'll figure it out eventually, but it'll be a lot of trial and error.
UPDATE:
I figured it out faster than I expected. It turns out that I was actually not moving the mines when I turned the graphics off (to speed up the running time), which meant that I was calibrating the sweepers for non-moving mines, and then throwing them into a situation with moving ones.
I figured it out faster than I expected. It turns out that I was actually not moving the mines when I turned the graphics off (to speed up the running time), which meant that I was calibrating the sweepers for non-moving mines, and then throwing them into a situation with moving ones.
This actually brings up an interesting process which would be to calibrate the networks for something similar to what you want first in order to give them the right impression. In this case, it was training them not to go with the movement of the mines, because the mines were standing still. Which was the reason they didn't go with the flow as I expected. The moment I fixed the "bug" they went back to following the flow.
No comments:
Post a Comment