esp-tflite-micro
TensorFlow Lite Micro for Espressif Chipsets
File Explorer
Download Latest Version (.zip)- ci.yml
- issue_comment.yml
- launchpad.yml
- new_issues.yml
- new_prs.yml
- upload_component.yml
- CMakeLists.txt
- constants.cc
- constants.h
- idf_component.yml
- main.cc
- main_functions.cc
- main_functions.h
- model.cc
- model.h
- output_handler.cc
- output_handler.h
- CMakeLists.txt
- partitions.csv
- README.md
- sdkconfig.defaults
- audio_preprocessor_int8_model_data.h
- audio_provider.cc
- audio_provider.h
- CMakeLists.txt
- command_responder.cc
- command_responder.h
- feature_provider.cc
- feature_provider.h
- i2s_setup.cc
- i2s_setup.h
- idf_component.yml
- main.cc
- main_functions.cc
- main_functions.h
- micro_features_generator.cc
- micro_features_generator.h
- micro_model_settings.h
- model.cc
- model.h
- no_micro_features_data.cc
- no_micro_features_data.h
- recognize_commands.cc
- recognize_commands.h
- ringbuf.c
- ringbuf.h
- yes_micro_features_data.cc
- yes_micro_features_data.h
- CMakeLists.txt
- no_1000ms.wav
- no_30ms.wav
- noise_1000ms.wav
- silence_1000ms.wav
- yes_1000ms.wav
- yes_30ms.wav
- CMakeLists.txt
- LICENSE
- partitions.csv
- README.md
- sdkconfig.defaults
- app_camera_esp.c
- app_camera_esp.h
- CMakeLists.txt
- detection_responder.cc
- detection_responder.h
- esp_cli.c
- esp_cli.h
- esp_main.h
- esp_video_if.c
- esp_video_if.h
- idf_component.yml
- image_provider.cc
- image_provider.h
- Kconfig.projbuild
- main.cc
- main_functions.cc
- main_functions.h
- model_settings.cc
- model_settings.h
- person_detect_model_data.cc
- person_detect_model_data.h
- image0
- image1
- image2
- image3
- image4
- image5
- image6
- image7
- image8
- image9
- README.md
- CMakeLists.txt
- CMakeLists.txt
- LICENSE
- partitions.csv
- README.md
- sdkconfig.defaults
- sdkconfig.defaults.esp32p4
- sdkconfig.defaults.esp32s2
- sdkconfig.defaults.esp32s3
- build_examples.sh
- gh_sync_req.txt
- sync_from_tflite_micro.sh
- delay.cc
- delay_flexbuffers_generated_data.h
- energy.cc
- energy_flexbuffers_generated_data.h
- fft_auto_scale_common.cc
- fft_auto_scale_kernel.cc
- fft_auto_scale_kernel.h
- fft_flexbuffers_generated_data.h
- filter_bank.cc
- filter_bank_flexbuffers_generated_data.h
- filter_bank_log.cc
- filter_bank_log_flexbuffers_generated_data.h
- filter_bank_spectral_subtraction.cc
- filter_bank_spectral_subtraction_flexbuffers_generated_data.h
- filter_bank_square_root.cc
- filter_bank_square_root.h
- filter_bank_square_root_common.cc
- framer.cc
- framer_flexbuffers_generated_data.h
- irfft.cc
- irfft.h
- overlap_add.cc
- overlap_add_flexbuffers_generated_data.h
- pcan.cc
- pcan_flexbuffers_generated_data.h
- rfft.cc
- rfft.h
- stacker.cc
- stacker_flexbuffers_generated_data.h
- window.cc
- window_flexbuffers_generated_data.h
- kiss_fft_common.h
- kiss_fft_float.cc
- kiss_fft_float.h
- kiss_fft_int16.cc
- kiss_fft_int16.h
- kiss_fft_int32.cc
- kiss_fft_int32.h
- circular_buffer.cc
- circular_buffer.h
- complex.h
- energy.cc
- energy.h
- fft_auto_scale.cc
- fft_auto_scale.h
- filter_bank.cc
- filter_bank.h
- filter_bank_log.cc
- filter_bank_log.h
- filter_bank_spectral_subtraction.cc
- filter_bank_spectral_subtraction.h
- filter_bank_square_root.cc
- filter_bank_square_root.h
- irfft.h
- irfft_float.cc
- irfft_int16.cc
- irfft_int32.cc
- log.cc
- log.h
- max_abs.cc
- max_abs.h
- msb.h
- msb_32.cc
- msb_64.cc
- overlap_add.cc
- overlap_add.h
- pcan_argc_fixed.cc
- pcan_argc_fixed.h
- rfft.h
- rfft_float.cc
- rfft_int16.cc
- rfft_int32.cc
- square_root.h
- square_root_32.cc
- square_root_64.cc
- window.cc
- window.h
- error_reporter.cc
- error_reporter.h
- builtin_op_data.h
- tflite_types.h
- compatibility_macros.h
- schema_generated.h
- schema_utils.cc
- schema_utils.h
- builtin_op_data.h
- c_api_types.h
- common.h
- error_reporter.h
- flatbuffer_conversions.cc
- flatbuffer_conversions.h
- tensor_utils.cc
- tensor_utils.h
- builtin_op_data.h
- c_api_types.h
- common.cc
- common.h
- macros.h
- neon_check.h
- add.h
- conv.h
- depthwise_conv.h
- fully_connected.h
- l2normalization.h
- logistic.h
- mean.h
- mul.h
- pooling.h
- tanh.h
- transpose_conv.h
- add.h
- add_n.h
- arg_min_max.h
- batch_matmul.h
- batch_to_space_nd.h
- binary_function.h
- broadcast_args.h
- broadcast_loop.h
- broadcast_to.h
- ceil.h
- comparisons.h
- concatenation.h
- conv.h
- cumsum.h
- depth_to_space.h
- depthwiseconv_float.h
- depthwiseconv_uint8.h
- dequantize.h
- div.h
- elu.h
- exp.h
- fill.h
- floor.h
- floor_div.h
- floor_mod.h
- fully_connected.h
- hard_swish.h
- l2normalization.h
- leaky_relu.h
- log_softmax.h
- logistic.h
- lstm_cell.h
- maximum_minimum.h
- mul.h
- neg.h
- pad.h
- pooling.h
- portable_tensor_utils.cc
- portable_tensor_utils.h
- portable_tensor_utils_impl.h
- prelu.h
- process_broadcast_shapes.h
- quantize.h
- reduce.h
- requantize.h
- resize_bilinear.h
- resize_nearest_neighbor.h
- reverse.h
- round.h
- select.h
- slice.h
- softmax.h
- space_to_batch_nd.h
- space_to_depth.h
- strided_slice.h
- sub.h
- tanh.h
- transpose.h
- transpose_conv.h
- common.cc
- common.h
- compatibility.h
- cppmath.h
- max.h
- min.h
- portable_tensor.h
- portable_tensor_utils.cc
- portable_tensor_utils.h
- quantization_util.cc
- quantization_util.h
- runtime_shape.cc
- runtime_shape.h
- strided_slice_logic.h
- tensor_ctypes.cc
- tensor_ctypes.h
- tensor_utils.cc
- types.h
- kernel_util.cc
- kernel_util.h
- op_macros.h
- padding.h
- ibuffer_allocator.h
- non_persistent_arena_buffer_allocator.cc
- non_persistent_arena_buffer_allocator.h
- persistent_arena_buffer_allocator.cc
- persistent_arena_buffer_allocator.h
- recording_single_arena_buffer_allocator.cc
- recording_single_arena_buffer_allocator.h
- single_arena_buffer_allocator.cc
- single_arena_buffer_allocator.h
- micro_time.cc
- add.cc
- conv.cc
- depthwise_conv.cc
- fully_connected.cc
- mul.cc
- pooling.cc
- README.md
- softmax.cc
- activation_utils.h
- activations.cc
- activations.h
- activations_common.cc
- add.cc
- add.h
- add_common.cc
- add_n.cc
- arg_min_max.cc
- assign_variable.cc
- batch_matmul.cc
- batch_matmul.h
- batch_matmul_common.cc
- batch_to_space_nd.cc
- broadcast_args.cc
- broadcast_to.cc
- call_once.cc
- cast.cc
- ceil.cc
- circular_buffer.cc
- circular_buffer.h
- circular_buffer_common.cc
- circular_buffer_flexbuffers_generated_data.h
- comparisons.cc
- concatenation.cc
- conv.cc
- conv.h
- conv_common.cc
- conv_test.h
- cumsum.cc
- decode.cc
- decode_state.cc
- decode_state.h
- decode_state_huffman.cc
- decode_state_huffman.h
- decode_state_lut.cc
- decode_state_lut.h
- decode_state_prune.cc
- decode_state_prune.h
- decode_test_helpers.h
- decompress.cc
- decompress.h
- decompress_common.cc
- depth_to_space.cc
- depthwise_conv.cc
- depthwise_conv.h
- depthwise_conv_common.cc
- dequantize.cc
- dequantize.h
- dequantize_common.cc
- detection_postprocess.cc
- detection_postprocess_flexbuffers_generated_data.h
- div.cc
- dynamic_update_slice.cc
- dynamic_update_slice.h
- elementwise.cc
- elu.cc
- embedding_lookup.cc
- ethosu.cc
- ethosu.h
- exp.cc
- expand_dims.cc
- fill.cc
- floor.cc
- floor_div.cc
- floor_mod.cc
- fully_connected.cc
- fully_connected.h
- fully_connected_common.cc
- gather.cc
- gather_nd.cc
- hard_swish.cc
- hard_swish.h
- hard_swish_common.cc
- if.cc
- kernel_runner.cc
- kernel_runner.h
- kernel_util.cc
- kernel_util.h
- l2_pool_2d.cc
- l2norm.cc
- leaky_relu.cc
- leaky_relu.h
- leaky_relu_common.cc
- log_softmax.cc
- logical.cc
- logical.h
- logical_common.cc
- logistic.cc
- logistic.h
- logistic_common.cc
- lstm_eval.cc
- lstm_eval.h
- lstm_eval_common.cc
- lstm_eval_test.h
- lstm_shared.h
- maximum_minimum.cc
- maximum_minimum.h
- micro_ops.h
- micro_tensor_utils.cc
- micro_tensor_utils.h
- mirror_pad.cc
- mul.cc
- mul.h
- mul_common.cc
- neg.cc
- pack.cc
- pad.cc
- pad.h
- pad_common.cc
- pooling.cc
- pooling.h
- pooling_common.cc
- prelu.cc
- prelu.h
- prelu_common.cc
- quantize.cc
- quantize.h
- quantize_common.cc
- read_variable.cc
- reduce.cc
- reduce.h
- reduce_common.cc
- reshape.cc
- reshape.h
- reshape_common.cc
- resize_bilinear.cc
- resize_nearest_neighbor.cc
- reverse.cc
- round.cc
- select.cc
- shape.cc
- slice.cc
- softmax.cc
- softmax.h
- softmax_common.cc
- space_to_batch_nd.cc
- space_to_depth.cc
- split.cc
- split_v.cc
- squared_difference.cc
- squeeze.cc
- strided_slice.cc
- strided_slice.h
- strided_slice_common.cc
- sub.cc
- sub.h
- sub_common.cc
- svdf.cc
- svdf.h
- svdf_common.cc
- tanh.cc
- transpose.cc
- transpose.h
- transpose_common.cc
- transpose_conv.cc
- transpose_conv.h
- unidirectional_sequence_lstm.cc
- unidirectional_sequence_lstm.h
- unpack.cc
- var_handle.cc
- while.cc
- zeros_like.cc
- greedy_memory_planner.cc
- greedy_memory_planner.h
- linear_memory_planner.cc
- linear_memory_planner.h
- memory_plan_struct.h
- micro_memory_planner.h
- non_persistent_buffer_planner_shim.cc
- non_persistent_buffer_planner_shim.h
- micro_test.h
- micro_test_v2.h
- flatbuffer_conversions_bridge.cc
- flatbuffer_conversions_bridge.h
- micro_error_reporter.cc
- micro_error_reporter.h
- compatibility.h
- compression.h
- debug_log.cc
- debug_log.h
- fake_micro_context.cc
- fake_micro_context.h
- flatbuffer_utils.cc
- flatbuffer_utils.h
- hexdump.cc
- hexdump.h
- memory_helpers.cc
- memory_helpers.h
- micro_allocation_info.cc
- micro_allocation_info.h
- micro_allocator.cc
- micro_allocator.h
- micro_arena_constants.h
- micro_common.h
- micro_context.cc
- micro_context.h
- micro_graph.h
- micro_interpreter.cc
- micro_interpreter.h
- micro_interpreter_context.cc
- micro_interpreter_context.h
- micro_interpreter_graph.cc
- micro_interpreter_graph.h
- micro_log.cc
- micro_log.h
- micro_mutable_op_resolver.h
- micro_op_resolver.cc
- micro_op_resolver.h
- micro_profiler.cc
- micro_profiler.h
- micro_profiler_interface.h
- micro_resource_variable.cc
- micro_resource_variable.h
- micro_time.cc
- micro_time.h
- micro_utils.cc
- micro_utils.h
- mock_micro_graph.cc
- mock_micro_graph.h
- recording_micro_allocator.cc
- recording_micro_allocator.h
- recording_micro_interpreter.h
- span.h
- static_vector.h
- system_setup.cc
- system_setup.h
- test_helper_custom_ops.cc
- test_helper_custom_ops.h
- test_helpers.cc
- test_helpers.h
- schema_generated.h
- schema_utils.h
- half.h
- builtin_op_data.h
- builtin_ops.h
- context_util.h
- portable_type_to_tflitetype.h
- allocator.h
- array.h
- base.h
- buffer.h
- buffer_ref.h
- code_generator.h
- code_generators.h
- default_allocator.h
- detached_buffer.h
- file_manager.h
- flatbuffer_builder.h
- flatbuffers.h
- flex_flat_util.h
- flexbuffers.h
- grpc.h
- hash.h
- idl.h
- minireflect.h
- reflection.h
- reflection_generated.h
- registry.h
- stl_emulation.h
- string.h
- struct.h
- table.h
- util.h
- vector.h
- vector_downward.h
- verifier.h
- LICENSE
- fixedpoint.h
- fixedpoint_neon.h
- fixedpoint_sse.h
- detect_platform.h
- LICENSE
- kiss_fftr.c
- kiss_fftr.h
- _kiss_fft_guts.h
- COPYING
- kiss_fft.c
- kiss_fft.h
- instrumentation.h
- .gitignore
- .gitlab-ci.yml
- .gitmodules
- .pre-commit-config.yaml
- CMakeLists.txt
- idf_component.yml
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/espressif/esp-tflite-micro
Downloads the entire project code from GitHub to your computer.
cd esp-tflite-micro
Moves into the project folder you just downloaded.
2. CMake
Medium RecommendedPrerequisites
```cmake
Type this command into your terminal and run it.
Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
