From 1c6cef7d3b290e8ea66d6d423f0d3e2b59a28280 Mon Sep 17 00:00:00 2001 From: George Date: Wed, 26 Apr 2023 16:49:22 +0400 Subject: [PATCH] fix datastore_path_to_webdataset_url(p) if is_datastore_path(p) and is_tarred_path(p) else p NameError: name 'is_tarred_path' is not defined --- nemo/collections/asr/data/audio_to_text.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nemo/collections/asr/data/audio_to_text.py b/nemo/collections/asr/data/audio_to_text.py index 756c05631627..d61f0e1f69ef 100644 --- a/nemo/collections/asr/data/audio_to_text.py +++ b/nemo/collections/asr/data/audio_to_text.py @@ -38,6 +38,7 @@ datastore_path_to_webdataset_url, is_datastore_cache_shared, is_datastore_path, + is_tarred_path, ) from nemo.utils.get_rank import is_global_rank_zero