We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51f863e commit ae3ed35Copy full SHA for ae3ed35
roboflow/util/folderparser.py
@@ -74,7 +74,8 @@ def _add_indices(files):
74
75
def _describe_file(f):
76
f = _patch_sep(f)
77
- dirname, name = f.rsplit("/", 1)
+ name = f.split("/")[-1]
78
+ dirname = os.path.dirname(f)
79
fullkey, extension = os.path.splitext(f)
80
fullkey2 = fullkey.replace("/labels", "").replace("/images", "")
81
key = os.path.splitext(name)[0]
0 commit comments