It is currently Thu Apr 19, 2018 2:39 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 215 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11
Author Message
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.10 (supporting Leela Zer
Post #201 Posted: Wed Apr 11, 2018 6:28 pm 
Beginner

Posts: 12
Liked others: 2
Was liked: 1
Rank: Tygem 5d
pnprog wrote:
Caesura wrote:
Hi, is it possible to provide an option to download GRP with CPU-only Leelazero? Thank you!
I just added the link on the download page.


Awesome, thank you so much!

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.11 (with Live Analysis)
Post #202 Posted: Sat Apr 14, 2018 4:02 pm 
Beginner

Posts: 3
Liked others: 0
Was liked: 0
Rank: EGF 10 kyu
I wonder if this would be a good place to ask.. I just built leela zero and goreviewpartner using the git repos on a mac. Everything worked fine, I can review a game.

However, my mac is quite slow. I would like to spin an Amazon AWS instance to run the analysis.
There doesn't appear to be any way to configure goreviewpartner to connect it if I do?

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.11 (with Live Analysis)
Post #203 Posted: Sat Apr 14, 2018 11:42 pm 
Lives with ko

Posts: 157
Liked others: 20
Was liked: 67
Rank: OGS 7 kyu
Hi!
AriGato wrote:
I wonder if this would be a good place to ask.. I just built leela zero and goreviewpartner using the git repos on a mac. Everything worked fine, I can review a game.

However, my mac is quite slow. I would like to spin an Amazon AWS instance to run the analysis.
There doesn't appear to be any way to configure goreviewpartner to connect it if I do?
I never used AWS, but I see no reason why it wouldn't work.

  • If it possible, have GRP directly run on the AWS (GRP can perform analysis in command line mode, with or without graphical interface).
  • If GRP cannot run of AWS, only Leela Zero of AWS, it should still be possible, but a bit more tricky: I did ran GRP on my computer, with Leela on another computer, through SSH, the important thing is that you can have GRP run Leela from inside a bash file, for example, in the settings:
    • Command: /home/user/running_leela_from_AWS.sh
    • Parameters: (nothing here)
    • Inside running_leela_from_AWS.sh: whatever command that make you remotely run Leela Zero from AWS

_________________
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.11 (with Live Analysis)
Post #204 Posted: Sun Apr 15, 2018 7:11 am 
Beginner

Posts: 3
Liked others: 0
Was liked: 0
Rank: EGF 10 kyu
Quote:
If it possible, have GRP directly run on the AWS (GRP can perform analysis in command line mode, with or without graphical interface).

I think this is worth a try. What command line parameters does it take? I had a quick view on the sources, and I didn't notice any. :scratch:

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.11 (with Live Analysis)
Post #205 Posted: Sun Apr 15, 2018 7:50 am 
Lives with ko

Posts: 157
Liked others: 20
Was liked: 67
Rank: OGS 7 kyu
AriGato wrote:
Quote:
If it possible, have GRP directly run on the AWS (GRP can perform analysis in command line mode, with or without graphical interface).

I think this is worth a try. What command line parameters does it take? I had a quick view on the sources, and I didn't notice any. :scratch:
Haha, those are the secret features that you will find at the very end of the documentation :)

_________________
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.11.1 (with Live Analysis
Post #206 Posted: Mon Apr 16, 2018 4:30 am 
Lives with ko

Posts: 157
Liked others: 20
Was liked: 67
Rank: OGS 7 kyu
Hi!

I just want to mention I fixed the "known bugs" of the version 0.11, and so released a version 0.11.1

So, at the moment, my todo list for v0.12:
  • Add support for generic GRP bots, to use for Live Analysis
  • Merge the 2 comment boxes into one, that by default show the comments of the real game variation, and when pointing the mouse on a left side variation, then displaying that variation's comments. If possible, make them stretch vertically
  • Change the table behaviour in such a way, that it auto-updates when you step through the game moves
  • If possible, provide way to resume an analysis that would have been interrupted. But I don't know at the moment how to do that.
  • An option to keep the variations only when the difference in win rate with the game move are higher/lower than a certain value. Might be merged with the existing feature of keeping only the variations when the moves are different.
  • If possible, add an option to play a sound when playing a stone (in open position, or live analysis), but the sound file (*.wav, *.mp3) would be provided by the user, not by GRP.
  • Maybe have the last played stone somehow "shine" for 1~2s, to help locate it visually. I could also extend this feature by allowing any stone (or location) to shine after mouse click on it. This feature, and the one above, would be of use for people streaming using GRP. For example, in the Michael Redmond video, he often has to mark the stones with A, B, C... to make it clear what group of stones he is talking about (because his mouse pointer is barely visible on the video).

Generally speaking, I am looking for ideas to replace both gobans by only one, or maybe reuse the left goban for open position, to de-clutter a bit the interface.

_________________
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: Dontbtme
Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.11.1 (with Live Analysis
Post #207 Posted: Mon Apr 16, 2018 4:49 am 
Dies with sente
User avatar

Posts: 89
Liked others: 20
Was liked: 16
KGS: 2k
Tygem: 2d
IGS: 1k
Wbaduk: 2d
OGS: 1K
pnprog wrote:
An option to keep the variations only when the difference in win rate with the game move are higher/lower than a certain value.

That would be AWESOME! :tmbup:
That way, weak players could stick with game changer mistakes only (to focus on what matters most), while strong players wouldn't feel compelled to imitate the bot' style when their own moves were perfectly fine to begin with too.
In short, with such a feature I think ANY KIND of players could benefit greatly from GoReviewPartner's insights.
This is getting real exciting. Thanks and thanks A LOT again! :bow:

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

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.11.1 (with Live Analysis
Post #208 Posted: Mon Apr 16, 2018 6:05 am 
Dies in gote

Posts: 39
Liked others: 2
Was liked: 6
Rank: 1k
Great your updating it, its been great to use with leelaZero.

As regards ideas:

I like to see the graph, mybe make it always at the bottom of the window.

A way to get rid of the left side board (the one with game variation) is that when the game variation and bot variation are the same, then if user holds down 'shift key' when over the variation it shows the game variation.
I almost never look at game variation because i know it already.
Actually having the game move in a bolder circle might be best to visually see it than have funky 'shift' keys

the table of percentages with variations always displayed, and have the current game percentage as well so i know how much less % the move i played was.

not sure what the left bottom comment box does. it says 'Move 7
Black to play, in the game, black played E16
For this position, Leela Zero would play: E17'
which is nothing i dont get from just looking at the boards.

The right bottom box could be replaced with the table of variaton percentages always shown

bigger board, nicer stones, etc, although I'm fine with it, its functional.

The start review button after doing a 'run sgf file analysis' doesn't work on my installation. using linux debian.


Thanks for GRP! it really is very usefull and hopefully I've not been to nit picky with my ideas!

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.11.1 (with Live Analysis
Post #209 Posted: Mon Apr 16, 2018 8:45 am 
Lives with ko

Posts: 157
Liked others: 20
Was liked: 67
Rank: OGS 7 kyu
Dontbtme wrote:
That way, weak players could stick with game changer mistakes only (to focus on what matters most), while strong players wouldn't feel compelled to imitate the bot' style when their own moves were perfectly fine to begin with too.
Haha, I did not saw it like this, but yes, this bot imitation style is quite the hot topic at the moment, and GRP somehow encourage that. In fact, the proposal to keep variations only based on win rate difference is a proposal from a github user, not my own idea. The way I see that setting is as a % value that the user can enter in 3 ways, maybe something like this:
  • "3" : keep variations with win rate 3% higher or 3% lower than the game actual move
  • ">3" : keep variations with win rate 3% higher than the game actual move
  • "<3" : keep variations with win rate 3% lower than the game actual move
  • Maybe more symbols, to keep variation within 3% or something, like ">3<" ? There must be an efficient notation for that all this, I will have to check wikipedia

By the way:
Dontbtme wrote:
But the thing is: I HAVE A DREAM :lol:
Normally, with v0.11.1, you should be able to use the setting "Keep only variations when bot move and actual game move differ", to keep only the variations for LZ's moves that are different than yours. Then, by converting the RSGF file to SGF file, all the data will be saved back inside the SGF file as comments, so they should be readable on your smartphone.

The thing is, to reduce the size of the RSGF file, all data are now saved as non standard SGF properties, and formatted nicely by GRP when reviewing the RSGF file. It reduces the size, and so the data are latter displayed in English/french/German based on the user setting. But converting back to SGF brings those data back in SGF comments, readable on any SGF editor.

_________________
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.11.1 (with Live Analysis
Post #210 Posted: Mon Apr 16, 2018 1:29 pm 
Dies with sente
User avatar

Posts: 89
Liked others: 20
Was liked: 16
KGS: 2k
Tygem: 2d
IGS: 1k
Wbaduk: 2d
OGS: 1K
Really? Cool! :D
To be honest, I saw that GRP evolved quite a bit, but since I've been really busy lately, I wasn't able to get the hang of all its features yet... but since you posted a link to the documentation above, that means I'll finally be able to :)

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

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.11.1 (with Live Analysis
Post #211 Posted: Mon Apr 16, 2018 7:14 pm 
Beginner

Posts: 1
Liked others: 0
Was liked: 0
What are the parameters and commands for leelazero on Linux
I currently have

/home/user/desktop/goreviewparner-master/leelaz
--gtp --noponder --weights leelaz-model-swa-16-128000.txt

But when testing goreviewpartner returns errors
-errno 2 no such file or directory

-Using 2 thread(s).
RNG seed: 16163106202285108274
Detecting residual layers...v1...192 channels...15 blocks.
Initializing OpenCL.
OpenCL: clGetPlatformIDs
terminate called after throwing an instance of 'cl::Error'
what(): clGetPlatformIDs


-Could not run LeelaZero using command from config.ini file: home/user/Desktop/goreviewpartner-master/leelaz
--gtp --noponder --weights leelaz-model... no such file or directory


I've ran the py file for leela_zero and still no good.

What might be the problem here?

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.11.1 (with Live Analysis
Post #212 Posted: Mon Apr 16, 2018 9:43 pm 
Lives with ko

Posts: 157
Liked others: 20
Was liked: 67
Rank: OGS 7 kyu
Hi!
nasdaq wrote:
I like to see the graph, mybe make it always at the bottom of the window.
I am thinking about something like this, but I will probably keep that for v2.0, when I will rewrite GRP using another graphical toolkit. I will try to make that graphs windows somehow "dockable" (<- i am not sure of the word) means that it can float, or be "docked" to some part of the existing interface.

I started experimenting with wxpython few days ago, I will probably go for that toolkit, but I will start probably later this year, in august or after. So in the future, there will be:
  • GRP 1, in python 2.7 and tkinter, for all computers that are stuck with old OS (window xp, windows 7, ubuntu 17.10 and earlier...)
  • GRP2, in python 3.7 and wxpython 4, for computers with recent OS

Quote:
A way to get rid of the left side board (the one with game variation) is that when the game variation and bot variation are the same, then if user holds down 'shift key' when over the variation it shows the game variation.
I almost never look at game variation because i know it already.
Yep, something like this. Maybe something like "firefox/chrome tabs", and pressing shift move from one tab from another tab. I like the idea of tabs, because one can have as much as one wants. So opening positions for manual play would open more tabs and so one.

As for me, I use the left tab a lot in fact, to check what I played in the game (haha, I am not that good at go to even remember my games) but also I like to have an "empty" board available, to eventually read out other things.

Quote:
Actually having the game move in a bolder circle might be best to visually see it than have funky 'shift' keys
Ha :o I just remember that in v.10 and before, the letter in the circle was in black if that was the same move as the actual game. I broke that in v.11, planned to fix it for v.11.1 but forgot :roll:

Quote:
the table of percentages with variations always displayed, and have the current game percentage as well so i know how much less % the move i played was.
This one for sure.

Quote:
not sure what the left bottom comment box does. it says 'Move 7
Black to play, in the game, black played E16
For this position, Leela Zero would play: E17'
which is nothing i dont get from just looking at the boards.
Here, there is something strange. Normally, the left box is much more verbose now. Here is what it says for Leela:
Code:
Move 8
White to play, in the game, white played R6
For this position, Leela would play: R6

White win probability:
• before r6: 49.87%
• after r6: 49.76% (-0.11pp)

White Value Network win probability:
• before r6: 48.25%
• after r6: 48.14% (-0.11pp)

White Monte Carlo win probability:
• before r6: 52.92%
• after r6: 52.82% (-0.10pp)
It is the same text that is already available in the table windows.

Quote:
The right bottom box could be replaced with the table of variaton percentages always shown
If I manage to keep only one goban on screen, then there should be enough place to always display the table. But I may have to wait for GRP2 for that, because tkinter (the graphical toolkit used for GRP1) is quite limited.

Quote:
The start review button after doing a 'run sgf file analysis' doesn't work on my installation. using linux debian.
Could you share the error log for that one?

Quote:
Thanks for GRP! it really is very usefull and hopefully I've not been to nit picky with my ideas!
No problem, ideas and suggestions are very welcomed :salute:

_________________
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.11.1 (with Live Analysis
Post #213 Posted: Tue Apr 17, 2018 3:36 am 
Dies in gote

Posts: 39
Liked others: 2
Was liked: 6
Rank: 1k
The 'start review button' works if i start GRP from a terminal. so 'python main.py'
It was just because i was executing the command from a gui start menu without the terminal. So I guess it works fine, my bad.

wxwidgets/python is a good choice. I've used qt4 before on a project and it was fine with C++. https://sourceforge.net/projects/baduk/

Another choice would be html5 and js, which would be more modern and fun choice. Although that would be a major rewrite of the code...

Top
 Profile  
 
Offline
 Post subject: Re: Announcing GoReviewPartner - v0.11.2 (with Live Analysis
Post #214 Posted: Tue Apr 17, 2018 5:15 am 
Lives with ko

Posts: 157
Liked others: 20
Was liked: 67
Rank: OGS 7 kyu
nasdaq wrote:
I've used qt4 before on a project and it was fine with C++. https://sourceforge.net/projects/baduk/
qt is nice, I had some prior experience making a Go app using qt and python, using pyside. Apparently, wxpython is more "pythonic" than other toolkit using python. One advantage of
Quote:
wxpython
is that it really reuse the system widget, there are 100% identical, not 90% identical like Qt (or 40% identical like tkinter...) also the installation weight would be lower, maybe the installation easier... Anyway, those are what I am trying to figure out at the moment, I am making a proof of concept. In the end, if wxpython does not do the job, I will use pyside2 which apparently [url=blog.qt.io/blog/2018/04/13/qt-for-python-is-coming-to-a-computer-near-you/]is going to be developed again[/url].

Quote:
Another choice would be html5 and js, which would be more modern and fun choice. Although that would be a major rewrite of the code...
Would be hard for me. Now that I tried python, I just don't want to try any other language :lol:

By the way, I screwed up my previous update with v0.11.1 (some important commit missing) so I pushed a new update today, v0.11.2, that also fixes the "letter in the circle was in black" issue I forgot in last update.

_________________
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.11.2 (with Live Analysis
Post #215 Posted: Wed Apr 18, 2018 5:24 am 
Lives with ko

Posts: 157
Liked others: 20
Was liked: 67
Rank: OGS 7 kyu
shamwow wrote:
What are the parameters and commands for leelazero on Linux
I currently have

/home/user/desktop/goreviewparner-master/leelaz
--gtp --noponder --weights leelaz-model-swa-16-128000.txt

But when testing goreviewpartner returns errors
-errno 2 no such file or directory

-Using 2 thread(s).
RNG seed: 16163106202285108274
Detecting residual layers...v1...192 channels...15 blocks.
Initializing OpenCL.
OpenCL: clGetPlatformIDs
terminate called after throwing an instance of 'cl::Error'
what(): clGetPlatformIDs


-Could not run LeelaZero using command from config.ini file: home/user/Desktop/goreviewpartner-master/leelaz
--gtp --noponder --weights leelaz-model... no such file or directory


I've ran the py file for leela_zero and still no good.

What might be the problem here?


Hum, terminate called after throwing an instance of 'cl::Error' what(): clGetPlatformIDs suggests an issue with OpenCL, I have such error in Unbutun when I don't use the proprietary drivers, or an old version of the drivers.

Does the command alone works? If you run this:
Code:
cd /home/user/desktop/goreviewparner-master/
./leelaz --gtp --noponder --weights leelaz-model-swa-16-128000.txt


Also, it seems the weight file name is "cut" (leelaz-model instead of leelaz-model-swa-16-128000.txt) but I am not sure. Please double check that the command/parameter in the config.ini file complete.

_________________
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  [ 215 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Majestic-12 [Bot] and 4 guests


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