Не могу проверить и развернуть код на камере esp 32 для проекта MLC++

Программы на C++. Форум разработчиков
Ответить
Anonymous
 Не могу проверить и развернуть код на камере esp 32 для проекта ML

Сообщение Anonymous »

У меня возникла проблема с загрузкой кода из примеров сгенерированной библиотеки импульсов фронта. Я выполнил каждый шаг, показанный в видео, но не смог загрузить код. Также я попытался воссоздать каждый шаг из https://circuitdigest.com/microcontroll ... ge-impulse. Но это не помогло.
Я использовал
  • esp 32 cam
  • arduino ide 2.3.2 (также пробовали с 1.8.9)
  • Выбранная библиотека Arduino для развертывания
  • v5 (библиотека Arduino)
  • библиотека esp 32 3.0.3
ошибка ниже

Код: Выделить всё

c:\Users\start\Documents\Arduino\libraries\Antress-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\depthwise_conv.cpp: In function 'void tflite::{anonymous}::EvalQuantizedPerChannel(TfLiteContext*, TfLiteNode*, const TfLiteDepthwiseConvParams&, const NodeData&, const TfLiteEvalTensor*, const TfLiteEvalTensor*, const TfLiteEvalTensor*, TfLiteEvalTensor*)':
c:\Users\start\Documents\Arduino\libraries\Antress-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\depthwise_conv.cpp:1727:58: error: either all initializer clauses should be designated or none of them should be
1727 |                                 .channels = input_depth, 1
|                                                          ^
c:\Users\start\Documents\Arduino\libraries\Antress-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\depthwise_conv.cpp:1731:59: error: either all initializer clauses should be designated or none of them should be
1731 |                                 .channels = output_depth, 1
|                                                           ^
c:\Users\start\Documents\Arduino\libraries\Antress-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\depthwise_conv.cpp:1733:80: error: either all initializer clauses should be designated or none of them should be
1733 |     data_dims_t filter_dims = {.width = filter_width, .height = filter_height, 0, 0};
|                                                                                ^
c:\Users\start\Documents\Arduino\libraries\Antress-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\depthwise_conv.cpp: In function 'TfLiteStatus tflite::{anonymous}::Prepare(TfLiteContext*, TfLiteNode*)':
c:\Users\start\Documents\Arduino\libraries\Antress-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\depthwise_conv.cpp:1836:67: error: either all initializer clauses should be designated or none of them should be
1836 |                                 .channels = input->dims->data[3], 1
|                                                                   ^
c:\Users\start\Documents\Arduino\libraries\Antress-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\depthwise_conv.cpp:1840:68: error: either all initializer clauses should be designated or none of them should be
1840 |                                 .channels = output->dims->data[3], 1
|                                                                    ^
c:\Users\start\Documents\Arduino\libraries\Antress-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\depthwise_conv.cpp:1842:80: error: either all initializer clauses should be designated or none of them should be
1842 |     data_dims_t filter_dims = {.width = filter_width, .height = filter_height, 0, 0};
|                                                                                ^
c:\Users\start\Documents\Arduino\libraries\Antress-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\conv.cpp: In function 'TfLiteStatus tflite::{anonymous}::Prepare(TfLiteContext*, TfLiteNode*)':
c:\Users\start\Documents\Arduino\libraries\Antress-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\conv.cpp:1788:113: error: either all initializer clauses should be designated or none of them should be
1788 |                                 .width = input_width, .height = input_height, .channels = input->dims->data[3], 1
|                                                                                                                 ^
c:\Users\start\Documents\Arduino\libraries\Antress-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\conv.cpp:1791:116: error: either all initializer clauses should be designated or none of them should be
1791 |                                 .width = output_width, .height = output_height, .channels = output->dims->data[3], 1
|                                                                                                                    ^
c:\Users\start\Documents\Arduino\libraries\Antress-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\conv.cpp:  In function 'void tflite::{anonymous}::EvalQuantizedPerChannel(TfLiteContext*, TfLiteNode*, const TfLiteConvParams&, const NodeData&, const TfLiteEvalTensor*, const TfLiteEvalTensor*, const TfLiteEvalTensor*, TfLiteEvalTensor*)':
c:\Users\start\Documents\Arduino\libraries\Antress-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\conv.cpp:1881:58: error: either all initializer clauses should be designated or none of them should be
1881 |                                 .channels = input_depth, 1
|                                                          ^
c:\Users\start\Documents\Arduino\libraries\Antress-project-1_inferencing\src\edge-impulse-sdk\tensorflow\lite\micro\kernels\conv.cpp:1885:59: error: either all initializer clauses should be designated or none of them should be
1885 |                                 .channels = output_depth, 1
|                                                           ^

exit status 1

Compilation error: exit status 1
Я также пытаюсь загрузить код с помощью Arduino IDE 1.8.9, понизить версию библиотеки esp 32 до 3.0.2, 3.0.0. Также я попробовал поискать проблему в Интернете и обнаружил, что это может быть проблема с версией С++. А вот как проверить версию С++, установленную в arduno ide, я не знаю(((.
Может кто-нибудь с этим помочь?

Подробнее здесь: https://stackoverflow.com/questions/788 ... ml-project
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «C++»