simonwsw / deep-soli

Gesture Recognition Using Neural Networks with Google's Project Soli Sensor
MIT License
139 stars 51 forks source link

Update README.md #8

Closed graulef closed 7 years ago

graulef commented 7 years ago

The number of labels did not match the given data set. This leads to errors where nil values are accessed.

UPDATE: Actually, this should be 11 and not 13, as there are only 11 gestures in the data set. I will try to find the cause of the error.

simonwsw commented 7 years ago

Use 13 for label size parameter. The gesture set has 11 gestures (0-10 in the original HDF5 and 1-11 in Torch as Lua indices start from 1). Gesture ID 11 (in original HDF5, would be 12 in Torch/Lua) is reserved for background class (e.g. hand not presence, can be found in the dataset). To use MaskZero in RNN packages, an additional class need to be reserved for the label of frames that are masked case. Thus this additional class uses 13 (of course only in Torch/Lua) as gesture ID. To add them all together, there should be 13 classes.

graulef commented 7 years ago

Perfect, thank you this answer helps me a lot!