Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Fix typo in tensorboard. (#3067)
Browse files Browse the repository at this point in the history
* Fix typo in tensorboard.

* Bump version too (0.9.2)
  • Loading branch information
stephenroller committed Sep 10, 2020
1 parent 84351e5 commit 0f6e5a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion parlai/__init__.py
Expand Up @@ -4,4 +4,4 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

__version__ = '0.9.1'
__version__ = '0.9.2'
2 changes: 1 addition & 1 deletion parlai/core/logs.py
Expand Up @@ -53,7 +53,7 @@ def __init__(self, opt: Opt):
tbpath = opt['model_file'] + '.tensorboard'
logging.debug(f'Saving tensorboard logs to: {tbpath}')
if not PathManager.exists(tbpath):
PathManager.makedirs(tbpath)
PathManager.mkdirs(tbpath)
self.writer = SummaryWriter(tbpath, comment=json.dumps(opt))

def log_metrics(self, setting, step, report):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -9,7 +9,7 @@

from setuptools import setup, find_packages

VERSION = '0.9.1' # if you update, update parlai/__init__.py too!
VERSION = '0.9.2' # if you update, update parlai/__init__.py too!

if sys.version_info < (3, 6):
sys.exit('Sorry, Python >=3.6 is required for ParlAI.')
Expand Down

0 comments on commit 0f6e5a6

Please sign in to comment.