I implemented a DDPG algorithm in libtorch (v. 1.0.1), but training was never successful. It seems as if the network is never updated.
Before that, I did the same in PyTorch and it worked like a charm. I couldn’t figure out what I did wrong in c++.
Here’s my code:
For testing the implementation I used the OpenAiGym Pendulum-v0 framework.
(with c++ api: https://github.com/openai/gym-http-api)
It would be great if someone could help me out