We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3a3180 commit bc659f8Copy full SHA for bc659f8
pytorch_pretrained_bert/file_utils.py
@@ -23,8 +23,8 @@
23
24
logger = logging.getLogger(__name__) # pylint: disable=invalid-name
25
26
-PYTORCH_PRETRAINED_BERT_CACHE = Path(os.getenv('PYTORCH_PRETRAINED_BERT_CACHE',
27
- Path.home() / '.pytorch_pretrained_bert'))
+PYTORCH_PRETRAINED_BERT_CACHE = str(Path(os.getenv('PYTORCH_PRETRAINED_BERT_CACHE',
+ Path.home() / '.pytorch_pretrained_bert')))
28
29
30
def url_to_filename(url: str, etag: str = None) -> str:
0 commit comments