Skip to content

Commit

Permalink
gym.make() causes some problem, use Ns3Env() instead for now
Browse files Browse the repository at this point in the history
  • Loading branch information
pgawlowicz committed Jul 7, 2022
1 parent e2b573f commit 5b09b02
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/opengym/simple_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@
import gym
import argparse
import ns3gym
from ns3gym import ns3env

__author__ = "Piotr Gawlowicz"
__copyright__ = "Copyright (c) 2018, Technische Universität Berlin"
__version__ = "0.1.0"
__email__ = "[email protected]"


env = gym.make('ns3-v0')
#env = gym.make('ns3-v0')
env = ns3env.Ns3Env()
env.reset()

ob_space = env.observation_space
Expand Down

0 comments on commit 5b09b02

Please sign in to comment.