Last active
July 18, 2020 05:34
-
-
Save dapao9999/f7ffc90a4add46e4a8a97edea87c699e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
gpu = os.popen('nvidia-smi').read() | |
if 'K80' in gpu or 'P4' in gpu: | |
sys.exit() | |
os.system('rm ggzero_linux lc0') | |
os.system('wget https://github.com/leedavid/leela-chess-to-Chinese-Chess/raw/master/lc0/ggzero_linux') | |
os.system('wget https://github.com/leedavid/leela-chess-to-Chinese-Chess/raw/master/lc0/lc0') | |
os.system('chmod +x ggzero_linux lc0') | |
os.system('./ggzero_linux --user 书包 --password 123456') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment