Skip to content
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

Always pause at place “Got new port for ns3gm interface: ” #6

Closed
zhuwenxing opened this issue Nov 11, 2018 · 1 comment
Closed

Comments

@zhuwenxing
Copy link

When I run cognitive-agent-v1.py, it always pause at "Got new port for ns3gm interface:" after several episodes .Sometime episode: 11/200,sometime episode: 47/200(not fixed,changes every time).

It just stop at there,no error information. I wait several minutes and it has no response!

xiaochang@w:~/ns3-gym-master/scratch/interference-pattern$ ./cognitive-agent-v1.py
Got new port for ns3gm interface:  8567
Observation space:  Box(4,) uint64
Action space:  Discrete(4) 4
2018-11-11 11:49:54.963102: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
episode: 0/200, time: 8, rew: 6.0, eps: 0.99
Got new port for ns3gm interface:  5296
episode: 1/200, time: 8, rew: 6.0, eps: 0.98
Got new port for ns3gm interface:  5485
episode: 2/200, time: 7, rew: 5.0, eps: 0.98
Got new port for ns3gm interface:  9031
episode: 3/200, time: 7, rew: 5.0, eps: 0.97
Got new port for ns3gm interface:  9820
episode: 4/200, time: 4, rew: 2.0, eps: 0.97
Got new port for ns3gm interface:  7310
episode: 5/200, time: 3, rew: 1.0, eps: 0.96
Got new port for ns3gm interface:  5253
episode: 6/200, time: 4, rew: 2.0, eps: 0.96
Got new port for ns3gm interface:  6842
episode: 7/200, time: 2, rew: 0.0, eps: 0.96
Got new port for ns3gm interface:  6411
episode: 8/200, time: 4, rew: 2.0, eps: 0.95
Got new port for ns3gm interface:  7233
episode: 9/200, time: 1, rew: -1.0, eps: 0.95
Got new port for ns3gm interface:  9101
episode: 10/200, time: 11, rew: 5.0, eps: 0.94
Got new port for ns3gm interface:  8633
episode: 11/200, time: 13, rew: 7.0, eps: 0.93
Got new port for ns3gm interface:  8456
@pgawlowicz
Copy link
Contributor

Hi,
Do you use the newest version of ns3-gym? I have experienced the issue in past, but never with the current version. I will check again.
BR,
Piotr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants