smjain commited on
Commit
d9dd983
1 Parent(s): e20d0e5

Upload train.py

Browse files
Files changed (1) hide show
  1. train.py +3 -3
train.py CHANGED
@@ -9,7 +9,7 @@ sys.path.append(os.path.join(now_dir))
9
 
10
  import datetime
11
 
12
- from infer.lib.train import utils
13
 
14
  hps = utils.get_hparams()
15
  os.environ["CUDA_VISIBLE_DEVICES"] = hps.gpus.replace("-", ",")
@@ -45,8 +45,8 @@ from torch.nn.parallel import DistributedDataParallel as DDP
45
  from torch.utils.data import DataLoader
46
  from torch.utils.tensorboard import SummaryWriter
47
 
48
- from infer.lib import commons
49
- from infer.lib.data_utils import (
50
  DistributedBucketSampler,
51
  TextAudioCollate,
52
  TextAudioCollateMultiNSFsid,
 
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("-", ",")
 
45
  from torch.utils.data import DataLoader
46
  from torch.utils.tensorboard import SummaryWriter
47
 
48
+ from lib import commons
49
+ from lib.data_utils import (
50
  DistributedBucketSampler,
51
  TextAudioCollate,
52
  TextAudioCollateMultiNSFsid,