It is currently Mon Mar 18, 2024 11:09 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 310 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 16  Next
Author Message
Offline
 Post subject: Re: Announcing GoReviewPartner
Post #41 Posted: Tue Apr 11, 2017 7:27 am 
Gosei

Posts: 1492
Liked others: 111
Was liked: 314
You can also read some more respectable papers on score estimation, for example, a bit of a daddy

https://webdocs.cs.ualberta.ca/~mmueller/ps/goeval.pdf

_________________
North Lecale

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner
Post #42 Posted: Wed Apr 12, 2017 9:16 am 
Lives with ko
User avatar

Posts: 284
Liked others: 94
Was liked: 153
Rank: OGS 7 kyu
Javaness2 wrote:
You can also read some more respectable papers on score estimation, for example, a bit of a daddy

https://webdocs.cs.ualberta.ca/~mmueller/ps/goeval.pdf

Thanks for the link!

I made a bit of research regarding the bot mentioned inside (Explorer). My guess is that those score evaluation methods are similar to what is been used (and probably improved) into Gnugo and Fuego.

Maybe I should have a better look at Fuego for a score estimation.

_________________
I am the author of GoReviewPartner, a small software aimed at assisting reviewing a game of Go. Give it a try!

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner
Post #43 Posted: Wed Apr 12, 2017 9:18 am 
Dies in gote

Posts: 41
Liked others: 0
Was liked: 7
OGS: roy7
Universal go server handle: roy7
Once upon a time I think the Leela author told me pacci has the best end game scoring.

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner
Post #44 Posted: Fri Apr 14, 2017 1:11 am 
Gosei

Posts: 1492
Liked others: 111
Was liked: 314
https://webdocs.cs.ualberta.ca/~mmueller/ps/goeval.pdf is not too bad either

_________________
North Lecale

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner
Post #45 Posted: Sat Apr 15, 2017 3:07 am 
Lives with ko
User avatar

Posts: 284
Liked others: 94
Was liked: 153
Rank: OGS 7 kyu
Javaness2 wrote:
https://webdocs.cs.ualberta.ca/~mmueller/ps/goeval.pdf is not too bad either
Is that the same document as in your former message?

By the way, I have finished implementing my todo list for v0.5
I will test a bit more, then release an update tomorrow.

_________________
I am the author of GoReviewPartner, a small software aimed at assisting reviewing a game of Go. Give it a try!

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner
Post #46 Posted: Sun Apr 16, 2017 3:30 am 
Lives with ko
User avatar

Posts: 284
Liked others: 94
Was liked: 153
Rank: OGS 7 kyu
Hi everybody!

So here I come with v0.5, the two main features added to v0.4 are:
  • Possibility to display Leela's sequences move after move using mouse wheel of keyboard up/down keys. It was necessary because Leela often comes up with very long sequences (try reviewing a 9x9 games with 60s thinking time...).
  • Possibility to focus the analysis in either black or white player

I also added the neural network value. But I am not sure what it really means (at least values on 9x9 seem meaningless).

For next v0.6 I do not plan to add new features (well, I am still opened to suggestions indeed). My target for v0.6 is to completely separated GnuGo and Leela, and then offer an GnuGo review of the game. My reasons for this are:
  • For me it's important to be able to offer a completely opensource solution
  • GnuGo moves are ok for 15kuy and weaker players
  • For those players, on modern multi-threaded computers, GnuGo should be able to perform an analysis very quickly, this is probably more important
  • Most importantly, this is paving the way to adding support to additional bots later:
    • By forcing me to restructure the code in a cleaner way
    • Also, by having a generic code that works with minimal GTP only bots (and no useful information available otherwise). It make it possible to support any bot that support at least the GTP undo command, but will provide only one alternative variation per move (and at the expense of very very long analysis time). Currently, Rayon falls in that category, but somebody has started to implement some dedicated GTP commands to help extract more information from Rayon (see the antifermion branch on GitHub). So let's hope for the best.

By the way, I feel bad about something: I noticed I received a "pull request" on my Github project, that was one months ago, and I hadn't noticed until yesterday. In fact, I rarely go on Github, mostly working on my computer, alternating commit and push commands.
Honestly, I have no idea how to handle a pull request, and I missed the opportunity to learn.
This pull request was about making GoReviewPartner working with Leela 0.9, something I did by myself later, unknowingly about this pull request. As far as I understand, this is an anonymous pull request ("guest093843"), so in case this is a L19 member, I would like to apologized to that contributor if I appeared rude by ignoring him.

Download for windows at the usual place, code source on Github.

_________________
I am the author of GoReviewPartner, a small software aimed at assisting reviewing a game of Go. Give it a try!

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.5
Post #47 Posted: Sun Apr 16, 2017 6:14 am 
Dies in gote

Posts: 41
Liked others: 0
Was liked: 7
OGS: roy7
Universal go server handle: roy7
The neural networks are only used in 19x19 and should be ignored for other board sizes. :) Leela is far stronger in 19x19.

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.5
Post #48 Posted: Sun Apr 16, 2017 6:15 am 
Dies in gote

Posts: 41
Liked others: 0
Was liked: 7
OGS: roy7
Universal go server handle: roy7
BTW there's another open source bot out there called Matilda:

https://github.com/gonmf/matilda

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner
Post #49 Posted: Sun Apr 16, 2017 8:59 am 
Lives with ko

Posts: 136
Liked others: 47
Was liked: 21
Rank: KGS 6 dan
pnprog wrote:
I also added the neural network value. But I am not sure what it really means (at least values on 9x9 seem meaningless).


As far as I know, it's an evaluation that's much more precise than MCTS in terms of who's leading at certain point of the game... and that's actually what Deepmind team is really proud of. It happens quite often that Monte Carlo is around 50% and NN value (Net Win %) is above 75% which is basically game over (almost sure win) :bow:

Edit: May I notice that on the right screen "Neural network value" is actually Net Prob %, which is probability of a professional player playing that certain move.


Last edited by johnsmith on Sun Apr 16, 2017 10:34 am, edited 1 time in total.
Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner
Post #50 Posted: Sun Apr 16, 2017 10:33 am 
Lives with ko

Posts: 131
Liked others: 0
Was liked: 7
pnprog wrote:
Hi!
I finally had a quick try with Ray (rn-3.11.1) under Windows.

As it stands now, Ray seems to not offer that much useful information, see by yourself the result of GTP command "genmove black":
Attachment:
ray_stderr.png

I think the interesting part is the "Best Sequence" that should shows what Ray expects to be the following moves and the different winning percentages (I do not know the meaning).

For comparison, Leela always propose a several sequences with winning percentage, that's much more information useful to game review.


You can tell them here https://github.com/zakki/Ray/issues what you need :tmbup:
Or just ask https://sjeng.org/ gcp at sjeng dot org


Last edited by goame on Sun Apr 16, 2017 10:49 am, edited 1 time in total.
Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner
Post #51 Posted: Sun Apr 16, 2017 10:48 am 
Lives with ko

Posts: 131
Liked others: 0
Was liked: 7
goame wrote:
-show white and black moyo.
-show white and black territory.
I do not know any method to do that in fact. The closest I got so far is asking Gnugo to quickly play until the end of the game to find out, but it's slow, and does not really work when there are group with unclear life and death status.

goame wrote:
-click in the right window on variation a, b, c,... and let me see every move with the arrow keys, so it is easier to remember and better to learn.
Yes, I plan to do that soon. I plan to use the mouse wheel instead of the keyboard, but that's the idea. Yeah, maybe I should use both keyboard and mouse wheel, for laptop users with out mouse wheel.

goame wrote:
-use different colors for best, second ... variation.
Currently, the letters indicate the order from best (A) to not so good (B, C, D) and blue/red to differentiate winning rate >50% I do not have much margin to change the colors in fact

goame wrote:
-take only the 6 moves (variations) with the highest playouts, it doesn't make sense the have one variation with 64400 playouts and another mit 47 playouts.
-display variation 2-6 only if they have at least 25% playouts from the first variation with the most playouts.
-an infinite analysis so I can still analyse the game when looking on it after your first analysis is finished.
-also the number of playouts/simulations of the first analysis for each move should be saved. When I analyse the game later and get higher playouts, the data should change automatically.
Those are idea that have more to see with Leela internal algorithm. Not something I can change at my level. It will probably evolve as Leela improve in the near future.

goame wrote:
There is a new version rn-3.11.1 https://github.com/zakki/Ray/releases see also the issues and ask there if you need help;)
Are you a member of Ray developer team????[/quote]

Do you have a clue how to fix the show moyo and territory problem?
Lots of people will be happy to have different colors, because for example:
first variation red, second variation red, = equal
but first variation has 75% chance to win and second has 51% chance to win = not equal.
I'm not a member of Ray developer team.

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner
Post #52 Posted: Sun Apr 16, 2017 11:16 am 
Lives with ko

Posts: 131
Liked others: 0
Was liked: 7
pnprog wrote:
Hi everybody!

For next v0.6 I do not plan to add new features (well, I am still opened to suggestions indeed). My target for v0.6 is to completely separated GnuGo and Leela, and then offer an GnuGo review of the game. My reasons for this are:
[list]
[*]For me it's important to be able to offer a completely opensource solution
[*]GnuGo moves are ok for 15kuy and weaker players
[*]For those players, on modern multi-threaded computers, GnuGo should be able to perform an analysis very quickly, this is probably more important


Wouldn't it be easier to let the users decide which gtp engine they want use? Leela, Rayon, later Crazystone and Zen.
GnuGo is to weak. Every Go beginner is after a month 15 kyu or stronger.
It is important to have a good analysis, fast is second point, because the go players want to learn something. And even more improtant it is for beginners because when they learn also the bad moves from GnuGo they will repeat it and after a year with training on GnuGo blunders, they will need 10 years to fix them.

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.5
Post #53 Posted: Mon Apr 17, 2017 5:12 am 
Lives with ko
User avatar

Posts: 284
Liked others: 94
Was liked: 153
Rank: OGS 7 kyu
roy7 wrote:
BTW there's another open source bot out there called Matilda:

https://github.com/gonmf/matilda
Thanks, I will have a try too.

_________________
I am the author of GoReviewPartner, a small software aimed at assisting reviewing a game of Go. Give it a try!

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner
Post #54 Posted: Mon Apr 17, 2017 6:07 am 
Lives with ko
User avatar

Posts: 284
Liked others: 94
Was liked: 153
Rank: OGS 7 kyu
goame wrote:
Do you have a clue how to fix the show moyo and territory problem?
Not at all, really, this is not an easy task. The fact that all Go servers score estimators suck just shows that. At least, I am not the one who will come up with a practical solution. But if somebody designs an algorithm that is reasonably accurate, I would be happy to try to implement it. In my own experience, The Many Faces Of Go had a pretty good one for my level.

goame wrote:
Lots of people will be happy to have different colors, because for example:
first variation red, second variation red, = equal
but first variation has 75% chance to win and second has 51% chance to win = not equal.
For the color of the variation, I implemented the proposal from pleiade67:
pleiade67 wrote:
Would be nice to have two different color when going from win (winrate > 50% --> blue) to loss (winrate > 50% --> red) for the current color (black or white).
What would be your proposal exactly?

goame wrote:
Wouldn't it be easier to let the users decide which gtp engine they want use? Leela, Rayon, later Crazystone and Zen.
For sure it would be easier. But currently, all bots are unequal in what they offer that can be used for review purpose:
  • Most of them propose the basic set of GTP command, but one cannot go that far with only that (GTP was not designed for that).
  • Then, different bots propose more information but in different ways (private GTP command, stderr channel) so it make it impossible to have a generic solution to extract that information
  • Some of them do not propose anything, like Zen or Crazy Stone that do not even have a GTP mode (or they do?)
The implication is that I will have to make dedicated codes to support different bots. At least I will propose a generic solution that is GTP only, and should make it possible to get, for each moves of the game, one (and only one) alternative sequence (no winning probability).

goame wrote:
GnuGo is to weak. Every Go beginner is after a month 15 kyu or stronger.
At least I was not :D
And for some of us, Leela is weak :lol:
If I remebmer well, on KGS, GnuGo 3.8 level is that of a SDK (8k?). I thinks it has a lot to teach to 15kyu and weaker players. But nobody will be forced to use it.

goame wrote:
It is important to have a good analysis, fast is second point, because the go players want to learn something.
For those new players that are still in the "loose 100 games as soon as possible" period, then a fast analysis by GnuGo will be more useful than a long analysis from Leela.

goame wrote:
And even more important it is for beginners because when they learn also the bad moves from GnuGo they will repeat it and after a year with training on GnuGo blunders, they will need 10 years to fix them.
Yes, this is a well known risk.

_________________
I am the author of GoReviewPartner, a small software aimed at assisting reviewing a game of Go. Give it a try!

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.5
Post #55 Posted: Mon Apr 17, 2017 7:58 am 
Dies with sente
User avatar

Posts: 97
Liked others: 26
Was liked: 20
KGS: 2k
Tygem: 2d
IGS: 1k
Wbaduk: 2d
OGS: 1K
Hi.
Just passing by to say I tried the v0.5 and think it's awesome! ^^
Thanks a lot for everything. :D

_________________
Bored with skillful play? Watch my blunders on my YouTube Channel

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.5
Post #56 Posted: Mon May 01, 2017 2:08 am 
Lives in gote

Posts: 408
Location: Poland, Gliwice
Liked others: 127
Was liked: 94
Rank: EGF 3kyu
Universal go server handle: tommyray (1d/2d)
I have a small problem on macOS with Leela and GRP
When I try to run sgf analysis in GRP, after I point the sgf file I get this error:
Code:
Exception in Tkinter callback
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 1536, in __call__
    return self.func(*args)
  File "/Users/tomaszp/Downloads/goreviewpartner-0.5/leela_analysis.py", line 694, in start
    self.popup=RunAnalysis(newtop,self.filename,move_selection)
  File "/Users/tomaszp/Downloads/goreviewpartner-0.5/leela_analysis.py", line 94, in __init__
    self.initialize()
  File "/Users/tomaszp/Downloads/goreviewpartner-0.5/leela_analysis.py", line 373, in initialize
    leela=gtp(leela_command_line)
  File "/Users/tomaszp/Downloads/goreviewpartner-0.5/gtp.py", line 8, in __init__
    self.process=subprocess.Popen(command, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


Homebrew installed, Leela works, and GRP also open, both can be run separately with no error. Any ideas whats the problem here?

_________________
Tsumego/Tesuji apps for iPad, iPhone & Android devices:http://www.lifein19x19.com/forum/viewtopic.php?f=18&t=7511

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.5
Post #57 Posted: Mon May 01, 2017 8:43 am 
Lives with ko
User avatar

Posts: 284
Liked others: 94
Was liked: 153
Rank: OGS 7 kyu
lobotommy wrote:
I have a small problem on macOS with Leela and GRP
When I try to run sgf analysis in GRP, after I point the sgf file I get this error:
Apparently, an issue appears when GoReviewPartner is launching Leela. A few questions to help me identify the issue:
  • What is the command line set for Leela in setting? The GTP version of Leela has to be used, not the GUI version (it's a separate download)
  • Did you add the two parameters? --gtp --noponder
  • Does it work when you copy it and run it directly into a terminal?

_________________
I am the author of GoReviewPartner, a small software aimed at assisting reviewing a game of Go. Give it a try!

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.5
Post #58 Posted: Mon May 01, 2017 9:02 am 
Lives with ko
User avatar

Posts: 284
Liked others: 94
Was liked: 153
Rank: OGS 7 kyu
Hi!

This is just to give an update on GoReviewPartner. I am still working on completely separating analysis for Leela and Gnugo, with the later destined for 15kuy and weaker players. The analysis part by GnuGo is more or less working, it's using threads to speed up the work, although I think it could be sped up even more in the future (as they say: make it work first, then make it work fast)
The main purpose of all of this is to make it possible for me to add support of other bots later (I am having Ray in mind).

I am taking advantage of Gnugo extended set of GTP command to make it possible to display the territory during the game, as estimated by Gnugo. It looks like this:
Attachment:
Screenshot0000.png
Screenshot0000.png [ 54.99 KiB | Viewed 17770 times ]
In fact, is used the standard sgf properties [TB] and [TW] to mark the territories during the analysis. When such properties are available, the the "territories" button appears. So if other bots add support for this function, it should be pretty easy to add it into GoReviewParter.

I am not so sure the score estimation of Gnugo is consistent with it's territories estimation, so I might drop the former.

_________________
I am the author of GoReviewPartner, a small software aimed at assisting reviewing a game of Go. Give it a try!


This post by pnprog was liked by: pleiade67
Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.5
Post #59 Posted: Fri May 12, 2017 4:06 pm 
Lives in gote
User avatar

Posts: 392
Liked others: 23
Was liked: 43
Rank: NR
after a recent system rebuild, GRP no longer works; presumably a configuration error. i don't have gnugo installed - could that be it?

i vaguely remember this error turning up once before, but have forgotten the fix

using latest edition of GRP from GitHub

Settings:
/home/d/go/clients/leela_080_linux_x64 --gtp --noponder
gnugo-3.8\gnugo.exe --mode gtp

d@d-HP-Pavilion-dv6700-Notebook-PC:~/go/clients/goreviewpartner-master$ python main.py
refreshing
refreshing
/home/d/go/clients/goreviewpartner-master/sgf/na1line.sgf
gamename: /home/d/go/clients/goreviewpartner-master/sgf/na1line
filename: /home/d/go/clients/goreviewpartner-master/sgf/na1line.sgf
========= move selection
[116]
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1545, in __call__
return self.func(*args)
File "/home/d/go/clients/goreviewpartner-master/leela_analysis.py", line 694, in start
self.popup=RunAnalysis(newtop,self.filename,move_selection)
File "/home/d/go/clients/goreviewpartner-master/leela_analysis.py", line 94, in __init__
self.initialize()
File "/home/d/go/clients/goreviewpartner-master/leela_analysis.py", line 379, in initialize
gnugo=gtp(gnugo_command_line)
File "/home/d/go/clients/goreviewpartner-master/gtp.py", line 8, in __init__
self.process=subprocess.Popen(command, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.5
Post #60 Posted: Mon May 15, 2017 9:16 am 
Lives with ko
User avatar

Posts: 284
Liked others: 94
Was liked: 153
Rank: OGS 7 kyu
djhbrown wrote:
Settings:
/home/d/go/clients/leela_080_linux_x64 --gtp --noponder
gnugo-3.8\gnugo.exe --mode gtp

Under *ubuntu, first install gnugo:
Code:
sudo apt-get install gnugo
then the setting for gnugo is simply
Code:
gnugo --mode gtp

_________________
I am the author of GoReviewPartner, a small software aimed at assisting reviewing a game of Go. Give it a try!

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 310 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 16  Next

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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group