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:
Glenn Jocher authored and GitHub committed 2020-08-09 02:12:44 -07:00
1 parent d7cfbc47ab
commit 3c6e2f7668
5 files changed
+105 -88

No files matched your search

+1 -1
View File
@@ -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