I'm trying to set up an agent with PPO2. But I've tried with:

  • A2C
  • DQN
  • PPO2

However, in the test environment, the agent always takes the same action, and the total profit is negative.

What can be the problem?

My colab code

  • 1
    $\begingroup$ Hello. Welcome to AI SE. Please, take the time to edit your post to 1. describe (at least briefly) the problem you're trying to solve with RL, 2. report the hyper-parameters that you're using (e.g. the number of training time steps you use to train the agent before you test the agent), etc. $\endgroup$
    – nbro
    Sep 18 at 13:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.