From c76d77267005aeb9ac291938195c6ffefd8c0f7c Mon Sep 17 00:00:00 2001 From: Edoardo Debenedetti Date: Thu, 28 Apr 2022 10:04:03 +0000 Subject: [PATCH] Add support for different TFDS `BuilderConfig`s --- timm/data/parsers/parser_factory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timm/data/parsers/parser_factory.py b/timm/data/parsers/parser_factory.py index 6dedb467..89383d9b 100644 --- a/timm/data/parsers/parser_factory.py +++ b/timm/data/parsers/parser_factory.py @@ -11,7 +11,7 @@ def create_parser(name, root, split='train', **kwargs): prefix = '' if len(name) > 1: prefix = name[0] - name = name[-1] + name = "/".join(name[1:]) # FIXME improve the selection right now just tfds prefix or fallback path, will need options to # explicitly select other options shortly