hoodiexxx commited on
Commit
decee66
1 Parent(s): 190cc68

Update train2.py

Browse files
Files changed (1) hide show
  1. train2.py +2 -2
train2.py CHANGED
@@ -74,8 +74,8 @@ val_dataLoader = DataLoader(val_dataset,
74
  shuffle=False)
75
 
76
  if __name__ == "__main__":
77
- # 设置随机种子,保证结果可复现
78
-
79
  # init net
80
  print('init net...')
81
  model = my_model()
 
74
  shuffle=False)
75
 
76
  if __name__ == "__main__":
77
+ # set the seed for ensuring reproducibility
78
+ seed = 3407
79
  # init net
80
  print('init net...')
81
  model = my_model()