Fix bug with wrong argument order
This commit is contained in:
@@ -54,7 +54,7 @@ def main(config, method='bc', train=False, test=False, loc=0, datadir='./expert_
|
|||||||
if test:
|
if test:
|
||||||
|
|
||||||
# load policy
|
# load policy
|
||||||
policy = policy_class.load_model(config, filestr)
|
policy = policy_class.load_model(filestr, config)
|
||||||
policy.eval()
|
policy.eval()
|
||||||
|
|
||||||
# simulate policy
|
# simulate policy
|
||||||
|
|||||||
Reference in New Issue
Block a user