georgezywang / BFT-RLForensics

BFT Forensics analysis using reinforcement learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Identifier and Attacker Game for PBFT

Setup and Running

To set up the prerequisites including Tensorboard visualization, run:

pip3 install -r requirements.txt
pip3 install tensorboard

To train agents with cpu,run:

python3 src/main.py --config=separate_actor_critic_cpu --env-config=pbft_interactive

If cuda, run:

python3 src/main.py --config=separate_actor_critic_gpu --env-config=pbft_interactive

About

BFT Forensics analysis using reinforcement learning

License:Apache License 2.0


Languages

Language:Python 59.4%Language:TeX 40.6%