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

What are the net sizes? #8

Closed
hzyhhzy opened this issue Dec 5, 2020 · 6 comments
Closed

What are the net sizes? #8

hzyhhzy opened this issue Dec 5, 2020 · 6 comments

Comments

@hzyhhzy
Copy link

hzyhhzy commented Dec 5, 2020

Obviously the "KG 20b" is not a official network, it's much faster and seems much weaker. Is it 20b128f(b20c128)?

@cryptsport
Copy link

cryptsport commented Dec 5, 2020

it's a network g170e-b20c256x2-s5303129600-d1228401921.bin.gz. you can check this by unpacking the apk, then unpacking "private.mp3", like a zip. there is a part of the code that completely coincides with the official network. (97B3000h v7a-rel-0.20, 7ED1600h v8a-rel-0.20)

@cryptsport
Copy link

cryptsport commented Dec 5, 2020

@hzyhhzy with what parameters did you run? is b20c128 for KG? can link to such a network?

@cryptsport
Copy link

here
lightvector/KataGo#321 (comment)
it is written that the network seems to be there. unclear.
@aki65 clarify the question, please. is there a converted network? and if so, only for x64?

@aki65
Copy link
Owner

aki65 commented Dec 7, 2020

If you use internal "20b" network, then:
a) for 32 bit: network is official g170e-b20c256x2-s5303129600-d1228401921 and it is evaluated as in official KataGo cpu version
b) for 64 bit: network is still official g170e-b20c256x2-s5303129600-d1228401921, but it is stored and evaluated in an optimized way. This optimization includes a parallelisation of the evaluation, so it is not very profitable (and may even hurt the results) to parallelize the search too. So you should use numSearchThreads = 1 in config. The optimization may lead to slightly different network results, but this doesn't significantly affect playing strength: I ran a series of test matches at equal playouts between the optimized evaluation and the original one, and the result was even. So the optimized evaluation is certainly not "much weaker".

@acristescu
Copy link

Can you kindly provide some info on what changes did you make to the 64 bit binary and how to run it now? It seems to want the TensorFlow .so file, but even if that is provided the binary will just exit without an error message. Basically even running ./katago version crashes like this.

@aki65
Copy link
Owner

aki65 commented Dec 8, 2020

I didn't change the way to run it, so I don't have any explanation for you why it behaves as you observe. Without any error messages there is also no clue where to look, so I'm sorry, I can't help you here.

@aki65 aki65 closed this as completed Dec 12, 2020
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

4 participants