Single-source training (#680)
* Single-source training * Extract hyperparameters into seperate files * weight decay scientific notation yaml reader bug fix * remove import glob * intersect_dicts() implementation * 'or' bug fix * .to(device) bug fix
This commit is contained in:
1 parent
d7cfbc47ab
commit
3c6e2f7668
5 files changed
+105
-88
No files matched your search
+1
-1
@@ -120,7 +120,7 @@ def check_anchor_order(m):
|
||||
|
||||
def check_file(file):
|
||||
# Searches for file if not found locally
|
||||
if os.path.isfile(file):
|
||||
if os.path.isfile(file) or file == '':
|
||||
return file
|
||||
else:
|
||||
files = glob.glob('./**/' + file, recursive=True) # find file
|
||||
|
||||
Reference in new issue
Block a user