Skip to content

Commit

Permalink
fix xai lab
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitDherin committed Jun 11, 2023
1 parent 22eb88e commit 65ce0f0
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 441 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,7 @@
" verbose=2, # 0=silent, 1=progress bar, 2=one line per epoch\n",
" )\n",
"\n",
" tf.saved_model.save(\n",
" obj=model, export_dir=output_dir\n",
" ) # with default serving function\n",
" model.save(output_dir)\n",
"\n",
" print(\"Exported trained model to {}\".format(output_dir))\n",
"\n",
Expand Down Expand Up @@ -487,7 +485,7 @@
" version='0.1',\n",
" packages=find_packages(),\n",
" include_package_data=True,\n",
" install_requires=['fire==0.4.0'],\n",
" install_requires=['fire==0.4.0', 'tensorflow-hub==0.12.0'],\n",
" description='Flowers image classifier training application.'\n",
")"
]
Expand Down Expand Up @@ -981,14 +979,14 @@
},
"environment": {
"kernel": "python3",
"name": "tf2-gpu.2-6.m90",
"name": "tf2-gpu.2-8.m108",
"type": "gcloud",
"uri": "gcr.io/deeplearning-platform-release/tf2-gpu.2-6:m90"
"uri": "gcr.io/deeplearning-platform-release/tf2-gpu.2-8:m108"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel) (Local)",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "local-python3"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand Down

Large diffs are not rendered by default.

0 comments on commit 65ce0f0

Please sign in to comment.