sconegym
sconegym is a gym environment for Reinforcement Learning (RL) using SCONE models.
Installing sconegym
To install sconegym, follow these steps:
- Clone the sconegym repository from GitHub
- Open a console and navigate to the local sconegym folder
- Install dependencies using
pip install -r requirements.txt
- Install sconegym using
pin install -e .
Using sconegym with depRL
For more information on depRL, checkout the depRL project page.
Installing depRL
To install depRL for use with sconegym, perform the following steps:
- Make sure sconegym is installed
- Clone the depRL repository from
https://github.com/tgeijten/depRL/tree/sconegym
- Open a console and navigate to the depRL folder
- Install dependencies using
pip install -r requirements.txt
- Install depRL using
pin install -e .
Starting a depRL training
To test depRL with sconegym, perform these steps:
- Navigate to
depRL/experiments/hyfydy
- Start an experiment using
python -m deprl.main scone_run_h0918.yaml
- Training starts and checkpoints are generated
Viewing results in SCONE Studio
To view the results, perform these steps:
- Open SCONE Studio
- Open the folder
sconerun_h0918_v1
in the optimization results - Look for the
checkpoints
subfolder - Double-click on a checkpoint, or select multiple checkpoints and right-click and select
Evaluate
- The checkpoints are evaluated in the background; check the status bar to see the progress
- When finished, look for folders starting with
run_checkpoint
- Double click on a
.sto
file to view and analyze the results