Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notebooks/official/explainable_ai/gapic-custom_tabular_regression_batch_explain.ipynb doesn't install tensorflow #139

Closed
ivanmkc opened this issue Nov 10, 2021 · 1 comment

Comments

@ivanmkc
Copy link
Contributor

ivanmkc commented Nov 10, 2021

Step #3: / [0 files][    0.0 B/135.8 KiB]                                                
/ [1 files][135.8 KiB/135.8 KiB]                                                
Step #3: Operation completed over 1 objects/135.8 KiB.                                    
Step #3: Uploaded output to: gs://cloud-build-notebooks-presubmit/executed_notebooks/PR_120/BUILD_831c33e0-bc70-4cd3-a3cf-a6d3e9b3c4ae/gapic-custom_tabular_regression_batch_explain.ipynb
Step #3: Traceback (most recent call last):
Step #3:   File "/workspace/.cloud-build/execute_notebook_cli.py", line 34, in <module>
Step #3:     ExecuteNotebook.execute_notebook(
Step #3:   File "/workspace/.cloud-build/ExecuteNotebook.py", line 84, in execute_notebook
Step #3:     raise execution_exception
Step #3:   File "/workspace/.cloud-build/ExecuteNotebook.py", line 53, in execute_notebook
Step #3:     pm.execute_notebook(
Step #3:   File "/builder/home/.local/lib/python3.9/site-packages/papermill/execute.py", line 122, in execute_notebook
Step #3:     raise_for_execution_errors(nb, output_path)
Step #3:   File "/builder/home/.local/lib/python3.9/site-packages/papermill/execute.py", line 234, in raise_for_execution_errors
Step #3:     raise error
Step #3: papermill.exceptions.PapermillExecutionError: 
Step #3: ---------------------------------------------------------------------------
Step #3: Exception encountered at "In [33]":
Step #3: ---------------------------------------------------------------------------
Step #3: ModuleNotFoundError                       Traceback (most recent call last)
Step #3: /tmp/ipykernel_15/818968412.py in <module>
Step #3: ----> 1 import tensorflow as tf
Step #3:       2 
Step #3:       3 model = tf.keras.models.load_model(MODEL_DIR)
Step #3: 
Step #3: ModuleNotFoundError: No module named 'tensorflow'
Step #3: 
Finished Step #3
ERROR
ERROR: build step 3 "gcr.io/cloud-devrel-public-resources/python-samples-testing-docker:latest" failed: step exited with non-zero status: 1

Logs: https://console.cloud.google.com/cloud-build/builds/a09a6f51-c0f9-473d-9233-929a8bb0ccda?project=1012616486416

@andrewferlitsch
Copy link
Contributor

missing install of TF for testing was added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants