Life In 19x19 http://www.lifein19x19.com/ |
|
Pachi UCT problems http://www.lifein19x19.com/viewtopic.php?f=18&t=14533 |
Page 1 of 1 |
Author: | garde [ Mon Sep 11, 2017 8:53 pm ] |
Post subject: | Pachi UCT problems |
I'm using the GUI that came with Fuego, and started to use Pachi UCT. I see that it somehow has some analysis mode, and a command to make it stronger. But, I can't find any way to put in the code. I opened the pachi.exe (pachi-11.00-win32 is the one im using) but anything i type comes up as unknown. So I try to go into the Shell commands, and same result. I see a whole bunch of stuff in the Analyze commands from where I downloaded pachi-pachi-11.00-retsugen-9f8c498 (Like a directory?). So here are the issues: - I want it to play faster - I want to enter in the commands - I want to use analysis mode The README file that comes with Pachi UCT itself says that I can make it faster with the command /pachi -t _1200 threads=8,max_tree_size=3072 , and by changing it. Could I possibly go higher? Or will that just make it slower? And this is what it says about analysis: Analysis -------- Pachi can also help you analyze your games by being able to provide its opinion on various positions. The user interface is very rudimentary, but the ability is certainly there. There are currently several Pachi interfaces provided for this purpose. Winrate Development ~~~~~~~~~~~~~~~~~~~ Pachi can evaluate all moves within a given game and show how the winrates for both players evolved - i.e. who was winning at which game stage. This is implemented using the `tools/sgf-analyse.pl` script. See the comment on top of the script about its usage. Move Ranking ~~~~~~~~~~~~ Pachi can evaluate all available moves in a given situation and for each give a value between 0 and 1 representing perceived likelihood of winning the game if one would play that move. I.e. it can suggest which moves would be good and bad in a single given situation. To achieve the latter, note the number of move at the situation you want to evaluate and run the `tools/sgf-ratemove.sh` script. See the comment on top of the script about its usage. Pattern Move Hinting ~~~~~~~~~~~~~~~~~~~~ Pachi can show instantenous pattern-based move suggestions very much like for example Moyo Go Studio (though of course without a GUI). You can use the Move Ranking method above (tools/sgf-ratemove.sh), but pass it an extra parameter '-e patternplay'. If you don't have Pachi, but think you could help, here are the links I have: http://repo.or.cz/w/pachi.git/snapshot/ ... gen.tar.gz (Directory) http://pachi.or.cz/pachi-11.00-win32.7z (PachiUCT itself) Sorry, I'm very new to this. Is there also anyway to create a book of games that the engine can use? I want to make PachiUCT aggressive, if possible. (Maybe I'm asking WAY to much for one post.) |
Author: | emeraldemon [ Tue Sep 12, 2017 9:57 am ] |
Post subject: | Re: Pachi UCT problems |
In gogui click Tools -> GTP Shell. This pops up a text shell where you can enter commands directly to pachi. In the GTP prompt try time_settings 60 5 1 (60 seconds plus one 5-second byo-yomi) The gtp output will already show you in text what pachi thinks of its winrate and most likely sequence. You can try live "thinking graphics" with tools -> analyze commands -> Live gfx best squence (or the other choices). I haven't tried the analysis scripts you mentioned, but the extension makes me think perl scripts, which you will need to install perl and run from a terminal, not gogui, I'm guessing. |
Author: | garde [ Mon Sep 18, 2017 6:58 pm ] |
Post subject: | Re: Pachi UCT problems |
Thanks. I've now just downloaded Perl. How exactly can I use it? |
Author: | as0770 [ Mon Sep 25, 2017 7:41 am ] |
Post subject: | Re: Pachi UCT problems |
garde wrote: - I want it to play faster You can setup a timelimit within GoGui under Game -> Game Info (I have the german version so I am not sure that the menu entries are named correct by me...) garde wrote: - I want to enter in the commands This "pachi -t _1200 threads=8,max_tree_size=3072" are command line arguments, under windows you have to start the pachi like this: pachi.exe -t _1200 threads=8,max_tree_size=3072 garde wrote: - I want to use analysis mode Open the GTP window of GoGui with F9 or by menu. Here you find the engineoutput you want to see: garde wrote: Is there also anyway to create a book of games that the engine can use? I want to make PachiUCT aggressive, if possible. You can use Fuego-books by adding the commandline: "-f pachibook.dat" I don't know how to create a fuego book but you will probably find the answer in the fuego documentation. garde wrote: The README file that comes with Pachi UCT itself says that I can make it faster with the command /pachi -t _1200 threads=8,max_tree_size=3072 , and by changing it. Could I possibly go higher? Or will that just make it slower? -t is just the time setting in seconds. It will be overwritten by what you enter in GoGui. The more time pachi has, the better will it play. Threads can be expanded to the number of cores you like to give pachi, this will make it stronger. The size is the RAM you want to give pachi, this will make it slightly stronger, but don't give pachi more than what is available. If you need a stronger oponent and better analysis tool try Leela, it is easy to setup and has an own UI. garde wrote: (Maybe I'm asking WAY to much for one post.) Keep on asking if you like ![]() Best, Alex |
Page 1 of 1 | All times are UTC - 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |