Coder Social home page Coder Social logo

ddpg's Introduction

DDPG

DDPG in Pytorch

仿真环境

gym中的LunarLanderContinuous-v2

环境依赖

  • gym
  • numpy
  • matplotlib
  • python3.6
  • pytorch1.6

文件描述

  • train.py为训练脚本,配置好环境后直接运行即可,不过需要在当前目录下创建output_images文件夹,用于放置生成的仿真结果;
  • network.py为网络脚本,包括演员网络和评论家网络;
  • buffer.py为经验回放池脚本;
  • DDPG.py为DDPG算法的实现脚本;
  • utils.py为工具箱脚本,里面主要放置一些通过函数;
  • test.py为测试脚本,通过加载训练好的权重在环境中进行测试,测试训练效果。

仿真结果

详见output_images文件夹

ddpg's People

Contributors

indigolovee avatar

Stargazers

Arch.h avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.