CuriosAI / sai

SAI: a fork of Leela Zero with variable komi.
GNU General Public License v3.0
104 stars 11 forks source link

how can i use net_to_model.py? #114

Open tang3 opened 4 years ago

tang3 commented 4 years ago

I want to change weight to tf model,but "python net_to_model.py weightfile" have "ValueError: Inconsistent number of weights in the file", how can i solve it?

Vandertic commented 4 years ago

Sorry, but we did not upgrade that script to work with SAI and I have no understanding of how it works. Maybe you can simply remove the check on the number of lines, but I don't know if it will work. Anyway, the tf models of recent nets can be found here. If you need the model of a previous net, feel free to ask and I will put it online for download.