tfx icon indicating copy to clipboard operation
tfx copied to clipboard

Using TFX components with TF 1.x contrib ops

Open peddybeats opened this issue 5 years ago • 4 comments

Due to the deprecation of TF contrib ops, any SavedModel produced using contrib ops (or indirectly using for example, tf.Transform ops that used tf.contrib ops underneath the hood such as tft.quantiles, tft.bucketize, etc.) cannot be loaded with TF 2.0. Is there a migration story for users beyond rewriting our models to use TF core ops?

peddybeats avatar Oct 29 '19 00:10 peddybeats

I would think this is more of a tensorflow question, and @martinwicke or @karmel can probably give some better guidance.

Specifically, I wonder whether there is a list of ops which were previously in contrib but removed in TF 2.0, and where can users find their replacements.

zhitaoli avatar Oct 29 '19 16:10 zhitaoli

There's been a bunch of documentation published by TF (ex).

More than providing more solutions, this issue aims to be used as a means of recording problems of TFX users who come to us with issues concerning contrib ops deprecation so that we can track them in a central issue.

peddybeats avatar Oct 29 '19 16:10 peddybeats

I never made a list of ops, but the RFC (https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md) contains a list of what happened to which projects.   Many ops moved to core or addons or io, although the ops which were used only in TFT wouldn't have been moved elsewhere.

martinwicke avatar Oct 29 '19 16:10 martinwicke

Is it still an issue? As tensorflow does not officially support contib anymore, can we go ahead and close this issue. Thanks!

gowthamkpr avatar Aug 05 '22 17:08 gowthamkpr

Closing as stale. Please reopen if you'd like to work on this further.

gowthamkpr avatar Aug 19 '22 17:08 gowthamkpr