Comments (2)
Dear Fabián,
you can run the ns3 and the agent on two different machines as for IPC we use ZeroMQ protocol. However, at the moment for such remote setup you have to make changes in the ns3 opengym_interface.cc file:
Please replace 'localhost' by the public IP address of your agent:
https://github.com/tkn-tub/ns3-gym/blob/master/src/opengym/model/opengym_interface.cc#L163
In the next version of ns3-gym we will make that parameter configurable.
Best,
Tolja
from ns3-gym.
Hello Tolja. Thank you very much for the quick answer.
I made the modifications indicated in the opengym_interface.cc file, however the agent does not detect the simulation. Should I also modify the ns3env.py file to indicate the public IP of the PC with ns-3? If so, what would be the modifications to be made in the code?
Thank you again.
Kind regards.
Fabián.
from ns3-gym.
Related Issues (20)
- Multiple agents working asynchronously to do a task HOT 1
- Cmake compilation issues ns3 HOT 1
- Updating port to ns-3.36.1 HOT 3
- Errors during ./ns3 build procedure HOT 1
- Random Early Detection
- Run the code
- Installation Error HOT 3
- protobuf messages are not generated during build configuration HOT 13
- using gdb to debug ns3-script in a separate shell results into the script restarting HOT 1
- protobuf messages are generated but could not be found during build configuration HOT 1
- Using ns3gym in Sable-Baseline3's Vevtorized Environment HOT 1
- some problem in run cognitive-agent-v1.py HOT 2
- Missing header messages.pb.h for opengym HOT 2
- GNU version still not meets requirement after updating gcc/g++
- ./ns3 configure -d release --enable-examples --enable-tests HOT 2
- ubuntu2210
- implementation of reward and penalty HOT 1
- The `info` returned by `step()` must be a python dictionary, actual type: <class 'str'> HOT 1
- protobuf_generate command not found HOT 3
- Gym is unmaintained, replace it by Gymnasium
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 ns3-gym.