parent
d225cd57e7
commit
c4b17e41f1
|
@ -718,6 +718,7 @@ def main():
|
||||||
# Set seed
|
# Set seed
|
||||||
torch.manual_seed(args.seed)
|
torch.manual_seed(args.seed)
|
||||||
random.seed(args.seed)
|
random.seed(args.seed)
|
||||||
|
np.random.seed(args.seed)
|
||||||
print('RANDOM SEED:', args.seed)
|
print('RANDOM SEED:', args.seed)
|
||||||
|
|
||||||
if args.resume:
|
if args.resume:
|
||||||
|
|
Loading…
Reference in New Issue