Hiratuka No Igo

For discussing go computing, software announcements, etc.
wauske
Beginner
Posts: 12
Joined: Tue Apr 12, 2016 11:22 am
Rank: 12k KGS or 15k DGS
GD Posts: 0
KGS: wauske
DGS: wauske
Online playing schedule: 20:00-22:00 CET
Has thanked: 1 time
Been thanked: 4 times

Re: Hiratuka No Igo

Post by wauske »

mazetas wrote:Sorry i made the steps but a message abnormal termination of engine occurs. Any further help?


I tried a number of things and settings but nothing really generates the error you stated. Hiratuka appearently only allows starting to play from a blank board, I can't resume from an SGF or existing position because that gives a message that the current engine could not start.

Could it be that your computer does not have an NVIDIA GPU?
Sneegurd
Lives with ko
Posts: 129
Joined: Fri Mar 23, 2012 8:57 am
GD Posts: 0
Has thanked: 20 times
Been thanked: 17 times

Re: Hiratuka No Igo

Post by Sneegurd »

But see this thread, there is a non gpu version.
mazetas
Beginner
Posts: 11
Joined: Thu Mar 24, 2016 4:15 am
GD Posts: 0
KGS: mazetas
Been thanked: 1 time

Re: Hiratuka No Igo

Post by mazetas »

I must be an idiot! The problem was that after running the engine in drago interface I closed the background hiratuka interface. So I closed in reality the engine! Anyway is there a way to configure the ai at different strength levels? Thanks for your help!
Sneegurd
Lives with ko
Posts: 129
Joined: Fri Mar 23, 2012 8:57 am
GD Posts: 0
Has thanked: 20 times
Been thanked: 17 times

Re: Hiratuka No Igo

Post by Sneegurd »

Only option I know of is: viewtopic.php?p=203376#p203376

With that Hiratuka template in Drago you already have linked -po to the level strength in Drago.
("level = arg:-po *0000")

The * is being replaced by the level number, so with "Level 12" Hiratuka with "-po 120000" is called.
120000, maybe ~15 seconds of calculation on a core i7 3.4ghz - so depends on your cpu, if it's the cpu version.
Pippen
Lives in gote
Posts: 677
Joined: Thu Sep 16, 2010 3:34 pm
GD Posts: 0
KGS: 2d
Has thanked: 6 times
Been thanked: 31 times

Re: Hiratuka No Igo

Post by Pippen »

So I can play Hira with Drago. Now I wanna find out how strong it is on my computer. Ideally, I would like to let it play on KGS. Can anyone say if it's possible and how to do it (I am not a computer guy so any explantion need to be for dummies^^)
splee99
Dies with sente
Posts: 101
Joined: Thu Nov 15, 2012 9:46 pm
Rank: KGS 2 D
GD Posts: 0
Has thanked: 2 times
Been thanked: 16 times

Re: Hiratuka No Igo

Post by splee99 »

See the following link for how to run the bot. Actually I haven't tried it, but I'm also interested how strong Hirabot is running on my computer.

http://www.michna.com/kgsbot.htm

My computer is not a top end one, AMD Athlon II X2 250 3GHz. I feel Hirabot is at least 3d here (stronger than me). So it can teach me a lot of things.
Sneegurd
Lives with ko
Posts: 129
Joined: Fri Mar 23, 2012 8:57 am
GD Posts: 0
Has thanked: 20 times
Been thanked: 17 times

Re: Hiratuka No Igo

Post by Sneegurd »

If you want to see it perform against other engines, you can do so by using my cmd file. You need Java runtime environment to be installed.

1. Get GoGui https://sourceforge.net/projects/gogui/ ... p/download
2. Put below code into a new file with then ending .cmd into the GoGui top folder.
3. Edit all paths in the cmd file to match your system
4. Run it.

Code: Select all

########################################################################################
# BASED ON https://watchingnumbersgoup.wordpress.com/usage-of-gogui-twogtp-on-windows/ #
########################################################################################

set MONTECARLOPLAYOUT=10000
set GAMENAME=PachiVsHiratuka
set GAMES=20
# set TIME_MINUTES=-time 30
set BOARDSIZE=19
set KOMI=7.5

### USE YOUR INDIVIDUAL PATHS HERE - WITHOUT QUOTES ###
set LIBFOLDER=%USERPROFILE%\Programme\GoGui\lib\
set JAVA=c:\Program Files\Java\jre1.8.0_45\bin\javaw.exe

set BLACK=%USERPROFILE%\Programme\Drago\Engines\pachi-11.00-win32\pachi.exe
set ARGSB=-f %USERPROFILE%\Programme\Drago\Engines\pachi-11.00-win32\6D+book.dat -t =10000 threads=6,pondering=0
set WHITE=%USERPROFILE%\Programme\Drago\Engines\Hiratuka10_36L\Hiratuka-%BOARDSIZE%x%BOARDSIZE%.exe
set ARGSW=-po %MONTECARLOPLAYOUT%

########################################################################################
###[GNUGO]###
# %USERPROFILE%\Programme\Drago\Engines\gnugo-3.8\gnugo.exe
# --mode gtp --level 10 --chinese-rules
#
###[FUEGO]###
# %USERPROFILE%\Programme\Drago\Engines\Fuego\fuego.exe
#
###[Hiratuka No Igo]###
# %USERPROFILE%\Programme\Drago\Engines\Hiratuka10_36L\Hiratuka-%BOARDSIZE%x%BOARDSIZE%.exe
# -po %MONTECARLOPLAYOUT%
#
###[Pachi 11 UCT]###
# %USERPROFILE%\Programme\Drago\Engines\pachi-11.00-win32\pachi.exe
# -f %USERPROFILE%\Programme\Drago\Engines\pachi-11.00-win32\6D+book.dat -t =%MONTECARLOPLAYOUT% threads=6,pondering=0
########################################################################################

for /F "tokens=1,2,3 delims=:," %%a in ("%time: =0%") do set uhrzeit=%%a%%b%%c
set datetime=%date:~6,4%%date:~3,2%%date:~0,2%.%uhrzeit:~0,4%
set PREFIX=%gamename%_%datetime%
set TWOGTP=%JAVA% -jar "%LIBFOLDER%gogui-twogtp.jar" -komi %KOMI% -size %BOARDSIZE% -black ""%BLACK% %ARGSB%"" -white ""%WHITE% %ARGSW%"" %TIME_MINUTES% -verbose -games %GAMES% -sgffile %PREFIX%
REM Open the program using Java Runtime Environment for Windows (javaw.exe).  Note that this command actually passes a javaw.exe instance argument to ITSELF,
REM because both gogui and gogui-twogtp are independent Java programs.
"%JAVA%" -jar "%LIBFOLDER%gogui.jar" -komi %KOMI% -size %BOARDSIZE% %TIME_MINUTES% -computer-both -auto -program "%TWOGTP%"

echo %errorlevel%
REM Analyze/Process the saved game files and generate an HTML summary file.
"%JAVA%" -jar "%LIBFOLDER%gogui-twogtp.jar" -analyze %PREFIX%.dat
User avatar
LokBuddha
Lives with ko
Posts: 180
Joined: Sun May 16, 2010 10:15 am
GD Posts: 0
Has thanked: 6 times
Been thanked: 4 times

Re: Hiratuka No Igo

Post by LokBuddha »

Is the unclocked version 5d? How can I buy the unlocked version? Even with Google translate, I still can't get through the checkout.
Pippen
Lives in gote
Posts: 677
Joined: Thu Sep 16, 2010 3:34 pm
GD Posts: 0
KGS: 2d
Has thanked: 6 times
Been thanked: 31 times

Re: Hiratuka No Igo

Post by Pippen »

Any idea when the next version of Hira will come out?
dohduhdah
Dies with sente
Posts: 109
Joined: Tue Oct 26, 2010 5:57 pm
Rank: KGS 4 kyu
GD Posts: 0
KGS: kneh
Has thanked: 8 times
Been thanked: 4 times

Re: Hiratuka No Igo

Post by dohduhdah »

ez4u wrote:Try http://www.vector.co.jp/soft/winnt/game/se512394.html

Just check the current user information for HiraBot, HiraMC1, or HiraMC2 on KGS for the current link. HiraBot is currently a 5d while the MC's are 4d on KGS.

This is an extremely interesting program since it runs on a single-cpu (admittedly high-end), windows PC, i.e. within reach of essentially anyone. According to the info HiraBot is running on an i7-3770k with a Nvidia GTX670 GPU while the two MC's are running on (sharing?) an i7-4790k (without gpu?). It implemented some form of neural net late last year and jumped 2 dan on KGS. The HiraBot version can be downloaded for free but is locked at the '1k' level (whatever that might mean at the moment). The unlocked version costs JPY 1,728 (about $16)!



Hmmm, it seems that the new link has gone dead as well.
User avatar
ez4u
Oza
Posts: 2414
Joined: Wed Feb 23, 2011 10:15 pm
Rank: Jp 6 dan
GD Posts: 0
KGS: ez4u
Location: Tokyo, Japan
Has thanked: 2351 times
Been thanked: 1332 times

Re: Hiratuka No Igo

Post by ez4u »

The link changes every time they update the file I believe. You need to check the user info on the HiraBots playing on KGS: currently the HiraBot3x's for the non-GPU version and HiraBot3 for the (NVIDIA only) GPU version.
Dave Sigaty
"Short-lived are both the praiser and the praised, and rememberer and the remembered..."
- Marcus Aurelius; Meditations, VIII 21
dohduhdah
Dies with sente
Posts: 109
Joined: Tue Oct 26, 2010 5:57 pm
Rank: KGS 4 kyu
GD Posts: 0
KGS: kneh
Has thanked: 8 times
Been thanked: 4 times

Re: Hiratuka No Igo

Post by dohduhdah »

Is there any way to report bugs? Hirabot on KGS doesn't have an email address listed.

Sometimes Hira doesn't seem to assess the life-death status of groups correctly, like in this game where the bottom left black group should
be marked dead:

http://i.imgur.com/Q3IGjcO.png
kdbaby1412
Dies in gote
Posts: 31
Joined: Mon Nov 14, 2016 1:49 pm
Rank: KGS 4 kyu
GD Posts: 0

Re: Hiratuka No Igo

Post by kdbaby1412 »

How to run this on GoGui? I think it makes faster move on GoGui but weaker because I don't know how to adjust its strenght. ON the other hand, running on Draco with 100000+ simulation at lvl 10, but it makes move too slow.

My computer spec is: Intel Core i7-4790 3.60 GHz Quad-core Processor (8MB Cache, up to 4.0GHz) + NVIDIA GeForce GTX 745 Graphics with 4GB DDR3

Trying to let it play with zen to find out which one is stronger.
as0770
Lives with ko
Posts: 180
Joined: Sun Jun 26, 2016 8:07 am
Rank: Beginner
GD Posts: 0
Has thanked: 15 times
Been thanked: 23 times

Re: Hiratuka No Igo

Post by as0770 »

kdbaby1412 wrote:How to run this on GoGui? I think it makes faster move on GoGui but weaker because I don't know how to adjust its strenght. ON the other hand, running on Draco with 100000+ simulation at lvl 10, but it makes move too slow.

My computer spec is: Intel Core i7-4790 3.60 GHz Quad-core Processor (8MB Cache, up to 4.0GHz) + NVIDIA GeForce GTX 745 Graphics with 4GB DDR3

Trying to let it play with zen to find out which one is stronger.


You can set the number of playouts at the command line. I set it to 15000 playouts for 1 hour/game on one i5 core.

Hiratuka-19x19.exe -po 15000
kdbaby1412
Dies in gote
Posts: 31
Joined: Mon Nov 14, 2016 1:49 pm
Rank: KGS 4 kyu
GD Posts: 0

Re: Hiratuka No Igo

Post by kdbaby1412 »

as0770 wrote:
kdbaby1412 wrote:How to run this on GoGui? I think it makes faster move on GoGui but weaker because I don't know how to adjust its strenght. ON the other hand, running on Draco with 100000+ simulation at lvl 10, but it makes move too slow.

My computer spec is: Intel Core i7-4790 3.60 GHz Quad-core Processor (8MB Cache, up to 4.0GHz) + NVIDIA GeForce GTX 745 Graphics with 4GB DDR3

Trying to let it play with zen to find out which one is stronger.


You can set the number of playouts at the command line. I set it to 15000 playouts for 1 hour/game on one i5 core.

Hiratuka-19x19.exe -po 15000


Do you insert it directly inside the quotation mark? I tried it and it said error.
Post Reply