Skip to content

Commit

Permalink
Update run_trained_policy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeroberts3000 authored Jun 16, 2024
1 parent 4899e37 commit e1165c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/imitation_learning_openbot/run_trained_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
# load config
config = spear.get_config(
user_config_files=[
os.path.realpath(os.path.join(os.path.dirname(__file__), "user_config.yaml")),
os.path.realpath(os.path.join(common_dir, "default_config.common.yaml"))])

os.path.realpath(os.path.join(common_dir, "default_config.common.yaml")),
os.path.realpath(os.path.join(os.path.dirname(__file__), "user_config.yaml"))])
config.defrost()
config.IMITATION_LEARNING_OPENBOT.PILOT_NET_POLICY_PATH = os.path.realpath(args.policy_file)
config.SP_SERVICES.LEGACY_SERVICE.TASK = "ImitationLearningTask"
Expand Down

0 comments on commit e1165c2

Please sign in to comment.