Skip to content

Commit

Permalink
Release v2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Prodicode committed Apr 23, 2018
1 parent e53e463 commit 0248a8d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ Use the following command:
pip install ann_visualizer
```

Make sure you have graphviz installed. Install it using:

```bash
sudo apt-get install graphviz
```

## Usage

```python
Expand Down
2 changes: 1 addition & 1 deletion ann_visualizer.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: ann-visualizer
Version: 2.3
Version: 2.4
Summary: A python library for visualizing Neural Networks
Home-page: https://github.com/Prodicode/ann-visualizer
Author: Tudor Gheorghiu
Expand Down
2 changes: 1 addition & 1 deletion ann_visualizer/visualize.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def ann_viz(model, view=True, filename="network.gv", title="My Neural Network"):

g = Digraph('g', filename=filename);
n = 0;
g.attr(splines="false", nodesep='1', ranksep='2');
g.graph_attr.update(splines="false", nodesep='1', ranksep='2');
#Input Layer
with g.subgraph(name='cluster_input') as c:
if(type(model.layers[0]) == keras.layers.core.Dense):
Expand Down
Binary file removed dist/ann_visualizer-2.3.tar.gz
Binary file not shown.
Binary file added dist/ann_visualizer-2.4.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
setup(
name = 'ann_visualizer',
packages = ['ann_visualizer'],
version = '2.3',
version = '2.4',
license="MIT",
description = 'A python library for visualizing Neural Networks',
long_description=long_description,
Expand Down

0 comments on commit 0248a8d

Please sign in to comment.