return `opt` from `train.run()` ()

pull/6603/head
Christoph Fürbacher 2022-02-09 15:11:52 +01:00 committed by GitHub
parent 9c513ca629
commit 9cf80b7f60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -634,6 +634,7 @@ def run(**kwargs):
for k, v in kwargs.items():
setattr(opt, k, v)
main(opt)
return opt
if __name__ == "__main__":