0a8e27413d721bf8d753e5e6061cc24f5bf6474f,train.py,,,#,917
Before Change
// Model
model = build_model()
print(model)
if use_cuda:
model = model.cuda()
receptive_field = model.receptive_field
After Change
// Dataloader setup
data_loaders = get_data_loaders(data_root, speaker_id, test_shuffle=True)
device = torch.device("cuda" if use_cuda else "cpu")
// Model
model = build_model().to(device)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: r9y9/wavenet_vocoder
Commit Name: 0a8e27413d721bf8d753e5e6061cc24f5bf6474f
Time: 2018-05-04
Author: zryuichi@gmail.com
File Name: train.py
Class Name:
Method Name:
Project Name: kevinzakka/recurrent-visual-attention
Commit Name: a38ac8958ebf1c61a10c4d5320f1e31d3d0b73dd
Time: 2020-05-23
Author: kevinarmandzakka@gmail.com
File Name: trainer.py
Class Name: Trainer
Method Name: __init__
Project Name: interactiveaudiolab/nussl
Commit Name: 4ef8f94ea8f6fc3cc1f35743e7c7af0b92ffb76b
Time: 2018-11-29
Author: prem@u.northwestern.edu
File Name: nussl/separation/deep_separation.py
Class Name: DeepSeparation
Method Name: __init__