pcbm_metashift / configs /generate.yaml
Anon
Anonymize
da3e9e3
tasks:
- name: task_1
seed: 42
num_images_per_class_train: 100
num_images_per_class_test: 100
selected_classes:
- airplane
- bed
- car
- cow
- keyboard
experiments:
- name: bed_dog_cat
spurious_class: bed
train_context: dog
test_context: cat
- name: bed_cat_dog
spurious_class: bed
train_context: cat
test_context: dog
# - name: car_dog_cat # Not enough images
# spurious_class: car
# train_context: dog
# test_context: cat # 50 < car(cat) < 100
# - name: car_cat_dog # Not enough images
# spurious_class: car
# train_context: cat # 50 < car(cat) < 100
# test_context: dog
# - name: cow(dog)_cow(cat) # Not enough images
# spurious_class: cow
# train_context: dog # 0 < cow(dog) < 50
# test_context: cat # cow(cat) = 0
# - name: keyboard(dog)_keyboard(cat) # Not enough images
# spurious_class: keyboard
# train_context: dog # 0 < keyboard(dog) < 50
# test_context: cat
- name: task_2
seed: 42
num_images_per_class_train: 100
num_images_per_class_test: 100
selected_classes:
- beach
- computer
- motorcycle
- stove
- table
experiments:
- name: table_cat_dog
spurious_class: table
train_context: cat
test_context: dog
- name: table_dog_cat
spurious_class: table
train_context: dog
test_context: cat
- name: table_books_dog
spurious_class: table
train_context: books
test_context: dog
- name: table_books_cat
spurious_class: table
train_context: books
test_context: cat