ashishgaurav13 / ICL

Official Code for ICLR 2023 paper "Learning Soft Constraints from Constrained Expert Demonstrations"
https://openreview.net/forum?id=8sSnD78NqTN
1 stars 2 forks source link

Is there visualization of half cheetah? #1

Open Edward11235 opened 1 year ago

Edward11235 commented 1 year ago

Hello, I have successfully built and run the code. However, when I use command python3 -B icl.py -c configs/hc.json -seed 1 -beta -1 It's working well but there is no window pop out and there is no visualization of the half cheetah.

Is there a visualization for the cheetah in Gym?

ashishgaurav13 commented 1 year ago

Sorry for the late response. Once you have trained the policy, you can simply try to run an episode with the learned policy. While running the episode, you can have the env.render(...) statement for visualizing side-by-side. Does that work for you?