Commit 6b7375ea by songxinkai

kill_client.sh

parent 0d786cc1
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,7 +2,7 @@
import os
test_ids = [0, 1]
test_ids = [0, 1, 2]
os.system("rm -f models.txt")
for test_id in test_ids:
model_prefix = "/share/backup_data/go9/test_%d/off_models/go9_iter_"%(test_id)
......@@ -12,6 +12,7 @@ for test_id in test_ids:
while True:
model_path = "%s%d%s"%(model_prefix, i, model_suffix)
if not os.path.exists(model_path):
print (model_path , "not exitsts.")
break
with open("models.txt", 'a') as f:
f.write("%s\n"%(model_path))
......
#!/bin/bash
kill -9 $(pidof python ELO_client_test.py)
config_p1_eval: /share/alphazero-general/go9/etc/pk_p1_eval.conf
config_p1_mcts: /share/alphazero-general/go9/etc/pk_p1_mcts.conf
config_p2_eval: /share/alphazero-general/go9/etc/pk_p2_eval.conf
config_p2_mcts: /share/alphazero-general/go9/etc/pk_p2_mcts.conf
model_p1: /share/backup_data/go9/test_0/off_models/go9_iter_156000.cambricon
model_p2: /share/backup_data/go9/test_0/off_models/go9_iter_222000.cambricon
P2 win rate1
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment