Fix Seed
This commit is contained in:
parent
b96eabfe2a
commit
d225cd57e7
|
@ -717,6 +717,7 @@ def main():
|
||||||
|
|
||||||
# Set seed
|
# Set seed
|
||||||
torch.manual_seed(args.seed)
|
torch.manual_seed(args.seed)
|
||||||
|
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