It is currently Sun Jul 25, 2021 12:18 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
Offline
 Post subject: Script to run Katago kyu rank bots via gtp (in Sabaki)
Post #1 Posted: Mon Nov 09, 2020 6:26 am 
Lives with ko

Posts: 143
Liked others: 190
Was liked: 29
Rank: 25 kyu
ai2gtp.py - https://github.com/sanderland/katrain-bots https://github.com/bale-go/katrain-bots
I asked someone on reddit and this is how they said they did it. Does it work for anyone? very interested in testing the 6b net around kyu rank 10 and stronger.
reddit-
I had katago installed via homebrew (brew install katago).
Cloned https://github.com/sanderland and edited the configuration a bit in ai2gtp.py:

AI_SIMPLE_OWNERSHIP = False ENGINE_SETTINGS = { "katago": "/usr/local/bin/katago", "model": "/path/to/katago/network.bin.gz", "config": "/path/to/katago/config.cfg", "threads": "6", "max_visits": 5, "max_time": 5.0, "_enable_ownership": ai_strategy in [AI_SIMPLE_OWNERSHIP], "altcommand": "" }

Added "ai2gtp.py 14k" as an engine in Sabaki settings (see bot_strategies enumeration in settings.py).

Maybe there were a few other small things, I don't remember.
-------

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group