<reponame>villawang/Continual_Learning_CV
import pickle
from data import get_multitask_experiment
#factors=['clutter','illumination','occlusion','pixel']
factors=['clutter','illumination','pixel','occlusion']

for factor in factors:
    pkl=get_multitask_experiment(name='mydataset', scenario='domain', tasks=9, verbose=True, exception=True,factor=factor)
    with open(factor+'.pk','wb') as f:
        pickle.dump(pkl,f)

import pickle
from data import get_multitask_experiment
#factors=['clutter','illumination','occlusion','pixel']
factors=['clutter','illumination','pixel','occlusion']

for factor in factors:
    pkl=get_multitask_experiment(name='mydataset', scenario='domain', tasks=9, verbose=True, exception=True,factor=factor)
    with open(factor+'.pk','wb') as f:
        pickle.dump(pkl,f)
#factors=['clutter','illumination','occlusion','pixel']