1
0
mirror of https://github.com/QData/TextAttack.git synced 2021-10-13 00:05:06 +03:00

Merge pull request #539 from QData/fix-'textattack'-has-no-attribute-'shared'-bug

Fix logger initiation bug
This commit is contained in:
Yanjun Qi / Jane
2021-10-12 11:37:03 -04:00
committed by GitHub

View File

@@ -25,7 +25,7 @@ from .models.helpers import LSTMForClassification, WordCNNForClassification
from .models.wrappers import ModelWrapper
from .training_args import CommandLineTrainingArgs, TrainingArgs
logger = textattack.shared.logger
logger = textattack.shared.utils.logger
class Trainer: