From cfd27b33b0e29cf183338a9df8509c6f6e361af9 Mon Sep 17 00:00:00 2001 From: T5 Team Date: Fri, 20 Oct 2023 04:55:42 -0700 Subject: [PATCH] No public description PiperOrigin-RevId: 575184272 --- t5/models/mesh_transformer_main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/t5/models/mesh_transformer_main.py b/t5/models/mesh_transformer_main.py index b2d82a59..0dced8ec 100644 --- a/t5/models/mesh_transformer_main.py +++ b/t5/models/mesh_transformer_main.py @@ -155,6 +155,7 @@ def main(_): t5.data.set_tfds_data_dir_override(FLAGS.t5_tfds_data_dir) # Add search path for gin files stored in package. + assert pkg_resources.resource_filename is not None gin.add_config_file_search_path( pkg_resources.resource_filename(__name__, "gin")) try: