AceCentre / EyeCommander

An open source computer vision interface that tracks eye movements for individuals with severely-limited mobility.
https://docs.acecentre.org.uk/eyecommander
MIT License
53 stars 4 forks source link

Need a way of sending training data back to add to model #8

Closed willwade closed 2 years ago

willwade commented 3 years ago

.. to discuss..

how do we do this.. ? Manually? (Upload it to us..)

And need to know how @Dkashkett does the magic in adding training data to a model!

Dkashkett commented 3 years ago

At the moment it seems like manually is the way. If you or a care provider are using the app you would just specify keep_data and then you could upload the data. If you want I could look into how the data could be sent automatically? I know how to send emails with python, so sending files is likely possible as well.

To add the new training data you can either retrain the current baseline model on the new data, which is cnn_filtered.h5, or build and train a whole new model which is usually what I do.

willwade commented 3 years ago

How big is the data that needs to be sent back? Maybe too big for email?

Dkashkett commented 3 years ago

around 3-4 megabytes. maybe a little bigger if they were using a nicer camera. but if we compressed it we could cut that down a bit.

willwade commented 3 years ago

Yeah. Maybe manually is the right way. Particularly as it's to only known people who have consented. We may want to assist the manual operation though. This is where having a Utility in the command line app may come in useful. --package-data=path and it would zip up the directory and pop it in that path.

Dkashkett commented 3 years ago

That makes sense, I think thats probably best too. I can write that up as a parameter so that you can pass in a path as an argument.

gavinhenderson commented 2 years ago

Closing this for now, we can reopen once we integrate the model into the electron app