dmmiller612/bert-extractive-summarizer

AttributeError: module 'transformers.utils.logging' has no attribute 'basicConfig'

lazarinastoy opened this issue · 2 comments

Getting this error when trying to import from summarizer import Summarizer

Log below:

from summarizer import Summarizer
from summarizer.model_processors import Summarizer, TransformerSummarizer
from summarizer.bert_parent import BertParent
logging.basicConfig(level=logging.WARNING)
AttributeError: module 'transformers.utils.logging' has no attribute 'basicConfig'

Newest version of bert-extractive-summarizer should resolve this issue. Feel free to reopen, if it still persists.