diff --git a/lib_run_single.py b/lib_run_single.py index c284f7a..46d6dc0 100644 --- a/lib_run_single.py +++ b/lib_run_single.py @@ -7,14 +7,6 @@ from wrapt_timeout_decorator import * logger = logging.getLogger("desktopenv.experiment") -# Open the JSON file -with open("./settings.json", "r") as file: - # Load the JSON data from the file - data = json.load(file) -time_limit = data["time_limit"] - - -@timeout(time_limit, use_signals=False) def run_single_example(agent, env, example, max_steps, instruction, args, example_result_dir, scores): agent.reset() obs = env.reset(task_config=example) diff --git a/settings.json b/settings.json deleted file mode 100644 index 67988f9..0000000 --- a/settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "time_limit": "3600" -} \ No newline at end of file