TFX导致TypeCheckerror:输出类型提示违反[train]:Expector< class< apache_beam.pvalue.pvalue.pdone.pdone''

发布于 2025-02-13 04:51:43 字数 467 浏览 2 评论 0原文

我尝试运行TFX文档中提供的教程,并且在通往元数据的路径方面面临问题。

我已经在本期中详细描述了查询 https://github.com/github.com/tensorflow/tensorflow/tfx/问题/4993

我正在使用的文档是 https:> https://www.tensorflow.org/tflow.org/tffx/tuterorials/ tfx/penguin_tfdv

I tried running the tutorial provided in tfx documentation and I am facing a problem with the path to metadata.

I have described the query in detail in this issue https://github.com/tensorflow/tfx/issues/4993.

The documentation I am using is https://www.tensorflow.org/tfx/tutorials/tfx/penguin_tfdv.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

分开我的手 2025-02-20 04:51:45

使用最新版本的TFX时,应解决此错误。我在COLAB中使用TFX Verison 1.9.0,Tensorflow版本2.9.0在COLAB中运行了相同的代码,而且我没有任何typecheckerror。请找到工作

This error should be fixed when using latest version of TFX. I ran the same code in colab with TFX verison 1.9.0, Tensorflow version 2.9.0 and I haven't got any TypeCheckError. Please find the working gist here. Thank you!

沉溺在你眼里的海 2025-02-20 04:51:43

看来根本原因是使用与TFX版本不相容的Apache Beam版本。使用TFX时,您可能需要固定光束版本。

It looks like the root cause was using a version of Apache Beam that was incompatible with the version of TFX. When using TFX, you may want to pin your Beam version.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文