dscripka / openWakeWord

An open-source audio wake word (or phrase) detection framework with a focus on performance and simplicity.
Apache License 2.0
767 stars 78 forks source link

Argparse bug in capture_activations.py #186

Open lintweaker opened 4 months ago

lintweaker commented 4 months ago

It seems there is a bug in the example 'capture_activations.py' script. There are two

parser=argparse.ArgumentParser()

statements making it only use the arguments from the last statement. This is at least an issue with tested Python3.9.2 on my Pi

dscripka commented 3 months ago

You are correct, the arg parsing is broken for that script. Will fix it for the next release.