correctly ignore base weights file in generate
This commit is contained in:
parent
78f565c706
commit
b097f30f4d
|
@ -101,7 +101,7 @@ def main(args=None, callback=ERmain):
|
|||
player_files = {}
|
||||
for file in os.scandir(args.player_files_path):
|
||||
fname = file.name
|
||||
if file.is_file() and fname not in {args.meta_file_path, args.weights_file_path}:
|
||||
if file.is_file() and os.path.join(args.player_files_path, fname) not in {args.meta_file_path, args.weights_file_path}:
|
||||
path = os.path.join(args.player_files_path, fname)
|
||||
try:
|
||||
weights_cache[fname] = read_weights_yaml(path)
|
||||
|
|
Loading…
Reference in New Issue