Skip to content

Commit

Permalink
Release2.4 (#632)
Browse files Browse the repository at this point in the history
* prepare for release
  • Loading branch information
lanpa committed Jul 9, 2021
1 parent 5dad4bd commit 4f13678
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
8 changes: 8 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
History
=======
2.4 (2021-06-30)
-----------------
* Remove a dependency issue. (#631)

2.3 (2021-06-20)
-----------------
* Support logging to comet.ml simutaneously.

2.2 (2021-04-03)
-----------------
* Support for type hints.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Write TensorBoard events with simple function call.

The current release (v2.1) is tested on anaconda3, with PyTorch 1.5.1 / torchvision 0.6.1 / tensorboard 2.2.2.
The current release (v2.3) is tested on anaconda3, with PyTorch 1.8.1 / torchvision 0.9.1 / tensorboard 2.5.0.

* Support `scalar`, `image`, `figure`, `histogram`, `audio`, `text`, `graph`, `onnx_graph`, `embedding`, `pr_curve`, `mesh`, `hyper-parameters`
and `video` summaries.
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def run(self):
history = history_file.read()

preparing_PyPI_package = 'sdist' in sys.argv or 'bdist_wheel' in sys.argv
version_git = version = '2.2'
version_git = version = '2.4'

if not preparing_PyPI_package:
if os.path.exists('.git'):
Expand Down Expand Up @@ -92,8 +92,8 @@ def run(self):
# check the generated tar.gz file
# (1. The version number is correct. 2. no *.pyc __pycache__ files)
# git checkout -b "release x.x"
# git add setup.py History.rst readme.md
# git commit -m 'prepare for release' (skip tensorboardX/__init__.py)
# git add setup.py History.rst readme.md (skip tensorboardX/__init__.py)
# git commit -m 'prepare for release'
# add tag
# twine upload dist/*
# git push
Expand Down
3 changes: 1 addition & 2 deletions tensorboardX/comet_utils.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
import logging
import json
import functools
from PIL import Image
from io import BytesIO
import numpy as np
from .summary import _clean_tag
try:
import comet_ml
comet_installed = True
from PIL import Image
except ImportError:
comet_installed = False
import torch


class CometLogger:
Expand Down

0 comments on commit 4f13678

Please sign in to comment.