more fixes in Gym Ant to make reward the same as Roboschool,
apparently feet_collision_cost is not properly updated in Roboschool, for now, disable it in pybullet too: see https://github.com/openai/roboschool/issues/63
This commit is contained in:
@@ -51,6 +51,8 @@ def main():
|
||||
time.sleep(0.01)
|
||||
a = pi.act(obs)
|
||||
obs, r, done, _ = env.step(a)
|
||||
#print("reward")
|
||||
#print(r)
|
||||
score += r
|
||||
frame += 1
|
||||
distance=5
|
||||
|
||||
Reference in New Issue
Block a user