Skip to content

Commit

Permalink
v1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
lanpa committed Jul 4, 2019
1 parent 9502862 commit ee90302
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 11 deletions.
7 changes: 7 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
History
=======
1.8 (2019-07-05)
-----------------
* Draw label text on image with bounding box provided.
* crc32c speed up (optional by installing crc32c manually)
* Rewrite add_graph. onnx backend is replaced by JIT to support more advanced structure.
* Now you can add_mesh() to visualize colorful point cloud or meshes.

1.7 (2019-05-19)
-----------------
* Able to write to S3
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Write TensorBoard events with simple function call.

* Support `scalar`, `image`, `figure`, `histogram`, `audio`, `text`, `graph`, `onnx_graph`, `embedding`, `pr_curve`
* Support `scalar`, `image`, `figure`, `histogram`, `audio`, `text`, `graph`, `onnx_graph`, `embedding`, `pr_curve`, `mesh`
and `video` summaries.

* requirement for `demo_graph.py` is tensorboardX>=1.6 and pytorch>=1.1
Expand All @@ -17,7 +17,7 @@ Write TensorBoard events with simple function call.

## Install

Tested on anaconda2 / anaconda3, with PyTorch 1.0.0 / torchvision 0.2.2 / tensorboard 1.13.0
Tested on anaconda2 / anaconda3, with PyTorch 1.1.0 / torchvision 0.3 / tensorboard 1.13.0

`pip install tensorboardX`

Expand Down
16 changes: 8 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ def run(self):
history = history_file.read()

# comment if preparing PyPI package
version = '1.7'
# version = '1.8'

if os.path.exists('.git'):
sha = subprocess.check_output(['git', 'rev-parse', 'HEAD']).decode('ascii').strip()
version_git = version + '+' + sha[:7]
else:
version_git = version
# if os.path.exists('.git'):
# sha = subprocess.check_output(['git', 'rev-parse', 'HEAD']).decode('ascii').strip()
# version_git = version + '+' + sha[:7]
# else:
# version_git = version

with open('tensorboardX/__init__.py', 'a') as f:
f.write('\n__version__ = "{}"\n'.format(version_git))
# with open('tensorboardX/__init__.py', 'a') as f:
# f.write('\n__version__ = "{}"\n'.format(version_git))
# end of comment

requirements = [
Expand Down
2 changes: 1 addition & 1 deletion tensorboardX/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
from .torchvis import TorchVis
from .writer import FileWriter, SummaryWriter

__version__ = "1.7" # will be overwritten if run setup.py
__version__ = "1.8" # will be overwritten if run setup.py

0 comments on commit ee90302

Please sign in to comment.