kkuette / TradzQAI

Trading environnement for RL agents, backtesting and training.
Apache License 2.0
165 stars 47 forks source link

How to specify which trained model to be used for "eval" #5

Closed lamhk closed 5 years ago

lamhk commented 5 years ago

Hi, I trained one model using 1 episode (PPO_0 and 1) and another one with 100 episodes (PPO2). However, when I tried to perform the -m eval, i got the same result. I believe it used the same model even I have a trained model with 100 episodes. Please advise how i could specify which PPO# to be used for eval? Thx.

kkuette commented 5 years ago

You just need to set the same settings in TradzQAI/config/ and TradzQAI/save/PPO_#/config/. Each time you start TradzQAI, it check if the current settings already exists in save/ directory, if not it create a new directory, else it take the first directory with the same settings it encounter.