-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
2,914,040 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
*.pkl filter=lfs diff=lfs merge=lfs -text | ||
*.json filter=lfs diff=lfs merge=lfs -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,28 @@ | ||
#!/usr/bin/env bash | ||
export EXPERIMENT_NAME="test_experiment_finetuned" | ||
export PLAN_PREDICTOR_FILEPATH="SET THIS PARAMETER TO YOUR BEST MODEL SAVE" | ||
export ACTION_GENERATOR_FILEPATH="SET THIS PARAMETER TO YOUR BEST MODEL SAVE" | ||
export PLAN_PREDICTOR_FILEPATH="agent/experiments/fixed_plan_predictor/model_16_bestacc.pt" | ||
export ACTION_GENERATOR_FILEPATH="agent/experiments/fixed_action_generator_partial_observability/model_12_card.pt" | ||
|
||
CUDA_VISIBLE_DEVICES=0 python -m agent.scripts.main \ | ||
--saved_game_dir="data/" \ | ||
--game_state_filename="agent/preprocessed/game_states.pkl" \ | ||
--save_dir="agent/experiments/" \ | ||
--experiment_name=${EXPERIMENT_NAME} \ | ||
--model_type=PLAN_PREDICTOR \ | ||
--model_type=ACTION_GENERATOR \ | ||
--end_to_end=True \ | ||
--aggregate_examples=True \ | ||
--aggregate_examples=False \ | ||
--maximum_number_examples=10 \ | ||
--generate_new_cards=True \ | ||
--full_observability=False \ | ||
--finetune_auxiliary_coefficient_intermediate_goal_probabilities=1. \ | ||
--finetune_auxiliary_coefficient_final_goal_probabilities=1. \ | ||
--finetune_auxiliary_coefficient_obstacle_probabilities=0.1 \ | ||
--finetune_auxiliary_coefficient_avoid_probabilities=0.1 \ | ||
--finetune_auxiliary_coefficient_trajectory_distribution=1. \ | ||
--finetune_auxiliary_coefficient_implicit_actions=0.7 \ | ||
--use_trajectory_distribution=True \ | ||
--use_goal_probabilities=True \ | ||
--use_obstacle_probabilities=True \ | ||
--use_avoid_probabilities=True \ | ||
--pretrained_plan_predictor_filepath=${PLAN_PREDICTOR_FILEPATH} \ | ||
--pretrained_action_generator_filepath=${ACTION_GENERATOR_FILEPATH} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.