lancopku / text-autoaugment

[EMNLP 2021] Text AutoAugment: Learning Compositional Augmentation Policy for Text Classification
https://arxiv.org/abs/2109.00523
MIT License
125 stars 16 forks source link

"Exception: This class is a singleton!" #5

Closed isilberfin closed 2 years ago

isilberfin commented 2 years ago

Hi there, when I try to use search and augment like : augmented_train_dataset = search_and_augment(configfile="./text-autoaugment/taa/confs/bert_sst2_example.yaml") I have the error "Exception: This class is a singleton!". I did not modify anything in the file. How can I fix it ?

javanlu123 commented 2 years ago

How do you fix it? I hava the same problem