remove logging. basicConfig from library code
This commit is contained in:
@@ -34,9 +34,6 @@ from torch.nn import CrossEntropyLoss
|
|||||||
|
|
||||||
from .file_utils import cached_path
|
from .file_utils import cached_path
|
||||||
|
|
||||||
logging.basicConfig(format = '%(asctime)s - %(levelname)s - %(name)s - %(message)s',
|
|
||||||
datefmt = '%m/%d/%Y %H:%M:%S',
|
|
||||||
level = logging.INFO)
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
PRETRAINED_MODEL_ARCHIVE_MAP = {
|
PRETRAINED_MODEL_ARCHIVE_MAP = {
|
||||||
|
|||||||
@@ -25,9 +25,6 @@ import logging
|
|||||||
|
|
||||||
from .file_utils import cached_path
|
from .file_utils import cached_path
|
||||||
|
|
||||||
logging.basicConfig(format = '%(asctime)s - %(levelname)s - %(name)s - %(message)s',
|
|
||||||
datefmt = '%m/%d/%Y %H:%M:%S',
|
|
||||||
level = logging.INFO)
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
PRETRAINED_VOCAB_ARCHIVE_MAP = {
|
PRETRAINED_VOCAB_ARCHIVE_MAP = {
|
||||||
|
|||||||
Reference in New Issue
Block a user