Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--read, can it be used for training #34

Open
gbernal opened this issue Jul 31, 2018 · 3 comments
Open

--read, can it be used for training #34

gbernal opened this issue Jul 31, 2018 · 3 comments

Comments

@gbernal
Copy link

gbernal commented Jul 31, 2018

Hi,

I'm wondering if a series of .wav or .raw file can be use for training.
I saw that there is a way to read a raw file but not sure how is that used.

Thank you!

@bishoph
Copy link
Owner

bishoph commented Jul 31, 2018

If you create the raw files with SOPARE like this

./sopare.py -w samples/test.raw

then you can use such files for learning:

./sopare.py -t test -r samples/test.raw

Reading wav or otherwise created raw files can't be used for training.

@gbernal gbernal changed the title --read, can it be used for training label:question --read, can it be used for training Jul 31, 2018
@gbernal
Copy link
Author

gbernal commented Jul 31, 2018

Ok, thank you!
Would a plugin have access to run create and train?

Let's say.

sopare is running in loop mode and I want to teach it a new word "lights on"
when I say "record" already trained word, the plugin will call ./sopare.py -w samples/lightsOn.raw
and record
After that I say "train latest" ./sopare.py -t lightsOn -r samples/lightsOn.raw
and now I can just say "lightsOn" and will do something.

I guess my question is how do you interact with your methods arguments in the plugin.

Thank you so much, I learning a lot working with your work.

@bishoph
Copy link
Owner

bishoph commented Aug 1, 2018

You are welcome. The raw file can currently only be stored when the loop option is not set and the raw characteristic which is used as base for the training is not available inside the plugin. I'll think about that and may change this in the future as I like the idea a plugin can decide to add/change input for learning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants