From 714c9f2521f706044ee3d0a2b12a35057e128b21 Mon Sep 17 00:00:00 2001 From: bckenstler Date: Wed, 16 Aug 2017 00:07:55 -0700 Subject: [PATCH] fixed minor errors --- deeplearning2/spelling_bee_RNN.ipynb | 4 ++-- deeplearning2/tiramisu-pytorch.ipynb | 4 ++-- deeplearning2/translate.ipynb | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deeplearning2/spelling_bee_RNN.ipynb b/deeplearning2/spelling_bee_RNN.ipynb index cc4e1bb7c..1febbfce2 100644 --- a/deeplearning2/spelling_bee_RNN.ipynb +++ b/deeplearning2/spelling_bee_RNN.ipynb @@ -1508,7 +1508,7 @@ "metadata": { "anaconda-cloud": {}, "kernelspec": { - "display_name": "Python [default]", + "display_name": "Python 3", "language": "python", "name": "python3" }, @@ -1522,7 +1522,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.0" + "version": "3.6.2" } }, "nbformat": 4, diff --git a/deeplearning2/tiramisu-pytorch.ipynb b/deeplearning2/tiramisu-pytorch.ipynb index cdf9aff28..cc4a09a29 100644 --- a/deeplearning2/tiramisu-pytorch.ipynb +++ b/deeplearning2/tiramisu-pytorch.ipynb @@ -9,7 +9,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 1, "metadata": { "collapsed": true }, @@ -313,7 +313,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.0" + "version": "3.6.2" }, "latex_envs": { "LaTeX_envs_menu_present": true, diff --git a/deeplearning2/translate.ipynb b/deeplearning2/translate.ipynb index d799c3ea1..02da6a7fb 100644 --- a/deeplearning2/translate.ipynb +++ b/deeplearning2/translate.ipynb @@ -473,7 +473,7 @@ "outputs": [], "source": [ "w2v_path='/data/jhoward/datasets/nlp/frWac_non_lem_no_postag_no_phrase_200_skip_cut100.bin'\n", - "fr_model = word2vec.Word2Vec.load_word2vec_format(w2v_path, binary=True)\n", + "fr_model = word2vec.KeyedVectors.load_word2vec_format(w2v_path, binary=True)\n", "fr_voc = fr_model.vocab" ] },