mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-16 01:06:56 +08:00
Fix RL command Error (#1382)
This commit is contained in:
@@ -41,7 +41,7 @@ data
|
|||||||
Run:
|
Run:
|
||||||
|
|
||||||
```
|
```
|
||||||
python -m qlib.rl.contrib.train_onpolicy.py --config_path ./experiment_config/training/config.yml
|
python -m qlib.rl.contrib.train_onpolicy --config_path ./experiment_config/training/config.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
After training, checkpoints will be stored under `checkpoints/`.
|
After training, checkpoints will be stored under `checkpoints/`.
|
||||||
@@ -49,7 +49,7 @@ After training, checkpoints will be stored under `checkpoints/`.
|
|||||||
## Run backtest
|
## Run backtest
|
||||||
|
|
||||||
```
|
```
|
||||||
python -m qlib.rl.contrib.backtest.py --config_path ./experiment_config/backtest/config.yml
|
python -m qlib.rl.contrib.backtest --config_path ./experiment_config/backtest/config.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
The backtest workflow will use the trained model in `checkpoints/`. The backtest summary can be found in `outputs/`.
|
The backtest workflow will use the trained model in `checkpoints/`. The backtest summary can be found in `outputs/`.
|
||||||
|
|||||||
Reference in New Issue
Block a user