Git Product home page Git Product logo

bulldog's Introduction

todos

architecture

  • core (logging, game def, hand eval and game state protocol)
  • agent (connector, playing logic)
  • engine (playing engine interface , ag, cfr, and train)

build and run

### require_warn cmake 

git clone git://bulldog...
cd bulldog
git submodule init
git submodule update
git pull
git submodule update --recursive

## build using cmake
mkdir build
cd build
cmake ..
make
make test

### third party (best option 1)
1. git submodule add xxxx && git submodule init && git submodule update
2. hpp whole files
3. Cmake External

##Example Configurations

./bin/train

--cfr_config=cfr_simple.json
--ag_config=ag_simple.json
--log_level=debug
--log_output=train.log
--max_iter=10000
--exp_name=norm_max
--checkpoint_interval=1000
--save_final=true
--load_checkpoint=dcfr_naive-1007
--profiler_checkpoint=2 

./bin/agent
--game=holdem.nolimit.2p.game
--engine_params=engine_offline_simple.json
--connector=0
--connector_params=localhost,52001
--log_level=trace

##Prerequisite brew install cpprestsdk & tbb add cmake options in the IDE, -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl

sudo apt install libcpprest-dev
sudo apt install libtbb-dev
sudo apt-get install uuid-dev

libtorch on linux install

remove a submodule you need to:

Delete the relevant section from the .gitmodules file.
Stage the .gitmodules changes git add .gitmodules
Delete the relevant section from .git/config.
Run git rm --cached path_to_submodule (no trailing slash).
Run rm -rf .git/modules/path_to_submodule (no trailing slash).
Commit git commit -m "Removed submodule "
Delete the now untracked submodule files rm -rf path_to_submodule

linux torch cmake fix: pytorch/pytorch#40965

bulldog's People

Contributors

carmenjiawenc avatar

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.