Skip to content

Commit

Permalink
add a validation set, seems to work ok (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
beneisner authored May 16, 2024
1 parent 97cdd2b commit a9a7a83
Show file tree
Hide file tree
Showing 32 changed files with 142 additions and 207 deletions.
2 changes: 1 addition & 1 deletion configs/commands/rlbench/_eval_metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ defaults:

dm:
train_dset:
num_points: 256
num_points: 512
synthetic_occlusion: False
2 changes: 1 addition & 1 deletion configs/commands/rlbench/_train.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ training:

dm:
train_dset:
num_points: 256
num_points: 512
synthetic_occlusion: False
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,18 @@ echo "--------------------------------------------------------------------------
echo "python scripts/eval_metrics.py --config-name commands/rlbench/pick_and_lift/taxpose_tc/precision_eval/pregrasp data_root=/data wandb.group=rlbench_pick_and_lift $@"

python scripts/eval_metrics.py --config-name commands/rlbench/pick_and_lift/taxpose_tc/precision_eval/pregrasp data_root=/data wandb.group=rlbench_pick_and_lift $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating grasp'
echo "--------------------------------------------------------------------------------"
echo "python scripts/eval_metrics.py --config-name commands/rlbench/pick_and_lift/taxpose_tc/precision_eval/grasp data_root=/data wandb.group=rlbench_pick_and_lift $@"

python scripts/eval_metrics.py --config-name commands/rlbench/pick_and_lift/taxpose_tc/precision_eval/grasp data_root=/data wandb.group=rlbench_pick_and_lift $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating lift'
echo "--------------------------------------------------------------------------------"
echo "python scripts/eval_metrics.py --config-name commands/rlbench/pick_and_lift/taxpose_tc/precision_eval/lift data_root=/data wandb.group=rlbench_pick_and_lift $@"

python scripts/eval_metrics.py --config-name commands/rlbench/pick_and_lift/taxpose_tc/precision_eval/lift data_root=/data wandb.group=rlbench_pick_and_lift $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating final'
echo "--------------------------------------------------------------------------------"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@ echo "--------------------------------------------------------------------------
echo "python scripts/eval_metrics.py --config-name commands/rlbench/pick_up_cup/taxpose_tc/precision_eval/pregrasp data_root=/data wandb.group=rlbench_pick_up_cup $@"

python scripts/eval_metrics.py --config-name commands/rlbench/pick_up_cup/taxpose_tc/precision_eval/pregrasp data_root=/data wandb.group=rlbench_pick_up_cup $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating grasp'
echo "--------------------------------------------------------------------------------"
echo "python scripts/eval_metrics.py --config-name commands/rlbench/pick_up_cup/taxpose_tc/precision_eval/grasp data_root=/data wandb.group=rlbench_pick_up_cup $@"

python scripts/eval_metrics.py --config-name commands/rlbench/pick_up_cup/taxpose_tc/precision_eval/grasp data_root=/data wandb.group=rlbench_pick_up_cup $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating lift'
echo "--------------------------------------------------------------------------------"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ echo "--------------------------------------------------------------------------
echo "python scripts/eval_metrics.py --config-name commands/rlbench/push_button/taxpose_tc/precision_eval/prepush data_root=/data wandb.group=rlbench_push_button $@"

python scripts/eval_metrics.py --config-name commands/rlbench/push_button/taxpose_tc/precision_eval/prepush data_root=/data wandb.group=rlbench_push_button $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating postpush'
echo "--------------------------------------------------------------------------------"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,18 @@ echo "--------------------------------------------------------------------------
echo "python scripts/eval_metrics.py --config-name commands/rlbench/put_knife_on_chopping_board/taxpose_tc/precision_eval/pregrasp data_root=/data wandb.group=rlbench_put_knife_on_chopping_board $@"

python scripts/eval_metrics.py --config-name commands/rlbench/put_knife_on_chopping_board/taxpose_tc/precision_eval/pregrasp data_root=/data wandb.group=rlbench_put_knife_on_chopping_board $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating grasp'
echo "--------------------------------------------------------------------------------"
echo "python scripts/eval_metrics.py --config-name commands/rlbench/put_knife_on_chopping_board/taxpose_tc/precision_eval/grasp data_root=/data wandb.group=rlbench_put_knife_on_chopping_board $@"

python scripts/eval_metrics.py --config-name commands/rlbench/put_knife_on_chopping_board/taxpose_tc/precision_eval/grasp data_root=/data wandb.group=rlbench_put_knife_on_chopping_board $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating lift'
echo "--------------------------------------------------------------------------------"
echo "python scripts/eval_metrics.py --config-name commands/rlbench/put_knife_on_chopping_board/taxpose_tc/precision_eval/lift data_root=/data wandb.group=rlbench_put_knife_on_chopping_board $@"

python scripts/eval_metrics.py --config-name commands/rlbench/put_knife_on_chopping_board/taxpose_tc/precision_eval/lift data_root=/data wandb.group=rlbench_put_knife_on_chopping_board $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating place'
echo "--------------------------------------------------------------------------------"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,24 @@ echo "--------------------------------------------------------------------------
echo "python scripts/eval_metrics.py --config-name commands/rlbench/put_money_in_safe/taxpose_tc/precision_eval/pregrasp data_root=/data wandb.group=rlbench_put_money_in_safe $@"

python scripts/eval_metrics.py --config-name commands/rlbench/put_money_in_safe/taxpose_tc/precision_eval/pregrasp data_root=/data wandb.group=rlbench_put_money_in_safe $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating grasp'
echo "--------------------------------------------------------------------------------"
echo "python scripts/eval_metrics.py --config-name commands/rlbench/put_money_in_safe/taxpose_tc/precision_eval/grasp data_root=/data wandb.group=rlbench_put_money_in_safe $@"

python scripts/eval_metrics.py --config-name commands/rlbench/put_money_in_safe/taxpose_tc/precision_eval/grasp data_root=/data wandb.group=rlbench_put_money_in_safe $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating lift'
echo "--------------------------------------------------------------------------------"
echo "python scripts/eval_metrics.py --config-name commands/rlbench/put_money_in_safe/taxpose_tc/precision_eval/lift data_root=/data wandb.group=rlbench_put_money_in_safe $@"

python scripts/eval_metrics.py --config-name commands/rlbench/put_money_in_safe/taxpose_tc/precision_eval/lift data_root=/data wandb.group=rlbench_put_money_in_safe $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating preplace'
echo "--------------------------------------------------------------------------------"
echo "python scripts/eval_metrics.py --config-name commands/rlbench/put_money_in_safe/taxpose_tc/precision_eval/preplace data_root=/data wandb.group=rlbench_put_money_in_safe $@"

python scripts/eval_metrics.py --config-name commands/rlbench/put_money_in_safe/taxpose_tc/precision_eval/preplace data_root=/data wandb.group=rlbench_put_money_in_safe $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating place'
echo "--------------------------------------------------------------------------------"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ echo "--------------------------------------------------------------------------
echo "python scripts/eval_metrics.py --config-name commands/rlbench/slide_block_to_target/taxpose_tc/precision_eval/preslide data_root=/data wandb.group=rlbench_slide_block_to_target $@"

python scripts/eval_metrics.py --config-name commands/rlbench/slide_block_to_target/taxpose_tc/precision_eval/preslide data_root=/data wandb.group=rlbench_slide_block_to_target $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating postslide'
echo "--------------------------------------------------------------------------------"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,24 @@ echo "--------------------------------------------------------------------------
echo "python scripts/eval_metrics.py --config-name commands/rlbench/stack_wine/taxpose_tc/precision_eval/pregrasp data_root=/data wandb.group=rlbench_stack_wine $@"

python scripts/eval_metrics.py --config-name commands/rlbench/stack_wine/taxpose_tc/precision_eval/pregrasp data_root=/data wandb.group=rlbench_stack_wine $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating grasp'
echo "--------------------------------------------------------------------------------"
echo "python scripts/eval_metrics.py --config-name commands/rlbench/stack_wine/taxpose_tc/precision_eval/grasp data_root=/data wandb.group=rlbench_stack_wine $@"

python scripts/eval_metrics.py --config-name commands/rlbench/stack_wine/taxpose_tc/precision_eval/grasp data_root=/data wandb.group=rlbench_stack_wine $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating lift'
echo "--------------------------------------------------------------------------------"
echo "python scripts/eval_metrics.py --config-name commands/rlbench/stack_wine/taxpose_tc/precision_eval/lift data_root=/data wandb.group=rlbench_stack_wine $@"

python scripts/eval_metrics.py --config-name commands/rlbench/stack_wine/taxpose_tc/precision_eval/lift data_root=/data wandb.group=rlbench_stack_wine $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating preplace'
echo "--------------------------------------------------------------------------------"
echo "python scripts/eval_metrics.py --config-name commands/rlbench/stack_wine/taxpose_tc/precision_eval/preplace data_root=/data wandb.group=rlbench_stack_wine $@"

python scripts/eval_metrics.py --config-name commands/rlbench/stack_wine/taxpose_tc/precision_eval/preplace data_root=/data wandb.group=rlbench_stack_wine $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating place'
echo "--------------------------------------------------------------------------------"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,18 @@ echo "--------------------------------------------------------------------------
echo "python scripts/eval_metrics.py --config-name commands/rlbench/take_money_out_safe/taxpose_tc/precision_eval/pregrasp data_root=/data wandb.group=rlbench_take_money_out_safe $@"

python scripts/eval_metrics.py --config-name commands/rlbench/take_money_out_safe/taxpose_tc/precision_eval/pregrasp data_root=/data wandb.group=rlbench_take_money_out_safe $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating grasp'
echo "--------------------------------------------------------------------------------"
echo "python scripts/eval_metrics.py --config-name commands/rlbench/take_money_out_safe/taxpose_tc/precision_eval/grasp data_root=/data wandb.group=rlbench_take_money_out_safe $@"

python scripts/eval_metrics.py --config-name commands/rlbench/take_money_out_safe/taxpose_tc/precision_eval/grasp data_root=/data wandb.group=rlbench_take_money_out_safe $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating lift'
echo "--------------------------------------------------------------------------------"
echo "python scripts/eval_metrics.py --config-name commands/rlbench/take_money_out_safe/taxpose_tc/precision_eval/lift data_root=/data wandb.group=rlbench_take_money_out_safe $@"

python scripts/eval_metrics.py --config-name commands/rlbench/take_money_out_safe/taxpose_tc/precision_eval/lift data_root=/data wandb.group=rlbench_take_money_out_safe $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating place'
echo "--------------------------------------------------------------------------------"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@ echo "--------------------------------------------------------------------------
echo "python scripts/eval_metrics.py --config-name commands/rlbench/take_umbrella_out_of_umbrella_stand/taxpose_tc/precision_eval/pregasp data_root=/data wandb.group=rlbench_take_umbrella_out_of_umbrella_stand $@"

python scripts/eval_metrics.py --config-name commands/rlbench/take_umbrella_out_of_umbrella_stand/taxpose_tc/precision_eval/pregasp data_root=/data wandb.group=rlbench_take_umbrella_out_of_umbrella_stand $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating grasp'
echo "--------------------------------------------------------------------------------"
echo "python scripts/eval_metrics.py --config-name commands/rlbench/take_umbrella_out_of_umbrella_stand/taxpose_tc/precision_eval/grasp data_root=/data wandb.group=rlbench_take_umbrella_out_of_umbrella_stand $@"

python scripts/eval_metrics.py --config-name commands/rlbench/take_umbrella_out_of_umbrella_stand/taxpose_tc/precision_eval/grasp data_root=/data wandb.group=rlbench_take_umbrella_out_of_umbrella_stand $@

echo "--------------------------------------------------------------------------------"
echo 'Evaluating lift'
echo "--------------------------------------------------------------------------------"
Expand Down
5 changes: 0 additions & 5 deletions configs/dataset/real_world_mug/mug_place.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,3 @@ val_dset:
num_points: ${...train_dset.demo_dset.num_points}
action_class: ${task.action_class}
anchor_class: ${task.anchor_class}

test_dset:
demo_dset:
dataset_indices: null
num_demo: null
6 changes: 3 additions & 3 deletions configs/dataset/rlbench/_default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ train_dset:
teleport_initial_to_final: true
with_symmetry: True
occlusion_cfg: ???
num_points: 256
action_mode: "object"
anchor_mode: "single_object"
num_points: 512
action_mode: "gripper_and_object"
anchor_mode: "background_robot_removed"

val_dset:
demo_dset:
Expand Down
6 changes: 0 additions & 6 deletions configs/dataset/rlbench/_default/_default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,3 @@ val_dset:
episodes:
- 8
# - 9

test_dset:
demo_dset:
dataset_type: ${benchmark.name}
episodes:
# - 0
4 changes: 0 additions & 4 deletions configs/dataset/rlbench/insert_onto_square_peg/_default.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
defaults:
- ../_default@_here_
- _self_
test_dset:
demo_dset:
dataset_type: ${benchmark.name}
episodes: null
train_dset:
demo_dset:
dataset_type: ${benchmark.name}
Expand Down
4 changes: 0 additions & 4 deletions configs/dataset/rlbench/phone_on_base/_default.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
defaults:
- ../_default@_here_
- _self_
test_dset:
demo_dset:
dataset_type: ${benchmark.name}
episodes: null
train_dset:
demo_dset:
dataset_type: ${benchmark.name}
Expand Down
24 changes: 10 additions & 14 deletions configs/dataset/rlbench/pick_and_lift/_default.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
defaults:
- ../_default@_here_
- _self_
test_dset:
demo_dset:
dataset_type: ${benchmark.name}
episodes: null
train_dset:
demo_dset:
dataset_type: ${benchmark.name}
Expand Down Expand Up @@ -113,13 +109,13 @@ val_dset:
demo_dset:
dataset_type: ${benchmark.name}
episodes:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
24 changes: 10 additions & 14 deletions configs/dataset/rlbench/pick_up_cup/_default.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
defaults:
- ../_default@_here_
- _self_
test_dset:
demo_dset:
dataset_type: ${benchmark.name}
episodes: null
train_dset:
demo_dset:
dataset_type: ${benchmark.name}
Expand Down Expand Up @@ -113,13 +109,13 @@ val_dset:
demo_dset:
dataset_type: ${benchmark.name}
episodes:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
4 changes: 0 additions & 4 deletions configs/dataset/rlbench/place_hanger_on_rack/_default.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
defaults:
- ../_default@_here_
- _self_
test_dset:
demo_dset:
dataset_type: ${benchmark.name}
episodes: null
train_dset:
demo_dset:
dataset_type: ${benchmark.name}
Expand Down
24 changes: 10 additions & 14 deletions configs/dataset/rlbench/push_button/_default.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
defaults:
- ../_default@_here_
- _self_
test_dset:
demo_dset:
dataset_type: ${benchmark.name}
episodes: null
train_dset:
demo_dset:
dataset_type: ${benchmark.name}
Expand Down Expand Up @@ -113,13 +109,13 @@ val_dset:
demo_dset:
dataset_type: ${benchmark.name}
episodes:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
24 changes: 10 additions & 14 deletions configs/dataset/rlbench/put_knife_on_chopping_board/_default.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
defaults:
- ../_default@_here_
- _self_
test_dset:
demo_dset:
dataset_type: ${benchmark.name}
episodes: null
train_dset:
demo_dset:
dataset_type: ${benchmark.name}
Expand Down Expand Up @@ -113,13 +109,13 @@ val_dset:
demo_dset:
dataset_type: ${benchmark.name}
episodes:
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
Loading

0 comments on commit a9a7a83

Please sign in to comment.