Closed amineoui closed 9 months ago
One solution is that you can name the different environments.
Taking the training environment as an example, you can modify this line of code as collector_env_cfg[i]['env_id'] += ('-train-' + str(i) + 'e')
.
After instantiating 'Trading_env', the variable 'self._env_id' becomes "stocks-v0-train-{i}e"
And the modification for test environment is in this line
how we can separate training environment and evaluation environment , the goal of doing that is separate the training data and evaluation data during the training. there is a way to give 2 env on load as train_env and eval_env ? or something can help me like a variable or method that check if the loaded environment is for eval or train as custom gym env
thank you for helping