Skip to content

Commit

Permalink
Merge pull request #122 from ma-beaudoin/fix-copy
Browse files Browse the repository at this point in the history
Copy output folder to tmp_folder on cluster
  • Loading branch information
mirkobronzi authored Jul 9, 2024
2 parents e994d63 + ce07f3e commit 50b17a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions amlrt_project/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ def main():
output_dir = os.path.join(args.tmp_folder, 'output')
if not os.path.exists(output_dir):
os.makedirs(output_dir)
if os.path.exists(args.output):
rsync_folder(args.output, args.tmp_folder)
else:
data_dir = args.data
output_dir = args.output
Expand Down

0 comments on commit 50b17a3

Please sign in to comment.