Skip to content

Commit deae26b

Browse files
committed
tfjs at end
1 parent 1f90b73 commit deae26b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebooks/vae_training_keras_cnn.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"import tensorflow as tf\n",
1212
"import matplotlib.pyplot as plt\n",
1313
"import os\n",
14-
"import tensorflowjs as tfjs\n",
1514
"\n",
1615
"os.environ[\"KERAS_BACKEND\"] = \"tensorflow\""
1716
]
@@ -606,6 +605,7 @@
606605
}
607606
],
608607
"source": [
608+
"import tensorflowjs as tfjs\n",
609609
"tf.saved_model.save(ae.encoder, \"models/encoder-big\")\n",
610610
"tf.saved_model.save(ae.decoder, \"models/decoder-big\")\n",
611611
"tfjs.converters.convert_tf_saved_model(\"models/encoder-big\", \"models/tfjs/encoder-big\")\n",

0 commit comments

Comments
 (0)