你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

基于STM32F767ZI AI 应用工程创建----转载  

[复制链接]
木木&点点 发布时间:2019-1-6 17:29
阅读主题, 点击返回1楼
收藏 3 评论33 发布时间:2019-1-6 17:29
33个回答
xujiantj 回答时间:2019-2-1 09:12:30
多谢分享,学习了
单片机爱好者 回答时间:2019-5-25 21:11:26
配置好的工程报错..
单片机爱好者 回答时间:2019-5-25 21:11:53
Build target 'STM32F767_AI'
. D6 ^" V. u4 |, `assembling startup_stm32f767xx.s...- c. n% m) \2 t
compiling main.c...
+ V" W# G4 T# v, L../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory& G7 t# a" T3 l0 ^
  #include "network.h"8 r8 d- E/ K2 K% h3 q! p
../Src/main.c: 0 warnings, 1 error# _  N5 q$ \( h6 J7 _8 Y
compiling app_x-cube-ai.c...
2 r" T# Y' ~# @. r; L6 J4 f../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory! b9 {6 r2 W+ V( P6 }/ Y
  #include "network.h"
% i8 Z; E& n4 q  f2 r# i../Src/app_x-cube-ai.c: 0 warnings, 1 error
5 e% l, M( e/ L5 B  Lcompiling stm32f7xx_it.c..." M  @3 H" N2 a
compiling stm32f7xx_hal_msp.c...
! F9 t, G3 w& Y# L% j0 |; Tcompiling stm32f7xx_hal_cortex.c...
6 M# H, Q8 r# @3 T' E% wcompiling stm32f7xx_hal_crc.c...
' B5 V( i7 Y$ t! E1 j# ~8 Dcompiling stm32f7xx_hal_crc_ex.c.... u( q9 A' A( F: ~' ?5 i4 c
compiling stm32f7xx_hal_tim.c...; T. f' _" @- z- y7 D  [
compiling stm32f7xx_hal_tim_ex.c...9 N" e0 c) q% ?, |4 b0 ^& m, R! O
compiling stm32f7xx_hal_uart.c...
& i' f: m" j9 F, L1 pcompiling stm32f7xx_hal_uart_ex.c...
  n" p& l, A  I1 R$ v  Ccompiling stm32f7xx_hal_rcc.c...
2 b, A) b5 `/ a4 {: C) F8 k/ N5 @compiling stm32f7xx_hal_rcc_ex.c...3 h0 B3 ]1 c: e9 u) l
compiling stm32f7xx_hal_flash.c...
/ G7 G, m1 L) o2 i* `! Ucompiling stm32f7xx_hal_flash_ex.c...& d& J) }( c# b9 l4 a
compiling stm32f7xx_hal_gpio.c..., ?1 J6 m2 s9 d- H2 w
compiling stm32f7xx_hal_dma.c...
! t! ^) H. I) i* Acompiling stm32f7xx_hal_dma_ex.c...
5 O" z" F, ~/ @1 B5 ~( F* ~- B/ {compiling stm32f7xx_hal_pwr.c...
  F' x, {: e( E: Lcompiling stm32f7xx_hal_pwr_ex.c...
3 e9 e+ D2 a0 [0 ^; q5 Tcompiling stm32f7xx_hal.c...+ y. U/ f  Q; \  r# v) \
compiling stm32f7xx_hal_i2c.c...* u/ u3 i$ D  E7 w) U' b
compiling stm32f7xx_hal_i2c_ex.c...$ u" Q! R, K$ O, Y! Z
compiling stm32f7xx_hal_exti.c...4 o6 q$ X. ~. X$ {$ [9 T
compiling system_stm32f7xx.c...
3 D" `( r0 K; x; h* A- jcompiling aiPbMgr.c...4 J$ |  Y" |, U+ ?6 W
../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory
' `- e* m; L8 n" }. h  #include "network.h"
  P! O2 N9 l4 ]! J: h* h5 q../Middlewares/ST/X-CUBE-AI_Application/Validation/Src/aiPbMgr.c: 0 warnings, 1 error
: n4 F- G  ^' E% S, l$ R: Gcompiling aiTestUtility.c...
( L  l% j9 D( L7 U' S  D../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory
3 K: Y5 o" k7 A; @  #include "network.h"
* `' z& }9 Q, @../Middlewares/ST/X-CUBE-AI_Application/Validation/Src/aiTestUtility.c: 0 warnings, 1 error
$ X7 v  X) K& T- u' qcompiling aiValidation.c...
) h7 Z- i& S# Z. C$ Q( ]1 N../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory* v& l2 C7 q' s0 m
  #include "network.h", Y5 ~" S0 _+ J
../Middlewares/ST/X-CUBE-AI_Application/Validation/Src/aiValidation.c: 0 warnings, 1 error
7 g" c3 P  L; P4 y- Hcompiling pb_common.c...: A/ B" c! C  G# s4 [0 X
compiling pb_decode.c...+ a" W; n; [: r' c$ h( \& O
compiling pb_encode.c.... S3 f; ~1 }7 P# v
compiling stm32msg.pb.c...
0 y5 i5 R" A0 t* ]9 G"STM32F767_AI\STM32F767_AI.axf" - 5 Error(s), 0 Warning(s).- {( v( P; H5 x) |9 D/ ?: K) B
Target not created.
单片机爱好者 回答时间:2019-5-25 21:12:11
Build target 'STM32F767_AI'. f7 ^% _- k1 ?' [+ }
assembling startup_stm32f767xx.s...
! @6 h" Q. a2 y* q" K/ p7 g; ncompiling main.c...
5 n9 g- v- J# y3 D../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory  ~( P* p8 i/ l* H; W& f0 s
  #include "network.h"
0 V9 B  G- l7 U& F8 C9 j../Src/main.c: 0 warnings, 1 error6 C5 R/ y7 Z: U% e+ Y: _
compiling app_x-cube-ai.c.../ |& ^4 O) P6 M7 f
../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory
, X6 L8 X& n  o+ X& b" a0 q  #include "network.h"0 w0 t* R" K) R6 T, L# G: {
../Src/app_x-cube-ai.c: 0 warnings, 1 error
' G# V0 ?5 J1 r+ c4 b4 M  jcompiling stm32f7xx_it.c...4 n1 a) O( a- d* ~
compiling stm32f7xx_hal_msp.c...6 i/ Z# f+ K0 F% U$ U  x
compiling stm32f7xx_hal_cortex.c...
6 A7 w3 C% j" y6 E9 I, Dcompiling stm32f7xx_hal_crc.c...
  N9 @; w/ u0 G8 F* J1 T7 fcompiling stm32f7xx_hal_crc_ex.c...# {4 z9 t* A2 a% u  U5 N% u% j
compiling stm32f7xx_hal_tim.c...% |/ M8 G# g% `1 h
compiling stm32f7xx_hal_tim_ex.c...
1 k' |- ]' |- o* e* h" b$ r" t5 y9 a7 Fcompiling stm32f7xx_hal_uart.c...& B$ S1 y% E$ `, s
compiling stm32f7xx_hal_uart_ex.c...
& y! ]: S9 q8 a0 ]compiling stm32f7xx_hal_rcc.c...
5 [, v( q0 r/ O7 }compiling stm32f7xx_hal_rcc_ex.c...
  P5 N$ J1 I& B- Scompiling stm32f7xx_hal_flash.c...
' X3 B! C; U1 s, r4 ycompiling stm32f7xx_hal_flash_ex.c...
3 ~' l! W6 Y& `4 u! }compiling stm32f7xx_hal_gpio.c...
2 Y$ L3 Z* @  Z0 A, T$ Kcompiling stm32f7xx_hal_dma.c...* {1 q0 O! B9 w0 V5 F
compiling stm32f7xx_hal_dma_ex.c...
* B% i, ~2 x% S: ccompiling stm32f7xx_hal_pwr.c...4 ?  E; ^: f6 k: h5 Q5 n; \0 p/ G! X
compiling stm32f7xx_hal_pwr_ex.c...0 r) b: i' K; F3 K" J
compiling stm32f7xx_hal.c...3 M9 l* ^" K6 M8 R- T/ s! A4 s
compiling stm32f7xx_hal_i2c.c...
' W4 J' I6 h) P0 q' m0 ecompiling stm32f7xx_hal_i2c_ex.c...
- ~  _6 X* d5 I; G' fcompiling stm32f7xx_hal_exti.c...8 u. V0 O3 _' j- c. u3 k
compiling system_stm32f7xx.c...& w; C& `$ m$ g: X: w+ c
compiling aiPbMgr.c...1 D1 r6 E$ O: ~4 y# r
../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory
" s4 m4 {. K( T  ?' Q  #include "network.h". P" V2 H" I, o0 J6 C
../Middlewares/ST/X-CUBE-AI_Application/Validation/Src/aiPbMgr.c: 0 warnings, 1 error; ?! G+ z1 t. E8 w  z4 k" d
compiling aiTestUtility.c...
2 u% y8 @. C! x# M9 ~! p../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory
- J( J: n/ q8 E( a  #include "network.h"
$ l7 B9 \, ?' Z1 A../Middlewares/ST/X-CUBE-AI_Application/Validation/Src/aiTestUtility.c: 0 warnings, 1 error
* S' p. A0 C  e0 \( r# Icompiling aiValidation.c...$ R  m) [6 {0 S* q+ c6 T
../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory1 Q6 F: Q8 G' |( \9 o3 W
  #include "network.h". m( J* s# z5 X8 L4 q- x
../Middlewares/ST/X-CUBE-AI_Application/Validation/Src/aiValidation.c: 0 warnings, 1 error/ F/ U8 D% P( I) c/ e
compiling pb_common.c...
! w% A1 \5 ]9 ~7 ]/ E; w( D' c6 jcompiling pb_decode.c.../ K4 e0 I$ o8 o0 Z
compiling pb_encode.c...
" W) J) y3 W" l; z0 |- C1 w- jcompiling stm32msg.pb.c...5 h& D' K, S. S) O3 P3 v( [
"STM32F767_AI\STM32F767_AI.axf" - 5 Error(s), 0 Warning(s).
" @% D9 l) p9 C. }6 _' Q: OTarget not created.
じ太阳当空照 回答时间:2019-7-12 17:12:51
点点&木木 发表于 2019-1-23 15:23; ^! H) e- ^' p- ^6 U' J% E
输出吗   这是去使用库的AI神经算法
& `$ }" H" w% d
你们用的是哪一版的CUBE呢,为什么我按照步骤来都做不出了
じ太阳当空照 回答时间:2019-7-12 17:13:15
hu-jian-li 发表于 2019-1-28 11:02
; @2 {& p& Z; @0 q我导入model.h5就没反应了,没有出现他教程中的STM32F767AI.H5,请问要怎么操作 ...

% `( v# O! z, @5 E2 K: g5 Z我也是这种情况,请问您解决了吗?
じ太阳当空照 回答时间:2019-7-12 17:14:03
点点&木木 发表于 2019-1-31 19:42
. H' ~# q7 x6 m, a! ]3 s导入到工程的时候,没出现STM32F767AI.h5吗

2 y* r5 B# |: ~我也是,只出现了model.5,然后就没反应了。我们是哪里出问题了啊。我都不知道
Beatle 回答时间:2019-7-12 22:03:33
じ太阳当空照 发表于 2019-7-12 17:14
" D* I* b0 y* u3 v. ?我也是,只出现了model.5,然后就没反应了。我们是哪里出问题了啊。我都不知道 ...

$ z, H' W8 {( P* M% x. f; E导入model.h5就行,我今天试了下没问题的。
じ太阳当空照 回答时间:2019-7-14 09:15:34
Beatle 发表于 2019-7-12 22:03
8 Z# o& T" z. w2 [" U! k# N. L4 o) J导入model.h5就行,我今天试了下没问题的。
. D1 \4 U$ {- B- i3 x# c7 N) p
我真的不知道是哪出了问题,求大神指导,我导入以后,选好芯片,然后点击Additional Software进去,里面是空的,什么都没有。我该如何解决呢,求大神指导。
Beatle 回答时间:2019-7-14 14:55:07
じ太阳当空照 发表于 2019-7-14 09:15! W1 K# W$ s* _1 ~7 {4 s4 B3 k
我真的不知道是哪出了问题,求大神指导,我导入以后,选好芯片,然后点击Additional Software进去,里面 ...
+ y. r* T( R( F- _! ?/ g
首先确保已经安装了AI库
6 _6 O0 B& L# }9 |9 G, {3 C- v
% B$ l& J- J' c+ M! U+ s7 y* c 1.png
- b1 L5 J  ~7 `7 T* [' v使能Atificial intelligence后,配置好参数,确保自己使用的单片机是在列表中的。7 ~& E+ ]6 w8 X/ A+ H

. n% G; r: z: W5 {% x3 {8 ?( y3 \' H! [' ^* U3 ]% k/ T
2.png 9 m/ q1 z9 b: f
; ]! b. g0 y8 u, i

2 j( n$ Y* k; L: N2 O# i9 {2 e, p0 W+ u# L, ?, ?; _
如果确定上面操作无误,界面还是空的话那就看看这里的配置是否和你真实的路径是一致的。% x, d1 S& K6 g) e. Y: S9 z5 X

2 U# V1 H. f' }! u 3.png 6 T2 u1 ^1 i- K
じ太阳当空照 回答时间:2019-7-14 20:37:06
[img][/img]
1563107727(1).png
1563107734(1).png
1563107755(1).png
じ太阳当空照 回答时间:2019-7-14 20:46:32
Beatle 发表于 2019-7-14 14:557 _9 }2 F, V! W* }! }
首先确保已经安装了AI库
3 N* |4 n7 s( V8 I, V
所有都按照你的步骤来,但还是这个样子,包也安装了,怎么办啊,好崩溃啊?我真的不知道是什么问题5 {# v  F* K! c
1563108284(1).png
じ太阳当空照 回答时间:2019-7-14 20:51:37
Beatle 发表于 2019-7-14 14:55
0 c1 p& `2 z( A; {3 y. `首先确保已经安装了AI库
! n% K8 z, M. |! J8 X6 B
路径是一致的,我真的不知道哪里错了。包也装了,就是打开ADD software里面还是空。
Beatle 回答时间:2019-7-15 08:00:23
じ太阳当空照 发表于 2019-7-14 20:51) P5 W2 B- E; K* J& a3 p" o+ L
路径是一致的,我真的不知道哪里错了。包也装了,就是打开ADD software里面还是空。 ...

0 E6 T8 {& ?  ]8 @4 A/ ?, t( a你试试我的工程看能正常打开嘛,如果不能正常打开那就是软件配置问题了。还有就是安装目录是不是有中文目录
( a$ i3 E3 y$ b+ W0 |* m* A7 \0 e- u; b& Q  U/ b4 G
链接:https://pan.baidu.com/s/1uHkIDNZYPQFDQe8EBkuSZA
+ A9 x7 k5 p9 B# C9 Q提取码:i4ek
じ太阳当空照 回答时间:2019-7-15 08:26:18
Beatle 发表于 2019-7-15 08:00
7 x. }, ?, q4 |1 s5 D- J你试试我的工程看能正常打开嘛,如果不能正常打开那就是软件配置问题了。还有就是安装目录是不是有中文目 ...
) X( S; u) D) _, q8 C6 ~
你的工程我可以打开,但是在ADD software那里依然是空的,为什么我自己就没办法呢
1563150285(1).png
1563150296(1).png

所属标签

相似技术帖

官网相关资源

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
人形机器人运动控制、感知与智能配电
半导体创新技术与应用方向
EE架构与软件定义汽车
12V/48V 汽车智能配电(SPD)
区域控制单元(ZCU)与分区架构
关注我们
st-img 微信公众号
st-img 手机版