smjain commited on
Commit
f8726c0
1 Parent(s): 028d1d4

Upload train.py

Browse files
Files changed (1) hide show
  1. train.py +4 -4
train.py CHANGED
@@ -9,7 +9,7 @@ sys.path.append(os.path.join(now_dir))
9
 
10
  import datetime
11
 
12
- from lib.train import utils
13
 
14
  hps = utils.get_hparams()
15
  os.environ["CUDA_VISIBLE_DEVICES"] = hps.gpus.replace("-", ",")
@@ -67,14 +67,14 @@ else:
67
  MultiPeriodDiscriminatorV2 as MultiPeriodDiscriminator,
68
  )
69
 
70
- from infer.lib.train.losses import (
71
  discriminator_loss,
72
  feature_loss,
73
  generator_loss,
74
  kl_loss,
75
  )
76
- from infer.lib.train.mel_processing import mel_spectrogram_torch, spec_to_mel_torch
77
- from infer.lib.train.process_ckpt import savee
78
 
79
  global_step = 0
80
 
 
9
 
10
  import datetime
11
 
12
+ from lib import utils
13
 
14
  hps = utils.get_hparams()
15
  os.environ["CUDA_VISIBLE_DEVICES"] = hps.gpus.replace("-", ",")
 
67
  MultiPeriodDiscriminatorV2 as MultiPeriodDiscriminator,
68
  )
69
 
70
+ from lib.losses import (
71
  discriminator_loss,
72
  feature_loss,
73
  generator_loss,
74
  kl_loss,
75
  )
76
+ from lib.mel_processing import mel_spectrogram_torch, spec_to_mel_torch
77
+ from lib.process_ckpt import savee
78
 
79
  global_step = 0
80