Reading of file with weights

321 views
Skip to first unread message

Marek Balaz

unread,
Sep 17, 2020, 3:56:18 AM9/17/20
to LCZero
Hello, 

I would like to make some experiments with learned networks, but now I am struggling with reading of file with weights. Experiments must be automatic, so I can't use Lc0 GUI program.

I implemented network architecture according to methods in github file ( https://github.com/LeelaChessZero/lczero-training/blob/master/tf/tfprocess.py ). Then I downloaded weight's file (.pb) from Sergio-V and set parameters like number of filters, blocks, etc. Now I want to read .pb file, but I don't know how. I read methods for reading weights, but in code is imported libraby with name proto.net_pb2 and I don't know, where can I find this library. 

Can you help me?
Thanks for each advice! :)

Denis Karpitskiy

unread,
Sep 17, 2020, 4:05:20 AM9/17/20
to LCZero
Hi,
If I understand you correctly,  this problem discussed here, please see https://groups.google.com/g/lczero/c/9HX5CMCz2M0/m/7vbjkSbvAwAJ 

четверг, 17 сентября 2020 г. в 11:56:18 UTC+4, balaz.m...@gmail.com:

Marek Balaz

unread,
Sep 23, 2020, 3:09:04 AM9/23/20
to LCZero
Thanks for useful answer, it is working! 

Dátum: štvrtok 17. septembra 2020, čas: 10:05:20 UTC+2, odosielateľ: Denis Karpitskiy
Reply all
Reply to author
Forward
0 new messages