Open GediZhou opened 1 year ago
Should this line https://github.com/AI4Finance-Foundation/FinRL/blob/7414adb012b554f7c684d4615830dc5c31a094d1/finrl/agents/stablebaselines3/models.py#L319
be last_state = trade_env.envs[0].render() ?
last_state = trade_env.envs[0].render()
Otherwise it'll call the render method defined by VecEnv class, which returns None.
Should this line https://github.com/AI4Finance-Foundation/FinRL/blob/7414adb012b554f7c684d4615830dc5c31a094d1/finrl/agents/stablebaselines3/models.py#L319
be
last_state = trade_env.envs[0].render()
?Otherwise it'll call the render method defined by VecEnv class, which returns None.