Commit 762358a7 authored by Gustavo Valiente's avatar Gustavo Valiente

Performance section added

parent 2c06e382
...@@ -123,7 +123,7 @@ The most common layer types used in image recognition and sequences prediction a ...@@ -123,7 +123,7 @@ The most common layer types used in image recognition and sequences prediction a
## Performance ## Performance
The prediction time of the following models have been measured on a Raspberry Pi 3: The prediction time of the following models has been measured on a Raspberry Pi 3:
### CNN ### CNN
...@@ -141,7 +141,7 @@ model.add(Dropout(0.5)) ...@@ -141,7 +141,7 @@ model.add(Dropout(0.5))
model.add(Dense(num_classes, activation='sigmoid')) model.add(Dense(num_classes, activation='sigmoid'))
``` ```
| Library | Elapsed time (us) | | Library | Elapsed time (μs) |
| ------------- | ----------------: | | ------------- | ----------------: |
| Keras | 23363 | | Keras | 23363 |
| Kerasify | 64238 | | Kerasify | 64238 |
...@@ -158,7 +158,7 @@ model.add(LSTM(128, return_sequences=False, dropout=0.2, recurrent_dropout=0.2)) ...@@ -158,7 +158,7 @@ model.add(LSTM(128, return_sequences=False, dropout=0.2, recurrent_dropout=0.2))
model.add(Dense(1, activation='sigmoid')) model.add(Dense(1, activation='sigmoid'))
``` ```
| Library | Elapsed time (us) | | Library | Elapsed time (μs) |
| ------------- | ----------------: | | ------------- | ----------------: |
| Keras | 89344 | | Keras | 89344 |
| Kerasify | 79060 | | Kerasify | 79060 |
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment