The tf.keras.utils.plot_model(model, show_shapes=False, rankdir="LR") step requires graphviz apt package and pip package and also pydot pip package. The pip packages can be added to the requirements.txt since this lab uses that to install dependencies. The apt install could be the first step of the notebook or added to the lab instructions preceding the requirements install.
Kind of similar to #2429, however in this case not only the apt package but also the two pip packages are not installed.
The lab link: https://www.cloudskillsboost.google/course_sessions/2920314/labs/392211 The ipynb: https://github.com/GoogleCloudPlatform/training-data-analyst/blob/master/self-paced-labs/vertex-ai/vertex-ai-qwikstart/lab_exercise_long.ipynb
The
tf.keras.utils.plot_model(model, show_shapes=False, rankdir="LR")
step requiresgraphviz
apt package and pip package and alsopydot
pip package. The pip packages can be added to therequirements.txt
since this lab uses that to install dependencies. The apt install could be the first step of the notebook or added to the lab instructions preceding the requirements install.