Skip to content

Commit

Permalink
fixed too-long error essage in markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
zackchase committed Nov 16, 2017
1 parent 88bfb9b commit 1c2e84e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions chapter02_supervised-learning/linear-regression-gluon.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,7 @@
"If we try invoking your model by calling ``net(nd.array([[0,1]]))``, \n",
"we'll confront the following hideous error message:\n",
"\n",
"``RuntimeError: Parameter dense1_weight has not been initialized. \n",
"Note that you should initialize parameters and create Trainer \n",
"with Block.collect_params() instead of Block.params because the later does not include Parameters of nested child Blocks``.\n",
"```RuntimeError: Parameter dense1_weight has not been initialized...```\n",
"\n",
"That's because we haven't yet told ``gluon`` what the *initial values* for our parameters should be!\n",
"We initialize parameters by calling the `.initialize()` method of a Parameterdict. \n",
Expand Down

0 comments on commit 1c2e84e

Please sign in to comment.