fix glob path in hypernetwork.py
This commit is contained in:
parent
7001bffe02
commit
772db721a5
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class Hypernetwork:
|
|||
def load_hypernetworks(path):
|
||||
res = {}
|
||||
|
||||
for filename in glob.iglob(path + '**/*.pt', recursive=True):
|
||||
for filename in glob.iglob(os.path.join(path, '**/*.pt'), recursive=True):
|
||||
try:
|
||||
hn = Hypernetwork(filename)
|
||||
res[hn.name] = hn
|
||||
|
|
Loading…
Reference in a new issue