Add np seed

Just in case!
This commit is contained in:
cafeai 2022-12-02 01:49:12 +09:00
parent d225cd57e7
commit c4b17e41f1
1 changed files with 1 additions and 0 deletions

View File

@ -718,6 +718,7 @@ def main():
# Set seed
torch.manual_seed(args.seed)
random.seed(args.seed)
np.random.seed(args.seed)
print('RANDOM SEED:', args.seed)
if args.resume: