Skip to content

Commit

Permalink
Beneisner/merge taxpose ablations (#37)
Browse files Browse the repository at this point in the history
* update the ablation config to be as close to train as possible

* switch the file to consume only things from the main config, ignore the ablation switch

* move ablations into their respective files

* move ablation overrides to the global namespace

* Refactor all ablations into the exact same config format

* change to object_class and relationship system

* remove the ablation

* merge together the eval ablation stuff
  • Loading branch information
beneisner authored May 2, 2024
1 parent 3d56539 commit e10617b
Show file tree
Hide file tree
Showing 53 changed files with 234 additions and 1,934 deletions.
12 changes: 0 additions & 12 deletions configs/ablation/0_no_disp_loss.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions configs/ablation/1_no_corr_loss.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions configs/ablation/2_no_cons_loss.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions configs/ablation/3_no_disp_loss_combined.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions configs/ablation/4_no_residuals.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions configs/ablation/5_unweighted_svd.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions configs/ablation/6_no_finetuning.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions configs/ablation/7_no_pretraining.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions configs/ablation/8_mlp.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions configs/ablation/9_low_dim_embedding.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions configs/ablation/taxpose.yaml

This file was deleted.

7 changes: 7 additions & 0 deletions configs/commands/ndf/ablations/0_no_disp_loss/_ablation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @package _global_

ablation:
name: 0_no_disp_loss


displace_loss_weight: 0
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# @package _global_

defaults:
- /train_mug_residual_ablation
- override /ablation: 0_no_disp_loss
- override /task: mug_grasp
- /train_ndf
- _ablation
- override /object_class: mug
- override /relationship: grasp
- _self_

mode: train
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# @package _global_

defaults:
- /train_mug_residual_ablation
- override /ablation: 0_no_disp_loss
- override /task: mug_place
- /train_ndf
- _ablation
- override /object_class: mug
- override /relationship: place
- _self_

mode: train
6 changes: 6 additions & 0 deletions configs/commands/ndf/ablations/1_no_corr_loss/_ablation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# @package _global_

ablation:
name: 1_no_corr_loss

direct_correspondence_loss_weight: 0
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# @package _global_

defaults:
- /train_mug_residual_ablation
- override /ablation: 1_no_corr_loss
- override /task: mug_grasp
- /train_ndf
- _ablation
- override /object_class: mug
- override /relationship: grasp
- _self_

mode: train
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# @package _global_

defaults:
- /train_mug_residual_ablation
- override /ablation: 1_no_corr_loss
- override /task: mug_place
- /train_ndf
- _ablation
- override /object_class: mug
- override /relationship: place
- _self_

mode: train
6 changes: 6 additions & 0 deletions configs/commands/ndf/ablations/2_no_cons_loss/_ablation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# @package _global_

ablation:
name: 2_no_cons_loss

consistency_loss_weight: 0
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# @package _global_

defaults:
- /train_mug_residual_ablation
- override /ablation: 2_no_cons_loss
- override /task: mug_grasp
- /train_ndf
- _ablation
- override /object_class: mug
- override /relationship: grasp
- _self_

mode: train
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# @package _global_

defaults:
- /train_mug_residual_ablation
- override /ablation: 2_no_cons_loss
- override /task: mug_place
- /train_ndf
- _ablation
- override /object_class: mug
- override /relationship: place
- _self_

mode: train
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @package _global_

ablation:
name: 3_no_disp_loss_combined

displace_loss_weight: 0
consistency_loss_weight: 0.1
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# @package _global_

defaults:
- /train_mug_residual_ablation
- override /ablation: 3_no_disp_loss_combined
- override /task: mug_grasp
- /train_ndf
- _ablation
- override /object_class: mug
- override /relationship: grasp
- _self_

mode: train
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# @package _global_

defaults:
- /train_mug_residual_ablation
- override /ablation: 3_no_disp_loss_combined
- override /task: mug_place
- /train_ndf
- _ablation
- override /object_class: mug
- override /relationship: place
- _self_

mode: train
7 changes: 7 additions & 0 deletions configs/commands/ndf/ablations/4_no_residuals/_ablation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @package _global_

ablation:
name: 4_no_residuals

model:
residual_on: False
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# @package _global_

defaults:
- /train_mug_residual_ablation
- override /ablation: 4_no_residuals
- override /task: mug_grasp
- /train_ndf
- _ablation
- override /object_class: mug
- override /relationship: grasp
- _self_

mode: train
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# @package _global_

defaults:
- /train_mug_residual_ablation
- override /ablation: 4_no_residuals
- override /task: mug_place
- /train_ndf
- _ablation
- override /object_class: mug
- override /relationship: place
- _self_

mode: train
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @package _global_

ablation:
name: 5_unweighted_svd

model:
pred_weight: False
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# @package _global_

defaults:
- /train_mug_residual_ablation
- override /ablation: 5_unweighted_svd
- override /task: mug_grasp
- /train_ndf
- _ablation
- override /object_class: mug
- override /relationship: grasp
- _self_

mode: train
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# @package _global_

defaults:
- /train_mug_residual_ablation
- override /ablation: 5_unweighted_svd
- override /task: mug_place
- /train_ndf
- _ablation
- override /object_class: mug
- override /relationship: place
- _self_

mode: train
6 changes: 6 additions & 0 deletions configs/commands/ndf/ablations/6_no_finetuning/_ablation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# @package _global_

ablation:
name: 6_no_finetuning

freeze_embnn: True
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# @package _global_

defaults:
- /train_mug_residual_ablation
- override /ablation: 6_no_finetuning
- override /task: mug_grasp
- /train_ndf
- _ablation
- override /object_class: mug
- override /relationship: grasp
- _self_

mode: train
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# @package _global_

defaults:
- /train_mug_residual_ablation
- override /ablation: 6_no_finetuning
- override /task: mug_place
- /train_ndf
- _ablation
- override /object_class: mug
- override /relationship: place
- _self_

mode: train
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# @package _global_

ablation:
name: 7_no_pretraining

pretraining:
checkpoint_file_action: Null
checkpoint_file_anchor: Null
Loading

0 comments on commit e10617b

Please sign in to comment.