-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
17 lines (15 loc) · 1.13 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
N_TASKS = 1000
test:
pytest src
all_exp:
for task_sampler in --color-aware --no-color-aware; do\
for model in prototypical tim finetune; do\
for augmentation in rotation deformation cropping vertical_flipping horizontal_flipping color_jiter solarize grayscale; do\
python -m scripts.main --number-of-tasks $(N_TASKS) $${task_sampler} --few-shot-method $${model} --basic-augmentation $${augmentation} ;\
done ;\
python -m scripts.main --number-of-tasks $(N_TASKS) $${task_sampler} --few-shot-method $${model} ;\
python -m scripts.main --number-of-tasks $(N_TASKS) $${task_sampler} --few-shot-method $${model} --style-transfer-augmentation ;\
python -m scripts.main --number-of-tasks $(N_TASKS) $${task_sampler} --few-shot-method $${model} --style-transfer-augmentation --basic-augmentation rotation,deformation,cropping,vertical_flipping,horizontal_flipping,color_jiter,solarize ;\
python -m scripts.main --number-of-tasks $(N_TASKS) $${task_sampler} --few-shot-method $${model} --basic-augmentation rotation,deformation,cropping,vertical_flipping,horizontal_flipping,color_jiter,solarize ;\
done ;\
done ;\