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.
2 parents e96c434 + 08feb4c commit cb84a30Copy full SHA for cb84a30
modules/hypernetworks/hypernetwork.py
@@ -243,7 +243,7 @@ def load(self, filename):
243
244
def list_hypernetworks(path):
245
res = {}
246
- for filename in glob.iglob(os.path.join(path, '**/*.pt'), recursive=True):
+ for filename in sorted(glob.iglob(os.path.join(path, '**/*.pt'), recursive=True)):
247
name = os.path.splitext(os.path.basename(filename))[0]
248
# Prevent a hypothetical "None.pt" from being listed.
249
if name != "None":
0 commit comments