Crash with FrameExtractor en Python

17 views
Skip to first unread message

Benoît Desnos

unread,
Mar 5, 2017, 5:46:14 AM3/5/17
to bob-devel
When using FrameExtractor.get_shape with python :

read = reader(file_name)
data = read.load()
signal = data[0]
fe = FrameExtractor(
sampling_frequency=48000,
win_length_ms=20,
win_shift_ms=10,
normalize_mean=False)
shape = fe.get_shape(signal) <= Here

Manuel Günther

unread,
Mar 6, 2017, 11:45:24 AM3/6/17
to bob-devel
Dear Benoit,

could you please be more specific? Which package are you talking about? Can you provide a minimal working example (i.e., including the imports)?

Manuel

Benoît Desnos

unread,
Mar 7, 2017, 5:43:03 AM3/7/17
to bob-devel
from bob.ap import *
from bob.io.audio import *

read = reader('test.wav')
data = read.load()
signal = data[0]
fe = FrameExtractor(
sampling_frequency=48000,
win_length_ms=20,
win_shift_ms=10,
normalize_mean=False)
shape = fe.get_shape(signal) <= Here

Pavel Korshunov

unread,
Mar 9, 2017, 8:41:54 AM3/9/17
to bob-...@googlegroups.com
Hi Benoît,

Thank you for reporting the issue. It was indeed caused by a bug in bob.ap package. The bug is fixed in the just released bob.ap version 2.1.3 and you can update the package in your system via pip install or conda update.

Once again, thank you for reporting the bug. Hopefully, the package is fixed now for your experiments to run successfully.

Best,
Pavel


--
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/
---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Dr. Pavel Korshunov
Biometric group
Idiap Research Institute
Rue Marconi 19
CH - 1920 Martigny
Switzerland

Room: 207
Reply all
Reply to author
Forward
0 new messages