Closed andreistoian closed 3 years ago
Regarding the crash, that was indeed an oversight from the previous patch I committed for 1D support. This should be fixed now in the latest commit.
Regarding the StimuliProvider, the confusion comes from the fact that the size you specify is its output size, not its input size. Like any other layer, you always specify the output size. The input size is always unspecified. For the StimuliProvider, it can be anything coming from a Database, which does not enforce any size. It is therefore your responsibility to ensure that the data size matches the specified output size of the StimuliProvider, after passing through all the transformations attached to it.
Thanks.
Calibration and export to int8 now works with 1D convolution. I still need to test with real labels to compare accuracy but the export compiles and runs well.
Hi,
I have a 1D sound network that takes 8000x1 size inputs. I'm trying to export to int8 with calibration. I'm using the speech_commands dataset (following the example - using DIR_Database). However, the data in the dataset is at 16khz thus giving 16000x1.
I used the following ini file:
since desc.padding has only size 2 so this line crashes (desc.padding[2] is OOB). It seems the mConvDesc in ConvCell_Frame is not handled appropriately for 1D convolution, only the base ConvCell class does the appropriate massaging of the dimensions (adding a 1 to the 2d dimension when the convolution is 1d)