Skip to content

Commit

Permalink
fixed unpacking error in utils2.py line 87
Browse files Browse the repository at this point in the history
  • Loading branch information
bckenstler committed Aug 16, 2017
1 parent cbafbf3 commit c1e38f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions deeplearning2/babi-memnn.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1448,21 +1448,21 @@
"metadata": {
"anaconda-cloud": {},
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 2",
"language": "python",
"name": "python3"
"name": "python2"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.0"
"pygments_lexer": "ipython2",
"version": "2.7.13"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion deeplearning2/utils2.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def load_glove(loc):
def plot_multi(im, dim=(4,4), figsize=(6,6), **kwargs ):
plt.figure(figsize=figsize)
for i,img in enumerate(im):
plt.subplot(*dim, i+1)
plt.subplot(*((dim)+(i+1,)))
plt.imshow(img, **kwargs)
plt.axis('off')
plt.tight_layout()
Expand Down

0 comments on commit c1e38f2

Please sign in to comment.