Skip to content

Commit

Permalink
修改模型配置信息
Browse files Browse the repository at this point in the history
  • Loading branch information
moon-hotel committed Aug 10, 2021
1 parent 7739ef3 commit a7fc0fd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def __init__(self):
self.device = torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')
self.epochs = 10
self.model_save_dir = os.path.join(self.project_dir, 'cache')
self.train_info_per_batch = 30
self.model_save_per_epoch = 2
if not os.path.exists(self.model_save_dir):
os.makedirs(self.model_save_dir)
Expand Down

0 comments on commit a7fc0fd

Please sign in to comment.