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
TFX Keras Component Tutorial does not run successfully on Windows/Jupyter #2156
Comments
How much of this path exists on your system? For example, does D:\TEMP exist? |
The path exists fully. There are just no files in it. |
@TobiasGoerke did you try running this in a non interactive context ? Just with
and |
Don't know if that helps but I've written a short beam test using the same transform code which works fine: class TestStringMethods(unittest.TestCase):
def test_transform(self):
data, schema = create_test_data_and_schema()
with beam.Pipeline() as pipeline:
with tft_beam.Context(temp_dir=tempfile.mkdtemp()):
transformed_dataset, transform_fn = (
(data, schema) | tft_beam.AnalyzeAndTransformDataset(preprocessing_fn)
)
transformed_data, transformed_metadata = transformed_dataset Edit: this test is not using the Transform component.. |
Has anyone solved this? @TobiasGoerke how did you resolve this issue, because I'm facing it as well in Jupyter with Python 3.7.
|
Unfortunately we don't currently test against or support Windows deployments. |
I don't think I got it to work @Kadri-Saal.. |
Following error occurs when running the TFT step using the interactive context:
RuntimeError: FileNotFoundError: [Errno 2] No such file or directory: 'D:\\TEMP\\tfx-interactive-2020-07-15T16_20_13.150570-i7rcm6cj\\Transform\\transform_graph\\5\\.temp_path\\tftransform_tmp\\beam-temp-vocab_compute_and_apply_vocabulary_vocabulary-5f1d634ac6a611ea9e7dfc7774534fa7\\efb7cd96-3da6-4041-b0e7-f205e6945118.vocab_compute_and_apply_vocabulary_vocabulary' [while running 'Analyze/VocabularyOrderAndWrite[compute_and_apply_vocabulary/vocabulary]/WriteToFile/Write/WriteImpl/WriteBundles']
Full stack trace:
Steps to reproduce error:
context.run(transform)
Edit: Notebook runs correctly in colab
The text was updated successfully, but these errors were encountered: