Skip to content

Commit

Permalink
Merge pull request #551 from ankitgv0/patch-2
Browse files Browse the repository at this point in the history
Logger bug fix
  • Loading branch information
qiyanjun committed Oct 22, 2021
2 parents 1811105 + 8a3e8c2 commit 1918bfd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions textattack/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import transformers

import textattack
from textattack.shared.utils import logger

from .attack import Attack
from .attack_args import AttackArgs
Expand All @@ -25,8 +26,6 @@
from .models.wrappers import ModelWrapper
from .training_args import CommandLineTrainingArgs, TrainingArgs

logger = textattack.shared.utils.logger


class Trainer:
"""Trainer is training and eval loop for adversarial training.
Expand Down

0 comments on commit 1918bfd

Please sign in to comment.