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

Optimal parameters for DS-CNN #117

Open
idsparco97 opened this issue Sep 6, 2019 · 0 comments
Open

Optimal parameters for DS-CNN #117

idsparco97 opened this issue Sep 6, 2019 · 0 comments

Comments

@idsparco97
Copy link

I have trained a DS-CNN model with the same hyperparameters available in the guide. I have also done the fusion of batch normalization layers and after this I have tried to quantize weights and biases with the following command

python3 quant_test.py --model_architecture ds_cnn
  --model_size_info 5 64 10 4 2 2 64 3 3 1 1 64 3 3 1 1 64 3 3 1 1 64 3 3 1 1
  --dct_coefficient_count 10 --window_size_ms 40 --window_stride_ms 20
  --checkpoint ../tmp/speech_commands_train/best/ds_cnn_9349.ckpt-22000_bnfused
  --act_max 32 0 0 0 0 0 0 0 0 0 0 0

I read in the guide that the value of act_max that I used, quantizes only the first layer (input layer) and not other layers. Has anyone experienced a good hyperparameters configuration to get a net suitable for Small class? I need a model that runs on a microcontroller with 128 KB of RAM, with an high accuracy.

@idsparco97 idsparco97 changed the title Optimal parameter DS-CNN Optimal parameters for DS-CNN Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant