from common.src import resample as res
from imblearn.over_sampling import RandomOverSampler, ADASYN

path = r'C:\Users\mmitk\dev\2020\pneumonia\common\data\TEST'
#path = r'C:\Users\mmitk\dev\2020\pneumonia\common\data\chest_xray\train'
ros = RandomOverSampler(random_state=0)
ads = ADASYN()


res.resample_directory(ads, path, 'TEST_ADS_ORIG', val = False)