Imported from https://github.com/wmol4/Pytorch_DDPG_Unity_Continuous_Control