GoogleCloudPlatform / training-data-analyst

Labs and demos for courses for GCP Training (http://cloud.google.com/training).
Apache License 2.0
7.84k stars 5.85k forks source link

The "Training and Deploying a TensorFlow Model in Vertex AI" lab (lab_exercise_long.ipynb) requires apt and pip packages for graphiz #2455

Open MrCsabaToth opened 1 year ago

MrCsabaToth commented 1 year ago

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 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.

MrCsabaToth commented 1 year ago

CLV_model