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

I used env.reset() for the training of the env I created, but after calling the reset() method several times (sometimes twice, sometimes three times and more) the python side didn't respond, leaving only the ns3 side with an output, ask for help! #129

Open
hb-Guo opened this issue Nov 11, 2024 · 0 comments

Comments

@hb-Guo
Copy link

hb-Guo commented Nov 11, 2024

My code:

env = gym.make(
    "ns3ai_gym_env/Ns3-v0",
    targetName="ap_deploy",
    ns3Path="/home/zwx/workspace/ns-3-allinone/ns-3.37/",
    ns3Settings=ns3Settings,
)

when I run the code below, the question arises.
image

The terminal behaves like this
image

The last three lines are the output from the ns3 side, and the terminal just doesn't move here.

Is there some kind of bug?

Also, my runtime environment information is as follows: 1. WSL2/Ubuntu22.04/Python3.10 2. CPU: i5-12490 3. GPU: 4060 4. RAM: 32GB .

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

1 participant