Coder Social home page Coder Social logo

xkiwilabs / multi-agent-ddpg-using-pttorch-and-ml-agents Goto Github PK

View Code? Open in Web Editor NEW
34.0 34.0 9.0 2.61 MB

A simple example of how to implement vector based DDPG for MARL tasks using PyTorch and a ML-Agents environment.

License: GNU General Public License v3.0

Python 97.21% Jupyter Notebook 2.79%
ddpg marl ml-agents multiagent pytorch reinforcement-learning unity

multi-agent-ddpg-using-pttorch-and-ml-agents's People

Contributors

xkiwilabs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

multi-agent-ddpg-using-pttorch-and-ml-agents's Issues

Run on ubuntu 18

Excuse me, I have some questions about the Unity Environment on the Linux,
i used to run the project on my cloud service, but the bug shows as below

ssh://[email protected]:22/home/parsley/anaconda3/envs/RL_test/bin/python3.6 -u /home/parsley/Python_projects/The_finnal_Tennis/train.py
Found path: /home/parsley/Python_projects/The_finnal_Tennis/Tennis_Windows_x86_64/Tennis_Linux/Tennis.x86_64
Mono path[0] = '/home/parsley/Python_projects/The_finnal_Tennis/Tennis_Windows_x86_64/Tennis_Linux/Tennis_Data/Managed'
Mono config path = '/home/parsley/Python_projects/The_finnal_Tennis/Tennis_Windows_x86_64/Tennis_Linux/Tennis_Data/MonoBleedingEdge/etc'
Preloaded 'libgrpc_csharp_ext.x64.so'
Unable to preload the following plugins:
	ScreenSelector.so
	libgrpc_csharp_ext.x86.so
	ScreenSelector.so
Logging to /home/parsley/.config/unity3d/Unity Technologies/Unity Environment/Player.log
Stacktrace:
......
################at the end shows######################
Traceback (most recent call last):
  File "/home/parsley/Python_projects/The_finnal_Tennis/train.py", line 47, in <module>
    env = UnityEnvironment(file_name=r"/home/parsley/Python_projects/The_finnal_Tennis/Tennis_Windows_x86_64/Tennis_Linux/Tennis.x86_64")
  File "/home/parsley/anaconda3/envs/RL_test/lib/python3.6/site-packages/unityagents/environment.py", line 64, in __init__
    aca_params = self.send_academy_parameters(rl_init_parameters_in)
  File "/home/parsley/anaconda3/envs/RL_test/lib/python3.6/site-packages/unityagents/environment.py", line 505, in send_academy_parameters
    return self.communicator.initialize(inputs).rl_initialization_output
  File "/home/parsley/anaconda3/envs/RL_test/lib/python3.6/site-packages/unityagents/rpc_communicator.py", line 60, in initialize
    "The Unity environment took too long to respond. Make sure that :\n"
unityagents.exception.UnityTimeOutException: The Unity environment took too long to respond. Make sure that :
	 The environment does not need user interaction to launch
	 The Academy and the External Brain(s) are attached to objects in the Scene
	 The environment and the Python interface have compatible versions.

Process finished with exit code 1

The environment on Linux path is Tennis.x86_64, right?
I want to get some advice about how to run this on Ubuntu, I'm a noviciate and Thank you sincerely in advance!

Problem with train.py

Hi!!!
Congratulations for your work!!!
ฮ™ tried to run your code and train the agents to play Tennis but it seems like I'm not doing something right.
Should I make some adjustments to Unity?
I would be grateful if you could help me!
Thank you in advance!!

Below is the error I get

image

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.