Hey there,
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:

  
      
      GitHub
  
  
    

EmmiOcean/DDPG_LibTorch 30

An Implementation of the DDPG Algorithm in LibTorch - EmmiOcean/DDPG_LibTorch


  
  
    
    
  
  


For testing the implementation I used the OpenAiGym Pendulum-v0 framework.
(with c++ api: https://github.com/openai/gym-http-api 9)
It would be great if someone could help me out
-Thank you-