WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

BulkInferrer component in TFX 1.16.0 #7782

@nking

Description

@nking

The BulkInferrer component fails in the unit tests provided by the penguin examples.

The error is:

Could not find variable dense_6/bias. This could mean that the variable has been deleted. In TF1, it can also mean the variable is uninitialized. Debug info: container=localhost, status error message=Resource localhost/dense_6/bias/N10tensorflow3VarE does not exist.
[[{{node functional_2_1/dense_6_1/Add/ReadVariableOp}}]] [while running 'RunInference[train]/RunInference/RunInferenceImpl/BulkInference/BeamML_RunInference']

Steps to reproduce:

git clone https://github.com/tensorflow/tfx.git

git checkout v1.16.0

(set up a virtual environment for python 3.10, and install dependencies in test_constraints.txt)

cd tfx/examples/penguin

python -m unittest penguin_pipeline_local_e2e_test.py

The test for which enable_bulk_inferror=True, fails

This was run on a system with Ubuntu 24.04, python 3.10.

Note that I separately checked that the saved_model could be loaded, the "serving_default" signature extracted, and that the extracted method successfully gave predictions given examples.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions