Skip to content

Commit 9dfd9b8

Browse files
graph plotting script
1 parent c5fb22a commit 9dfd9b8

1 file changed

Lines changed: 14 additions & 15 deletions

File tree

scripts/plotting/plot_vlm_pred_invent_results.py

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,39 +11,39 @@
1111
# Define the data for each environment
1212
data_combo_burger = {
1313
'EXPERIMENT_ID': [
14-
'INTERPRET', 'Ours', 'Ours-no-geo', 'Ours-no-invent',
15-
'Ours-no-subselection', 'Ours-no-visual', 'Ours-vlm-subselection',
16-
'VILA-pure', 'VILA-with-fewshot'
14+
'VLM feat. pred', 'Ours', 'No feat.', 'No invent',
15+
'No subselect', 'No visual', 'VLM subselect',
16+
'ViLa', 'ViLa fewshot'
1717
],
1818
'NUM_SOLVED': [0.00, 8.20, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 3.80],
1919
'NUM_SOLVED_STDDEV': [0.00, 1.17, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.40]
2020
}
2121

2222
data_fatter_burger = {
2323
'EXPERIMENT_ID': [
24-
'INTERPRET', 'Ours', 'Ours-no-geo', 'Ours-no-invent',
25-
'Ours-no-subselection', 'Ours-no-visual', 'Ours-vlm-subselection',
26-
'VILA-pure', 'VILA-with-fewshot'
24+
'VLM feat. pred', 'Ours', 'No feat.', 'No invent',
25+
'No subselect', 'No visual', 'VLM subselect',
26+
'ViLa', 'ViLa fewshot'
2727
],
2828
'NUM_SOLVED': [0.00, 9.60, 1.20, 0.00, 0.00, 1.20, 3.00, 0.80, 3.80],
2929
'NUM_SOLVED_STDDEV': [0.00, 0.80, 2.40, 0.00, 0.00, 2.40, 1.41, 0.40, 0.40]
3030
}
3131

3232
data_more_stacks = {
3333
'EXPERIMENT_ID': [
34-
'INTERPRET', 'Ours', 'Ours-no-geo', 'Ours-no-invent',
35-
'Ours-no-subselection', 'Ours-no-visual', 'Ours-vlm-subselection',
36-
'VILA-pure', 'VILA-with-fewshot'
34+
'VLM feat. pred', 'Ours', 'No feat.', 'No invent',
35+
'No subselect', 'No visual', 'VLM subselect',
36+
'ViLa', 'ViLa fewshot'
3737
],
3838
'NUM_SOLVED': [0.00, 9.40, 0.00, 0.00, 0.00, 0.00, 3.60, 0.80, 3.80],
3939
'NUM_SOLVED_STDDEV': [0.00, 0.80, 0.00, 0.00, 0.00, 0.00, 2.24, 1.17, 0.40]
4040
}
4141

4242
data_kitchen_boil_kettle = {
4343
'EXPERIMENT_ID': [
44-
'INTERPRET', 'Ours', 'Ours-no-geo', 'Ours-no-invent',
45-
'Ours-no-subselection', 'Ours-no-visual', 'Ours-vlm-subselection',
46-
'VILA-pure', 'VILA-with-fewshot'
44+
'VLM feat. pred', 'Ours', 'No feat.', 'No invent',
45+
'No subselect', 'No visual', 'VLM subselect',
46+
'ViLa', 'ViLa fewshot'
4747
],
4848
'NUM_SOLVED': [0.00, 9.80, 9.80, 0.00, 0.00, 9.80, 1.00, 6.60, 10.00],
4949
'NUM_SOLVED_STDDEV': [0.00, 0.40, 0.40, 0.00, 0.00, 0.40, 2.00, 1.02, 0.00]
@@ -57,9 +57,8 @@
5757

5858
# Reorder the 'EXPERIMENT_ID' column to match 'custom_order'
5959
custom_order = [
60-
'Ours', 'Ours-no-geo', 'Ours-no-invent', 'Ours-no-subselection',
61-
'Ours-no-visual', 'Ours-vlm-subselection', 'INTERPRET', 'VILA-pure',
62-
'VILA-with-fewshot'
60+
'Ours', 'VLM subselect', 'No subselect', 'No feat.', 'No visual', 'No invent',
61+
'VLM feat. pred', 'ViLa', 'ViLa fewshot'
6362
]
6463

6564
# Apply Categorical ordering before any transformations

0 commit comments

Comments
 (0)