Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large Goban support #4

Closed
kris-computer-go opened this issue Sep 6, 2021 · 26 comments
Closed

Large Goban support #4

kris-computer-go opened this issue Sep 6, 2021 · 26 comments

Comments

@kris-computer-go
Copy link

Friday9i — Yesterday at 6:03 PM
For those interested, I compiled Windows versions of KataGo1.9.1 for Large Boards, up to sizes 37x37 and 52x52. There are OpenCL and Eigen AVX2 versions, here they are: lightvector/KataGo#454 (comment)

There is some problem in lizzieyzy with this engines. White passes after few moves and always resigns.

@yzyray
Copy link
Owner

yzyray commented Sep 7, 2021

Can you send your gtp log? Its in the config(shift-x)->other settings->log GTP to file
And the file will be produced at lizzie's folder.
Maybe its not GUI's issue current katago model is trainging at max 19 boardsize,if using at 29 boardsize(which is released in official),it can play well,but i dont think it can also handle as large as 52.

@yzyray
Copy link
Owner

yzyray commented Sep 7, 2021

oh,I've found a bug on 52 boardsize,when parseing coords like 'BA4','BA' should be '25*2+1=51' but misparsed to 25+1...it lead to place wrong stone when receving engine's response like 'play BA4',but it only effect on the last two colum's move and has nothing to do with pass...

@kris-computer-go
Copy link
Author

I've managed to configure some 52x52 games. It only works with 20x256 model and preferably 1-3 sec/move.
There is a problem to save sgf, probably is too many moves in the game but parseing coords seems to be OK.

07 52x52 end

@kris-computer-go
Copy link
Author

Oh, yes you're right: the last two columns are empty

@yzyray
Copy link
Owner

yzyray commented Sep 10, 2021

If you comes up saving sgf issue again,can you try to upload your logs,by select this option.(need lasted release)
Or if ctrl-c can work,you can just use ctrl-c and paste result here.
image

@kris-computer-go
Copy link
Author

@yzyray
Copy link
Owner

yzyray commented Sep 10, 2021

Is there 'lastErrorLogs.txt'?

@kris-computer-go
Copy link
Author

Yes. An empty one. I will try another game then.

@kris-computer-go
Copy link
Author

@yzyray
Copy link
Owner

yzyray commented Sep 11, 2021

I think i caught what's wrong here,a recursion algorithm caused lack of memory.
fix52.zip
And misparse coords is also fixed.

@kris-computer-go
Copy link
Author

Thanks a lot. I will try tomorrow.
In my opinion Large Board games are interesting because almost every move is far from the corners and a clear fighting strategy can be observed.

@kris-computer-go
Copy link
Author

kris-computer-go commented Sep 12, 2021

Coords are OK now but after some 600-800 moves game is freezing
LastGtpLogs_yzy2.4.3.txt
LastErrorLogs_yzy2.4.3.txt

@kris-computer-go
Copy link
Author

The problem seems to be with displaying board in java when the move time is very short.
Can you compile an exe version please? Also on my 4K display the graphic is better in exe version.

@yzyray
Copy link
Owner

yzyray commented Sep 13, 2021

The exe has bundled java environment to the 'jre' folder in the same path with exe,and version should be JRE15.jar will use your installed java environment ,maybe your installed java environment is a bit older,so it does not support windows scale and lead to display fuzzyment.
Maybe the short move issue relative to your java environment too,error log shows 'OutOfMemoryError'.I guess older jre can use smaller memory than jre15.
Here is the exe file:
Lizzieyzy-win64-fix52.zip

@kris-computer-go
Copy link
Author

Exe file works properly. Thanks for your efford.

@kris-computer-go
Copy link
Author

There is still some minor bugs: option save raw branch (Ctrl + Alt + S) not working and no move number above winrate graph.
I think after some improvements LizzieYzy coult be a favourite gui for many.

@cryptsport
Copy link

I ran lizzieyzy on a 63x63 board, KataGo 15b - KataGo 15b!

@yzyray
Copy link
Owner

yzyray commented Sep 15, 2021

There is still some minor bugs: option save raw branch (Ctrl + Alt + S) not working and no move number above winrate graph.
I think after some improvements LizzieYzy coult be a favourite gui for many.

Yes,there is some minor issue,will be fixed in next release.
And I also create two pr about bigboard to official Lizzie,hope it can work well.
featurecat/lizzie#900
featurecat/lizzie#899

@cryptsport
Copy link

@yzyray
Thank you very much for this wonderful program! it works with KataGo 100x100! can you add save for big boards? any option.

@yzyray
Copy link
Owner

yzyray commented Sep 17, 2021

It can be saved here:
image
After loaded this engine,board will be turned to 52x52

@cryptsport
Copy link

@yzyray
if I use boards larger than 52x52 (lightvector/KataGo#454 (comment)), is there any way to save the game? Could you, for example, make a record of coordinates in sgf for such dimensions? ; W [aa27]
; B [ab26]. saving on boards more than 52x52 does not work for me

@cryptsport
Copy link

Katago works on 63x63 and 100x100 https://lifein19x19.com/viewtopic.php?p=267394#p267394
saving does not work

@cryptsport
Copy link

@kris-computer-go
you can try q5go https://github.com/bernds/q5Go, there is also a pass on the first move and a quick resign. nets didn't train on such big boards.

@yzyray
Copy link
Owner

yzyray commented Sep 18, 2021

oh,you mean save the game,i think i can make it work some time later.

@yzyray
Copy link
Owner

yzyray commented Sep 20, 2021

I've uploaded a pre-release, support save games for large board,but only itself can read this kind sgf.

There is still some minor bugs: option save raw branch (Ctrl + Alt + S) not working and no move number above winrate graph.
I think after some improvements LizzieYzy coult be a favourite gui for many.

These issues should also be fixed.

@cryptsport
Copy link

@yzyray
incredible !!! thanks a lot!!!

@yzyray yzyray closed this as completed May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants