Skip to content

Commit

Permalink
Reverting to n_episodes=1
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico-PizarroBejarano committed Dec 4, 2024
1 parent 3085883 commit bad16ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/lqr/lqr_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from safe_control_gym.utils.registration import make


def run(gui=False, plot=True, n_episodes=2, n_steps=None, save_data=False):
def run(gui=False, plot=True, n_episodes=1, n_steps=None, save_data=False):
'''The main function running LQR and iLQR experiments.
Args:
Expand Down
2 changes: 1 addition & 1 deletion examples/mpc/mpc_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from safe_control_gym.utils.registration import make


def run(gui=False, plot=True, n_episodes=2, n_steps=None, save_data=False):
def run(gui=False, plot=True, n_episodes=1, n_steps=None, save_data=False):
'''The main function running MPC and Linear MPC experiments.
Args:
Expand Down

0 comments on commit bad16ec

Please sign in to comment.