Commit b9a1dcd4 authored by Sulfyderz's avatar Sulfyderz
Browse files

Test: ON

parent 554568fc
......@@ -3484,10 +3484,10 @@ class Show(object):
# ATTENTION: Chaque condition considere que la frontiere "start" est validé/correcte (a été modifié à l'itération précédente si besoin il y a eu), quel ne dépasse pas le segment de ref
# VITERBI
print("SAME #VIN:",DiarTools.sameDiar(valueTmp,DiarTools.releaseFramesAccordingToDiar(diarRef,valueTmp)))
if not DiarTools.sameDiar(valueTmp,DiarTools.releaseFramesAccordingToDiar(diarRef,valueTmp)):
print(valueTmp)
print(DiarTools.releaseFramesAccordingToDiar(diarRef,valueTmp))
print("SAME #VIN:",DiarTools.sameDiar(value,DiarTools.releaseFramesAccordingToDiar(diarRef,value)))
if not DiarTools.sameDiar(value,DiarTools.releaseFramesAccordingToDiar(diarRef,value)):
print(value)
print(DiarTools.releaseFramesAccordingToDiar(diarRef,value))
sys.exit()
if viterbi and ((alarmViterbi==True and alarmViterbiValue is None) or (alarmViterbi==True and alarmViterbiValue is not None and alarmViterbiValue<=diarRef[i-1]['start']+tolerance)):
alarmViterbi=False
......@@ -3669,10 +3669,10 @@ class Show(object):
if diarIncrementalActionsHumanAssistedCorrection and i!=0:
diarIncrementalThr.append(copy.deepcopy(value))
print("SAME #VOUT:",DiarTools.sameDiar(valueTmp,DiarTools.releaseFramesAccordingToDiar(diarRef,valueTmp)))
if not DiarTools.sameDiar(valueTmp,DiarTools.releaseFramesAccordingToDiar(diarRef,valueTmp)):
print(valueTmp)
print(DiarTools.releaseFramesAccordingToDiar(diarRef,valueTmp))
print("SAME #VOUT:",DiarTools.sameDiar(value,DiarTools.releaseFramesAccordingToDiar(diarRef,value)))
if not DiarTools.sameDiar(value,DiarTools.releaseFramesAccordingToDiar(diarRef,value)):
print(value)
print(DiarTools.releaseFramesAccordingToDiar(diarRef,value))
sys.exit()
# SELECTIONNE TOUS LES SEGMENTS HYPOTHESES AVANT LE PREMIER SEGMENT DE REFERENCE (signifie mal classé car silence coté ref)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment