Skip to content

Commit

Permalink
return opt from train.run() (#6581)
Browse files Browse the repository at this point in the history
  • Loading branch information
SecretStar112 committed Feb 9, 2022
1 parent 043f62e commit beded5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,7 @@ def run(**kwargs):
for k, v in kwargs.items():
setattr(opt, k, v)
main(opt)
return opt


if __name__ == "__main__":
Expand Down

0 comments on commit beded5b

Please sign in to comment.