File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 6464 },
6565 "outputs" : [],
6666 "source" : [
67- " %matplotlib inline \n " ,
67+ " %matplotlib notebook \n " ,
6868 " import numpy as np\n " ,
6969 " import matplotlib\n " ,
7070 " import matplotlib.pyplot as plt\n " ,
201201 " Download the MNIST dataset and save the files into a `data` directory locally. Images and labels for both training and testing are downloaded."
202202 ]
203203 },
204- {
205- "cell_type" : " code" ,
206- "execution_count" : null ,
207- "metadata" : {},
208- "outputs" : [],
209- "source" : []
210- },
211204 {
212205 "cell_type" : " code" ,
213206 "execution_count" : null ,
Original file line number Diff line number Diff line change 9797 },
9898 "outputs" : [],
9999 "source" : [
100- " %matplotlib inline \n " ,
100+ " %matplotlib notebook \n " ,
101101 " import numpy as np\n " ,
102102 " import matplotlib\n " ,
103103 " import matplotlib.pyplot as plt\n " ,
480480 " test_samples = bytes(test_samples, encoding = 'utf8')\n " ,
481481 " \n " ,
482482 " # predict using the deployed model\n " ,
483- " result = json.loads( service.run(input_data=test_samples) )\n " ,
483+ " result = service.run(input_data=test_samples)\n " ,
484484 " \n " ,
485485 " # compare actual value vs. the predicted values:\n " ,
486486 " i = 0\n " ,
You can’t perform that action at this time.
0 commit comments