-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run rl-tcp test_tcp.py stuck at env = ns3env.Ns3Env #47
Comments
Hey, here in the rl-tcp example..could you identify what all are the state variables they are using? |
Hi, I also met this problem and I ran with command: python3 test_tcp.py. All other params are set to default. I found in other issues that reduce steptime may make the execution faster, however, in the env initailization self.ns3ZmqBridge.initialize_env(self.stepTime). The steptime hasn't been used in fact. I'd appreciate it if someone can help me with this problem, thanks. |
I have recently installed ns3-gym. |
run test_tcp.py which in rl-tcp,some problems occurred.
the code will stuck at this line:
env = ns3env.Ns3Env(port=port, stepTime=stepTime, startSim=startSim, simSeed=seed, simArgs=simArgs, debug=debug)
i use keyboard to interrput:
file "/Users/lyf2481/workspace/ns-allinone-3.33/ns-3.33/contrib/opengym/ns3-gym-master/scratch/rl-tcp/test_tcp.py", line 37, in
env = ns3env.Ns3Env()
File "/usr/local/lib/python3.9/site-packages/ns3gym/ns3env.py", line 381, in init
self.ns3ZmqBridge.initialize_env(self.stepTime)
File "/usr/local/lib/python3.9/site-packages/ns3gym/ns3env.py", line 151, in initialize_env
request = self.socket.recv()
File "zmq/backend/cython/socket.pyx", line 781, in zmq.backend.cython.socket.Socket.recv
File "zmq/backend/cython/socket.pyx", line 817, in zmq.backend.cython.socket.Socket.recv
File "zmq/backend/cython/socket.pyx", line 186, in zmq.backend.cython.socket._recv_copy
File "zmq/backen
And i want to ask how to solve this problem,thanks a lot
The text was updated successfully, but these errors were encountered: