Comments (3)
Working on this, will post back shortly with an update
from mindmaker.
Thank you so much :)
from mindmaker.
Ok, have updated the Remote ML server example files and github documentation demonstrating how to create multiple clients.
In short, to add a second learning agent(or more) to your map, you will need all the same functions that are in the first learning agent, the launch mindmaker blueprint node etc, but instead of assigning this one to port 3000 you will assign it port 3001 in blueprints. Besides changing the socketio port setting in blueprints, you will also need to to change the Connect SocketIO blueprint function, modifying the In Address and Port to the new number you have created “http://localhost:3001” for instance.
Than you will just need to create a second instance of your mindmaker_client.py file that will connect to your second learning agent. Training can be done simultaneously, in parallel. The only modification that you need to make to mindmaker_client.py is changing sio.connect('http://localhost:3000') at the bottom of the file to sio.connect('http://localhost:3001') or whatever is the number of new learning agents you are working with. If you have five learning agents, than you will have five instances of the client running and each will have a new port number all the way up to 3005.
I added all this in the main documentation, if its not clear, I will consider making a video tutorial or something along those lines.
from mindmaker.
Related Issues (20)
- How to properly reset my Agent when he does something fatal? HOT 5
- UE5: MindMaker (DL single node) gives (KeyError: '_init_setup_model') on play HOT 28
- Mindmaker is returning the same action for every receiveAction call during Evaluation phase. HOT 22
- TD3 Action noise
- How to integrate DRL into an already existing unreal 4.27 project HOT 1
- Terminating episode early HOT 4
- MARL disconnection from Unreal Engine after a while HOT 4
- ImportError: DLL load failed HOT 1
- Error training with PPO2 Full tensorbord logs = True HOT 1
- UE5 Plugin does not load learning engine HOT 5
- What does mindmaker showing the error while launching it? HOT 3
- PermissionError: [Errno 13] Permission denied: 'C:\\Users\\user\\AppData\\Roaming\\PPOCart' HOT 4
- Multi-Agent Setup for one network HOT 2
- How to include learned .pth files in a build instead of a PIE run
- problem building Socketio for UE 5.1
- problem "local variable 'policy_kwargsval' referenced before assignment"
- dont understand how the agent visualization works.
- MARL HOT 2
- Deep RL Plugin Available for 5.2 but cannot create project and run due to base plugin incompatible HOT 2
- the mindmaker server
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mindmaker.