Skip to content

Commit 42cfed9

Browse files
committed
changed path of persistent files
1 parent c8d0424 commit 42cfed9

4 files changed

Lines changed: 1537 additions & 6 deletions

File tree

align/FeatureExtractor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def loadMFCCs(URI_recording_noExt, extractedPitchList, URIRecordingChunkResynthe
5252
for now lead extracted with HTK, read in matlab and seriqlized to txt file
5353
'''
5454

55-
extractedPitchList = _extractPredominantPitch(URI_recording_noExt)
55+
# extractedPitchList = _extractPredominantPitch(URI_recording_noExt)
5656

5757

5858
URI_recording = URI_recording_noExt + '.wav'

hmm/continuous/_DurationHMM.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
@author: joro
55
'''
66
import numpy
7-
import os
87
import sys
9-
import math
108

119
from numpy.core.numeric import Infinity
1210

@@ -18,6 +16,7 @@
1816
import essentia.standard
1917
import logging
2018
from hmm.continuous._HMM import _HMM
19+
import tempfile
2120

2221
# to replace 0: avoid log(0) = -inf. -Inf + p(d) makes useless the effect of p(d)
2322
MINIMAL_PROB = sys.float_info.min
@@ -26,9 +25,7 @@
2625

2726
from utilsLyrics.Utilz import writeListOfListToTextFile, writeListToTextFile
2827

29-
# put intermediate output in examples dir
30-
PATH_LOGS= os.path.dirname(os.path.realpath(sys.argv[0]))
31-
# print 'PATH_LOGS is ' + PATH_LOGS
28+
PATH_LOGS = tempfile.mkdtemp()
3229

3330

3431

0 commit comments

Comments
 (0)