9bb41eb866b264eda1c6c3044affa38625cb0cbf,predict.py,,,#,10
Before Change
model.eval()
labels = package["labels"]
audio_conf = package["audio_conf"]
decoder = ArgMaxDecoder(labels)
parser = SpectrogramParser(audio_conf, normalize=True)
spect = parser.parse_audio(args.audio_path).contiguous()
spect = spect.view(1, 1, spect.size(0), spect.size(1))
After Change
model = DeepSpeech.load_model(args.model_path, cuda=args.cuda)
model.eval()
labels = DeepSpeech.get_labels(model)
audio_conf = DeepSpeech.get_audio_conf(model)
decoder = ArgMaxDecoder(labels)
parser = SpectrogramParser(audio_conf, normalize=True)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: SeanNaren/deepspeech.pytorch
Commit Name: 9bb41eb866b264eda1c6c3044affa38625cb0cbf
Time: 2017-05-08
Author: ryanleary@gmail.com
File Name: predict.py
Class Name:
Method Name:
Project Name: SeanNaren/deepspeech.pytorch
Commit Name: 9bb41eb866b264eda1c6c3044affa38625cb0cbf
Time: 2017-05-08
Author: ryanleary@gmail.com
File Name: test.py
Class Name:
Method Name:
Project Name: tensorflow/cleverhans
Commit Name: e6a1a4bb326d673a029ca05f90d9e3930a89333b
Time: 2017-08-14
Author: nicholas@carlini.com
File Name: cleverhans/attacks.py
Class Name: CarliniWagnerL2
Method Name: generate