We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11d4540 commit fcc8a4eCopy full SHA for fcc8a4e
trainer/main.py
@@ -7,6 +7,7 @@
7
from batchloader import BatchLoader
8
from model import PerspectiveNetwork
9
from train import train
10
+from quantize import load_quantized_net
11
12
13
def main():
@@ -31,6 +32,8 @@ def load_config(config_path="config.json"):
31
32
33
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
34
model = PerspectiveNetwork(config["hidden_layer_size"]).to(device)
35
+ #model = load_quantized_net("nnue.bin", config["hidden_layer_size"], 403, 64).to(device)
36
+ model.eval("rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR", device)
37
38
paths = [os.path.join(data_root.encode("utf-8"), file.encode("utf-8")) for file in os.listdir(data_root)]
39
0 commit comments