Comments (3)
See #22
from crowdnav_dsrnn.
Hi,
I've seen https://github.com/Shuijing725/CrowdNav_DSRNN/issues/22
If I want to train two robots, then after adding the second robot instance, as follows:
Under the two programs crowd_sim/envs/crowd_sim.py and crowd_sim/envs/crowd_sim_dict.py
rob_RL = Robot(config, 'robot') rob2_RL = Robot(config,'robot2') self.set_robot(rob_RL) self.set_robot(rob2_RL)
ob['robot_node2'] = self.robot2.get_full_state_list_noV()
I assume that both robots use the same reinforcement learning strategy, and the episode ends with both robots reaching the same target point. Then, referring to the training of the first robot, what procedures do I need to modify in the project file? Do I just need to modify the environment's code? For example, the related functions in crowd_sim_dict.py.
Secondly, does the render() function in crowd_sim.py also need to be modified?
Do I need to add code to train.py?
Sorry to bother you.
Thank you so much!
from crowdnav_dsrnn.
Yes, besides the gym environment, multiple modifications are needed. For example, you probably need to modify the main scripts including train.py
and test.py
.
Also, the code for network and ppo in pytorchBaselines folder needs to be adapted. For example, dsrnn network and RL replay buffer are only designed for single robot scenarios.
Besides changing our repo, another way to achieve your purpose is to look at open-source implementations of other multi-agent social navigation papers. For example, you can search for works that used environments like this one.
from crowdnav_dsrnn.
Related Issues (20)
- evaluation.py HOT 2
- 2 agent scenarios HOT 3
- plot trajectory HOT 3
- There is no method named “set_policy()” in angent.py or human.py HOT 1
- Resume training from an existing checkpoint HOT 1
- How do we run the visual simulation of Group environment after setting sim.group_human to True in config.py?? HOT 1
- run on turtlebot2 HOT 2
- Can I know how did you transfer the policy learned in the simulator to a real-world TurtleBot 2i/ 3??? HOT 3
- Training problem HOT 2
- Algorithm Problem HOT 3
- The Accuracy of Model Training HOT 3
- How to run in real world? HOT 3
- Algorithm Problem HOT 1
- fov environment HOT 4
- AssertionError: action space does not inherit from `gym.spaces.Space` HOT 3
- Is it possible to use multiple robot? HOT 9
- Question about obeservation
- Fov 2D visualization recreation help HOT 1
- How to train CADRL ,RGL , LSTM_RL in this env? HOT 2
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 crowdnav_dsrnn.