RL-Bitcoin-trading-bot
RL-Bitcoin-trading-bot copied to clipboard
Gaes fees
Hello, I was trying to work this out on my end from scratch, I have got it to the point of training the model and also visualize but it seems to drop in the middle of the training session without saving the model.
VC: Python : 3.8.10 tensorflow = 2.3.1 Windows = 11 No IDLE, Using script mode from windows power shell virtual env.
Below is the complete Traceback of the error I received.
2022-03-07 04:17:43.095316: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1257] Device interconnect StreamExecutor with strength 1 edge matrix:
2022-03-07 04:17:43.100610: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1263]
Traceback (most recent call last):
File "RL-Bitcoin-trading-bot_7.py", line 501, in
Any sort of help is highly appreciated. If needed I'll post code snippets as well for more clarity. Thanks.
This is a duplicate of #18
Also a duplicate of #9
Hey I think the problem is originated from the output of critic_predict. I guess that in the original PPO function implemented by the writer has included "Critic model also watched the previous predicted value", but he removed it in this tutorial. That means critic model doesn't check previous value input now. Maybe you should try removing the np.zero input in critirc_predict function.