Commit 20da4bcc authored by sbl1996@126.com's avatar sbl1996@126.com

Add upgo to vtrace

parent 7c8b11c3
......@@ -329,7 +329,7 @@ def advantage_fn(
return adv_fn(
next_v, ratios, values, rewards, next_dones, switch_or_mains, args.gamma,
args.rho_clip_min, args.rho_clip_max, args.c_clip_min, args.c_clip_max,
return_carry=return_carry)
args.upgo, return_carry=return_carry)
def rollout(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment