Skip to content

Conversation

@Symbiomatrix
Copy link

Since you're providing sorted with a list which contains full paths (filename + extension), it will compare the file extension's period to another's filename, which may result in an unexpected order. Modified to use filenames only as sorting key.
It would make no difference unless some names are almost identical (eg file1.onnx and file1-extra.onnx reversed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant