Update notebooks
This commit is contained in:
@@ -388,7 +388,7 @@
|
||||
"source": [
|
||||
"from azureml.contrib.brainwave.pipeline import ModelDefinition, TensorflowStage, BrainWaveStage\n",
|
||||
"\n",
|
||||
"model_def_path = os.path.join(save_path, 'model_def.zip')\n",
|
||||
"model_def_path = os.path.join(saved_model_dir, 'model_def.zip')\n",
|
||||
"\n",
|
||||
"model_def = ModelDefinition()\n",
|
||||
"model_def.pipeline.append(TensorflowStage(sess, in_images, image_tensors))\n",
|
||||
@@ -609,7 +609,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.6.2"
|
||||
"version": "3.5.2"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
"from azureml.contrib.brainwave.pipeline import ModelDefinition, TensorflowStage, BrainWaveStage\n",
|
||||
"\n",
|
||||
"save_path = os.path.expanduser('~/models/save')\n",
|
||||
"model_def_path = os.path.join(save_path, 'service_def.zip')\n",
|
||||
"model_def_path = os.path.join(save_path, 'model_def.zip')\n",
|
||||
"\n",
|
||||
"model_def = ModelDefinition()\n",
|
||||
"with tf.Session() as sess:\n",
|
||||
@@ -301,7 +301,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.6.2"
|
||||
"version": "3.5.2"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
@@ -559,7 +559,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.6.2"
|
||||
"version": "3.5.2"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
Reference in New Issue
Block a user