Comments (2)
Hello, did you manage to solve this issue?
I have the same problem when I try to use env = ns3env.Ns3Env().
Using env = gym.make('ns3-v0') does seem to compile but the resulting figure shows that no learning has happened. Do you know why that is?
from ns3-gym.
@GeorgeFrangulea I solved this problem. It seems that the connection between ns3 and gym have some problems, so it went wrong. The state in code turned to be None, which cause this problem. I solved it by set when "state = None" then jump out of the loop and continue the loop. The result is correct.
As I konw, you should use env = ns3env.Ns3Env() to create the environment.
from ns3-gym.
Related Issues (20)
- 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
- 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
- python contrib/opengym/examples/opengym/simple_test.py Got new port for ns3gm interface: 7656 ns3 file not found. Quitting...
- install ns3-gym in tensorflow environment
- NS3 gym stable baseline
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.