Pre-emptively disable the KerasTensors refactoring for the detection models in...
Pre-emptively disable the KerasTensors refactoring for the detection models in tensorflow models/official/vision/detection, because they rely on several unsupported things that will stop working entirely when the refactoring goes live. Specifically: * The custom layers implement `__call__` instead of `call` and rely on manually enter the keras backend graph * The vision models try to use `tf.while_loop` as Keras op layers during functional API construction, which is unsupported. Updating the models to avoid this would subtly change the variable names and break the pre-existing tf1-style name-based checkpoints, so for now we will just disable the KerasTensors refactoring for these models. PiperOrigin-RevId: 323937426
Showing
Please register or sign in to comment