Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
lanpa committed Nov 10, 2017
1 parent 9f492ce commit fad4b6d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
History
=======
0.9 (2017-11-11)
-----------------
* Supports markdown for add_text function
* It's ready to log precision recall curve (needs tensorboard>=0.4)
* Adds context manager for the SummaryWriter class

0.8 (2017-09-25)
-----------------
* Package name renamed to tensorboardX to fix namespace confliction with tensorflow's tensorboard
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Write tensorboard events with simple function call.

including scalar, image, histogram, audio, text, graph and embedding.
Supports scalar, image, histogram, audio, text, graph, embedding and pr_curve.

see [demo](http:35.197.26.245:6006) (result of `demo.py` and some images generated by BEGAN)

Expand Down Expand Up @@ -58,7 +58,7 @@ for n_iter in range(100):
writer.add_text('Text', 'text logged at step:'+str(n_iter), n_iter)
for name, param in resnet18.named_parameters():
writer.add_histogram(name, param.clone().cpu().data.numpy(), n_iter)

writer.add_pr_curve('xoxo', np.random.randint(2, size=100), np.random.rand(100), n_iter) #needs tensorboard 0.4RC or later
dataset = datasets.MNIST('mnist', train=False, download=True)
images = dataset.test_data[:100].float()
label = dataset.test_labels[:100]
Expand All @@ -85,6 +85,8 @@ modify the hardcoded `event_accumulator` in
`~/anaconda3/lib/python3.6/site-packages/tensorflow/tensorboard/backend/application.py`
as you wish.

For tensorflow-tensorboard>0.17 see https://github.com/lanpa/tensorboard-pytorch/issues/44

## Reference:

https://github.com/TeamHG-Memex/tensorboard_logger
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

setup(
name='tensorboardX',
version='0.8',
version='0.9',
description='TensorBoardX lets you watch Tensors Flow without Tensorflow',
long_description= history,
author='Tzu-Wei Huang',
Expand Down

0 comments on commit fad4b6d

Please sign in to comment.