75d3f75b46ab272c07e449c871a1baa104440194,nnmnkwii/frontend/merlin.py,,load_labels_with_phone_alignment,#,162
Before Change
elif subphone_features is None:
pass
else:
raise RuntimeError("unknown subphone_features type")
label_feature_matrix[label_feature_index:label_feature_index +
frame_number, ] = current_block_binary_array
label_feature_index = label_feature_index + frame_number
After Change
pass
// omg
if label_feature_index == 0:
raise ValueError("Combination of subphone_features and add_frame_features is not supported: {}, {}".format(
subphone_features, add_frame_features))
label_feature_matrix = label_feature_matrix[0:label_feature_index, ]
return label_feature_matrix
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: r9y9/nnmnkwii
Commit Name: 75d3f75b46ab272c07e449c871a1baa104440194
Time: 2017-10-10
Author: zryuichi@gmail.com
File Name: nnmnkwii/frontend/merlin.py
Class Name:
Method Name: load_labels_with_phone_alignment
Project Name: ilastik/ilastik
Commit Name: 5b470f8f8c0146591b42462c6b30e85a2117261f
Time: 2019-06-17
Author: tomaz.vieira@embl.de
File Name: ilastik/applets/dataSelection/dataSelectionGui.py
Class Name: DataSelectionGui
Method Name: _createDatasetInfo
Project Name: kundajelab/deeplift
Commit Name: 733f571ff1c5297f798d2829bb4a6fc6e3f3170b
Time: 2020-01-07
Author: avanti.shrikumar@gmail.com
File Name: deeplift/models.py
Class Name: Model
Method Name: _set_scoring_mode_for_target_layer