From 3c55aed6a425cdab7258067b49b60423897a36f8 Mon Sep 17 00:00:00 2001 From: Eren Golge Date: Fri, 11 May 2018 03:47:30 -0700 Subject: [PATCH] Add manual seed --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index 03371501..e554f424 100644 --- a/train.py +++ b/train.py @@ -28,7 +28,7 @@ from datasets.LJSpeech import LJSpeechDataset from models.tacotron import Tacotron from layers.losses import L1LossMasked - +torch.manual_seed(1) use_cuda = torch.cuda.is_available() parser = argparse.ArgumentParser()