8000 GitHub - ademiadeniji/diayn_ppo: ppo implementation of DIAYN
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ademiadeniji/diayn_ppo

Repository files navigation

Installation

  1. Install the Python development environment

    Check if your Python environment is already configured on your system. We recommend using Python 3.

    python --version
    pip --version
    virtualenv --version

    If these packages are already installed, skip to the next step. Otherwise, install on Ubuntu by running:

    sudo apt update
    sudo apt install python-dev python-pip
    sudo pip install -U virtualenv  # system-wide install
  2. Create a virtual environment (recommended)

    Create a new virtual environment in the root directory or anywhere else:

    virtualenv --system-site-packages -p python3 .venv

    Activate the virtual environment every time before you use the package:

    source .venv/bin/activate

    And exit the virtual environment when you are done:

    deactivate
  3. Install dependencies

    The package can be installed by running:

    pip install -r requirements.txt

Examples

Run training and evaluation:

python train_diayn_ppo.py --root_dir outputs

About

ppo implementation of DIAYN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0