Skip to content

Commit

Permalink
make changes necessary to prevent crashing on supercloud expers (#82)
Browse files Browse the repository at this point in the history
Co-authored-by: Willie McClinton <[email protected]>
  • Loading branch information
NishanthJKumar and wmcclinton authored Nov 2, 2023
1 parent f278494 commit c4e38c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion predicators/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def main() -> None:
# Run the full pipeline.
_run_pipeline(env, approach, stripped_train_tasks, offline_dataset)
script_time = time.perf_counter() - script_start
if CFG.env == "behavior": # pragma: no cover
if CFG.env == "behavior" and CFG.behavior_save_video: # pragma: no cover
assert isinstance(env, BehaviorEnv)
task_name = str(CFG.behavior_task_list)[2:-2]
env.igibson_behavior_env.simulator.viewer.make_video(
Expand Down
6 changes: 3 additions & 3 deletions scripts/configs/behavior_pick_place_evaluation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ FLAGS: # general flags
behavior_override_learned_samplers: True
behavior_ignore_discover_failures: True
num_train_tasks: 10
num_test_tasks: 0
START_SEED: 463
NUM_SEEDS: 2
num_test_tasks: 10
START_SEED: 456
NUM_SEEDS: 10
USE_GPU: False

0 comments on commit c4e38c0

Please sign in to comment.