mirror of
https://github.com/salesforce/CodeT5.git
synced 2024-10-01 06:35:38 -04:00
Update run_gen.py
This commit is contained in:
parent
6eaa90c256
commit
100c7e55c1
@ -188,7 +188,7 @@ def main():
|
||||
|
||||
if args.do_train:
|
||||
if args.local_rank in [-1, 0] and args.data_num == -1:
|
||||
summary_fn = './tensorboard/{}'.format('/'.join(args.output_dir.split('/')[1:]))
|
||||
summary_fn = '{}/{}'.format(args.summary_dir, '/'.join(args.output_dir.split('/')[1:]))
|
||||
tb_writer = SummaryWriter(summary_fn)
|
||||
|
||||
# Prepare training data loader
|
||||
|
Loading…
Reference in New Issue
Block a user