Note: I get the same issue when using tensorflow==2.3.1 and tfx==0.26.3.
Describe the current behavior
The download-grep-print example pipeline fails because the url placeholder dereferences None, leading to a missing URL. I'm using this example as inspiration to write my own container-based component, and I'm having similar issues.
Describe the expected behavior
The url placeholder should dereference to a string, e.g. "https://raw.githubusercontent.com/karpathy/char-rnn/370cbcd/data/tinyshakespeare/input.txt" when running the pipeline defined in the example's test.
Sorry I'm not reproducing the error (I used python 3.7.7 and tfx==0.30.1 in macos 11.0.4). I have no idea why this is failing. @kennethyang404 Do you have any clue from the error log?
System information
tensorflow==2.4.2
tfx==0.30.1
Python 3.7.7
pip freeze
output):Note: I get the same issue when using
tensorflow==2.3.1
andtfx==0.26.3
.Describe the current behavior The download-grep-print example pipeline fails because the url placeholder dereferences
None
, leading to a missing URL. I'm using this example as inspiration to write my own container-based component, and I'm having similar issues.Describe the expected behavior The url placeholder should dereference to a string, e.g.
"https://raw.githubusercontent.com/karpathy/char-rnn/370cbcd/data/tinyshakespeare/input.txt"
when running the pipeline defined in the example's test.Standalone code to reproduce the issue components: https://github.com/tensorflow/tfx/blob/v0.30.1/tfx/examples/custom_components/container_components/download_grep_print_pipeline.py pipeline: https://github.com/tensorflow/tfx/blob/v0.30.1/tfx/examples/custom_components/container_components/download_grep_print_pipeline_on_beam_test.py
Install tfx[examples] or copy the components and pipeline definitions. Run the
run_pipeline_on_beam()
defined in the pipeline file.Name of your Organization (Optional) Twitter
Other info / logs