-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Milestone
Description
when I have trained the agent of the environment 'door-v0' with the irl_gail.py, and I tended to use the scripted
python examples/irl_gail.py --watch --render=0.003 to render the agent,but it did't work.
(adroit_gail) liang@liang-virtual-machine:~/py_project/hand_dapg/dapg$ python examples/run_gail.py --watch --render=0.003
Warning: Flow failed to import. Set the environment variable D4RL_SUPPRESS_IMPORT_ERROR=1 to suppress this message.
No module named 'flow'
Warning: CARLA failed to import. Set the environment variable D4RL_SUPPRESS_IMPORT_ERROR=1 to suppress this message.
No module named 'carla'
pybullet build time: May 20 2022 19:44:17
/home/liang/miniconda3/envs/adroit_gail/lib/python3.8/site-packages/gym/logger.py:34: UserWarning: WARN: Box bound precision lowered by casting to float32
warnings.warn(colorize("%s: %s" % ("WARN", msg % args), "yellow"))
Observations shape: (39,)
Actions shape: (28,)
Action range: -1.0 1.0
/home/liang/py_project/hand_dapg/dapg/d4rl/d4rl/hand_manipulation_suite/door_v0.py:13: UserWarning: This environment is deprecated. Please use the most recent version of this environment.
offline_env.OfflineEnv.__init__(self, **kwargs)
load datafile: 100%|█████████████████████████████| 7/7 [00:00<00:00, 319.08it/s]
dataset_size 6703
dataset loaded
Loaded agent from: /home/liang/py_project/hand_dapg/dapg/log/door-v0/gail/seed_0_0830_124658-door_v0_gail/policy.pth
Final reward: -63.212167691569064, length: 200.0
it just printed the Final reward and didn't appears the glfw,but when i rendered the openAI gym environment, like the Hopper, it works.Can you tell me what's the matter?