.
This commit is contained in:
@@ -5,6 +5,7 @@ from helpers.textgrid import *
|
||||
from helpers.utilities import *
|
||||
import shutil
|
||||
|
||||
|
||||
def predict_from_times(wav_filename, preds_filename, begin, end):
|
||||
tmp_features_filename = tempfile._get_default_tempdir() + "/" + next(tempfile._get_candidate_names()) + ".txt"
|
||||
print tmp_features_filename
|
||||
|
||||
@@ -35,7 +35,7 @@ for line in f_file:lines('*l') do
|
||||
end
|
||||
end
|
||||
local X = data[{{},{2,-1}}]
|
||||
model = torch.load('Tracking_model.dat')
|
||||
model = torch.load('tracking_model.dat')
|
||||
local myPrediction = model:forward(X)
|
||||
p_file:write('NAME,F1,F2,F3,F4\n')
|
||||
for p=1, (#myPrediction)[1] do
|
||||
|
||||
Reference in New Issue
Block a user