Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small bugfix for logical error. #2325

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

1 participant