Topic: AI-Training
WorldSavior |
Posted at: 2019-05-02, 12:31
Of course not
Barren Island
I don't have your mail adress. The replay would be easy to reproduce, crater map would also be good for testing. Wanted to save the world, then I got widetracked Top Quote |
hessenfarmer |
Posted at: 2019-05-05, 00:30
Hi everybody, have uploaded a branch which in my opinion makes AI better by fixing some issues. Mainly it builds now much more Productionsites. This needs some AI-training though. regards hessenfarmer Edited: 2019-05-05, 00:31
Top Quote |
hessenfarmer |
Posted at: 2019-05-15, 09:03
Short update on this AI now builds second carrier recruiters properly Top Quote |
teppo |
Posted at: 2020-04-21, 05:23
Is there was a way to run the training in loops, without human interaction? If yes, how is that done? Top Quote |
Tibor |
Posted at: 2020-04-21, 06:39
Yes, it is how it is done. Generally you need a score to pick the best AI from multiple AIs, and then some scripting that would move winning wai file to data/ai to be used for next round. The biggest issue is a score. The code has some score inbuilt, but the score is quite esoteric thing. So you would redirect console output to the file and parse to get the score. If you are familiar with C++ you will probably want to make own modifications to the score formula. I usually run 9 games with 4 AIs in each game in 1 round, and than pick one WAI for each position, that means from 9 random AIs and use it as a source for next round. We can discuss more just ask. Top Quote |
teppo |
Posted at: 2020-04-21, 15:50
Yes.. how? Just adding --ai_training as command line parameter does not do magic. I suppose that one needs to at least declare which map to use. I have a vague memory of doing that long ago, but cannot figure out how now. Top Quote |
Tibor |
Posted at: 2020-04-21, 15:56
I am using bunch of saved games, but saved within first few seconds, so that AI DNA is reinitialized. I tried it with just maps, but there is no a way how to start a network game purely from command line. The savegames are made the way that first player is 'me' - but nobody plays there, so you need map with one extra idle spot in this setup. Top Quote |