| | |
| | | print("Please select appropriate CONFIG_SR_MN_* options in menuconfig, or disable USE_CUSTOM_WAKE_WORD") |
| | | sys.exit(1) |
| | | |
| | | # 3. Only package multinet models if USE_CUSTOM_WAKE_WORD=y |
| | | if wake_word_config['use_custom_wake_word']: |
| | | # 3. Package multinet models for custom wake word or AFE offline commands |
| | | if wake_word_config['use_custom_wake_word'] or wake_word_config['use_afe_wake_word']: |
| | | multinet_model_paths = get_multinet_model_paths(multinet_model_names, args.esp_sr_model_path) |
| | | elif multinet_model_names: |
| | | print(f" Note: Found multinet models {multinet_model_names} but USE_CUSTOM_WAKE_WORD is disabled, skipping") |
| | | print(f" Note: Found multinet models {multinet_model_names} but wake word type does not use MultiNet, skipping") |
| | | |
| | | # Print model information (only for models that will actually be packaged) |
| | | if wakenet_model_paths: |