Skip to content

Commit

Permalink
Update train.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunting78 authored Jun 27, 2024
1 parent c217d57 commit 2bfc963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def main(args):
split = dataset.get('split', None)
do_eval = cfg.dic.get('do_eval', True)
sampling_stride = cfg.dic.get('sampling_stride', 1)
cfg_output_dir = cfg.dic.get('output_dir', 'output')
cfg_output_dir = args.save_dir
logger.info(cfg.__dict__)

if not os.path.exists(cfg_output_dir):
Expand Down

0 comments on commit 2bfc963

Please sign in to comment.