Skip to content

Commit dfcfe22

Browse files
Allan Jabrifacebook-github-bot
Allan Jabri
authored andcommitted
update to 0.1.04
Summary: update pypi version to 0.1.04 and fix a tiny nit Reviewed By: justinchiu Differential Revision: D4932511 fbshipit-source-id: 4e78ea2f78e5db6256b8e203477452743e5d3680
1 parent 13d0454 commit dfcfe22

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: py/__init__.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,7 @@ def images(self, tensor, nrow=8, padding=2,
364364
nmaps = tensor.shape[0]
365365
xmaps = min(nrow, nmaps)
366366
ymaps = int(math.ceil(float(nmaps) / xmaps))
367-
height, width = int(tensor.shape[2] + 2 * padding),
368-
int(tensor.shape[3] + 2 * padding)
367+
height, width = int(tensor.shape[2] + 2 * padding), int(tensor.shape[3] + 2 * padding)
369368

370369
grid = np.ones([3, height * ymaps, width * xmaps])
371370
k = 0

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
setup(
1515
# Metadata
1616
name='visdom',
17-
version='0.1.01',
17+
version='0.1.04',
1818
author='Allan Jabri',
1919
author_email='[email protected]',
2020
url='https://github.com/facebookresearch/visdom',

0 commit comments

Comments
 (0)