GithubHelp home page GithubHelp logo

sai_in_colab's Introduction

sai_in_colab

# Block 1
!git clone https://github.com/nanzi/sai_in_colab
!nvidia-smi -L
!cd sai_in_colab && chmod +x sai autogtp
!ls -alh
#block 2
#The -g parameter changes the number of parallel games, the -m parameter limits the maximum number of training games 
!cd sai_in_colab && ./autogtp --url http://sai.unich.it/ --username $YOURUSERNAME --password $YOURPASSWORD -g3 -m100 | grep minute

compile in colab

!git clone --recursive https://github.com/sai-dev/sai 
!cd sai && git checkout sai-0.18
!cd sai && mkdir build
!cd sai/build && cmake ..
!cd sai/build && cmake --build .

make validation in colab

#block 1:download networks
!cd sai_in_colab && mkdir networks
!cd sai_in_colab/networks && curl -OL http://sai.unich.it/networks/d351f06e446ba10697bfd2977b4be52c3de148032865eaaf9efc9796aea95a0c.gz # LZ-157
!cd sai_in_colab/networks && curl -OL http://sai.unich.it/networks/b03edd5216a19ac79033e74214799c3c1d9d91d2077bab121783a398c865c38a.gz # SAI-720
#block 2: absolute path and blank key matter much
!/content/sai_in_colab/validation -g 2 -k /content/sai_in_colab/sai_vs_lz -n /content/sai_in_colab/networks/d351f06e446ba10697bfd2977b4be52c3de148032865eaaf9efc9796aea95a0c.gz -o "-g -p1600 --noponder -t 1 -q -d -r 0 -w" -n /content/sai_in_colab/networks/b03edd5216a19ac79033e74214799c3c1d9d91d2077bab121783a398c865c38a.gz -o "-g -p1600 --noponder -t 1 -q -d -r 0 -w" -- /content/sai_in_colab/sai -- /content/sai_in_colab/sai 

sai_in_colab's People

Contributors

nanzi avatar

Watchers

 avatar

Forkers

2794608905

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.