pangafu / Hybrid_LeelaZero

Auto hybrid and test Leela Zero weights
https://github.com/gcp/leela-zero/issues/814
GNU General Public License v3.0
16 stars 5 forks source link

What should I do if I want to skip the matches? #5

Open Marcin1960 opened 6 years ago

Marcin1960 commented 6 years ago

What should I do in python script if I want to skip the matches, and just get one hybrid net out of four?

I do not know python at all. I hacked version 1.0 to get one hybrid from two nets, without any matches.

pangafu commented 6 years ago

@Marcin1960 Here is an only hybrid script you can try: hybrid.zip

Please modify the follow line as you wish w1 = open('oldWeight1.txt', 'rt') w2 = open('oldWeight2.txt', 'rt')

w3 = open('oldWeight3.txt', 'rt')

#w4 = open('oldWeight4.txt', 'rt')
weight = open('newWeight.txt', 'wt')