Closed urvishp80 closed 5 years ago
I that means that the action your passing in is "nan", so that's likely a problem with your model. Perhaps try to trace back where the nans are coming from.
Also this repo has been forked and improved here: https://github.com/vermouth1992/drl-portfolio-management and https://github.com/awslabs/amazon-sagemaker-examples/blob/master/reinforcement_learning/rl_portfolio_management_coach_customEnv/rl_portfolio_management_coach_customEnv.ipynb
I should add those links to the readme.
I am trying out the environment you created using Keras and Q-learning algorithm. I am using this implementation https://github.com/keon/deep-q-learning/blob/master/dqn.py . I am encountering the following error
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)