FromSim2Real / gpudrive-main /tests /test_gpudrive.py
lzhts1's picture
Upload 385 files
9897e20 verified
Raw
History Blame Contribute Delete
189 Bytes
import pufferlib
from gpudrive.env.env_puffer import PufferGPUDrive
env = PufferGPUDrive()
env.reset()
for i in range(10):
actions = env.action_space.sample()
env.step(actions)