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

基于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'
+ ?* S: W% L$ C& Eassembling startup_stm32f767xx.s...7 h9 v- _; J7 k& |8 e/ o
compiling main.c...
# c4 j' f: {. T8 J$ l5 @../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory3 O) v# g5 L5 x# A: t  M' K
  #include "network.h"1 z0 @" J$ p/ `' e& s) r; Q5 V$ O# }
../Src/main.c: 0 warnings, 1 error' H2 U! N0 |0 @
compiling app_x-cube-ai.c...
+ J) d6 Q9 x+ V4 u3 M4 P' ]7 ~- Z../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory
9 \3 K/ a' D/ o! V  #include "network.h"  j9 q, P; J( h
../Src/app_x-cube-ai.c: 0 warnings, 1 error( l8 N$ r% U  E9 U
compiling stm32f7xx_it.c...& D7 z2 h9 h! w# ?- \
compiling stm32f7xx_hal_msp.c...: v5 Z: y% Z3 y/ F- M
compiling stm32f7xx_hal_cortex.c...: Q& ?! Y0 K0 B2 ?  b, J
compiling stm32f7xx_hal_crc.c...
$ m# j. Y9 J7 Qcompiling stm32f7xx_hal_crc_ex.c...; c. S- g; u/ v
compiling stm32f7xx_hal_tim.c...
2 }+ X% @% U" D5 hcompiling stm32f7xx_hal_tim_ex.c...
- }) p% j/ f! ^, a* G' g, w/ tcompiling stm32f7xx_hal_uart.c...
' a; }8 {% V) Qcompiling stm32f7xx_hal_uart_ex.c...) j/ [/ g- J4 \; r6 u
compiling stm32f7xx_hal_rcc.c...% I5 n" A- S6 x$ v- C
compiling stm32f7xx_hal_rcc_ex.c...
5 a) A5 P: S: @/ x9 Pcompiling stm32f7xx_hal_flash.c...
' U/ R! D1 |5 S# ^compiling stm32f7xx_hal_flash_ex.c...
, ]9 p9 V+ d; }  C* Zcompiling stm32f7xx_hal_gpio.c..., a' D, L% @! K. P1 I" n8 i8 W' ~
compiling stm32f7xx_hal_dma.c...7 o) s9 C5 f- K' f# ~
compiling stm32f7xx_hal_dma_ex.c...' z: D7 p8 Q  J- E" S0 t: C
compiling stm32f7xx_hal_pwr.c...
$ `0 X' _( b/ A% C' Bcompiling stm32f7xx_hal_pwr_ex.c...
2 Q% i' y2 k! t7 V+ Xcompiling stm32f7xx_hal.c...
& K) T( T; E1 \, F4 L4 Ycompiling stm32f7xx_hal_i2c.c...+ k% Q- b% A- Y
compiling stm32f7xx_hal_i2c_ex.c...
$ }" q  G8 a- ?7 ^8 h# _compiling stm32f7xx_hal_exti.c...0 v$ m) h( b2 S  F. J& K
compiling system_stm32f7xx.c...: c  u, C0 t' D2 ~+ L9 Z
compiling aiPbMgr.c...9 d: ^1 s( q9 ?7 x
../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory9 c1 u7 G- F+ z$ j) P+ |- y. a
  #include "network.h"# F; ]$ T( S! D# e# V) R3 U+ P
../Middlewares/ST/X-CUBE-AI_Application/Validation/Src/aiPbMgr.c: 0 warnings, 1 error; L  P+ Q4 a% U
compiling aiTestUtility.c...) J9 P- \/ f4 _6 ^& P# V" P- J  [
../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory/ J+ t% Z4 p  `+ E
  #include "network.h"
; I8 C& n4 B9 N0 a% ^6 u* T/ q../Middlewares/ST/X-CUBE-AI_Application/Validation/Src/aiTestUtility.c: 0 warnings, 1 error! Q1 A) z: y; P
compiling aiValidation.c...% i2 |* Z* S6 V; u/ _- e) S( |, T6 Z  w0 d
../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory
3 L4 a" f9 F1 c/ v  S& f; K  #include "network.h"
% D1 e& Q7 V5 v  X5 s* `2 ]../Middlewares/ST/X-CUBE-AI_Application/Validation/Src/aiValidation.c: 0 warnings, 1 error! F+ u, m5 N0 A+ ^& ~6 V
compiling pb_common.c...; v; l* f' [; f0 T" Z' T& I2 h
compiling pb_decode.c...
: L) {* y& l" hcompiling pb_encode.c...
2 |: ?: Z# t! D; V: t6 p; `compiling stm32msg.pb.c...& l. P2 p$ l) ~, N7 t7 @
"STM32F767_AI\STM32F767_AI.axf" - 5 Error(s), 0 Warning(s).
2 g' n* y0 i* MTarget not created.
单片机爱好者 回答时间:2019-5-25 21:12:11
Build target 'STM32F767_AI'6 z2 x8 G# @/ B% _
assembling startup_stm32f767xx.s.... R: W; Q, G& Z
compiling main.c...
/ `3 L) J: T2 G$ \. j4 I0 f../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory+ W; @3 ~) B8 w! E  `
  #include "network.h") [+ W) c1 Z0 `! C
../Src/main.c: 0 warnings, 1 error
/ [5 C2 s) g' I& hcompiling app_x-cube-ai.c...
& h& L# q- s# H../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory7 X+ H) W8 c' X) o! f
  #include "network.h"
3 G& U% d$ k) u$ _/ h../Src/app_x-cube-ai.c: 0 warnings, 1 error2 W% g, u) q1 b
compiling stm32f7xx_it.c...# t) t% R4 `- X7 w7 w
compiling stm32f7xx_hal_msp.c...
3 L9 W6 ?, [' {compiling stm32f7xx_hal_cortex.c...
2 b  z) z' Y) g. E& n% Jcompiling stm32f7xx_hal_crc.c...
2 q( @" k3 Q: J4 ~6 Y9 W  p* ^compiling stm32f7xx_hal_crc_ex.c...
/ ?( N& h' q, V$ o( T/ Hcompiling stm32f7xx_hal_tim.c...( {5 Q7 P; B( z  ^: K# a3 R
compiling stm32f7xx_hal_tim_ex.c...) w& l7 v# |, B7 Z
compiling stm32f7xx_hal_uart.c...) x  o1 c  `* A5 u0 y
compiling stm32f7xx_hal_uart_ex.c...& J. T, X9 |! w4 N" Q/ t
compiling stm32f7xx_hal_rcc.c..., O3 `' _4 T- j+ B) d- J
compiling stm32f7xx_hal_rcc_ex.c...
. a" g& [1 A# T: F5 U2 ?compiling stm32f7xx_hal_flash.c...
2 f6 }( p9 l4 I( W% R6 Z  z) wcompiling stm32f7xx_hal_flash_ex.c...
) ?; u8 z7 K! f- h3 a. Y6 ucompiling stm32f7xx_hal_gpio.c..." q2 b7 e0 J. g3 }0 c$ \) V
compiling stm32f7xx_hal_dma.c...
3 R7 A- o' ?  f: o" g4 \compiling stm32f7xx_hal_dma_ex.c...
' j2 q( O. B8 N7 ?compiling stm32f7xx_hal_pwr.c...
* g5 O( \% i3 ^6 p+ b+ Mcompiling stm32f7xx_hal_pwr_ex.c...) Z; b4 t# t* d4 g/ a
compiling stm32f7xx_hal.c...5 r& W3 Q! K/ e, C) O7 N
compiling stm32f7xx_hal_i2c.c...
3 ~) l5 @) Q1 ~4 C' {1 D9 Icompiling stm32f7xx_hal_i2c_ex.c...
& Q% G5 l  _# P" Ccompiling stm32f7xx_hal_exti.c...
. W8 ]) y' l# W& R  Q" V0 [compiling system_stm32f7xx.c...# Z* n0 I2 g2 X8 ]5 f% g  Z
compiling aiPbMgr.c...
" ^) m; [0 G: X+ c$ X1 M* Y../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory
, Q! c5 d( F/ d  f" ?7 w. m  #include "network.h"
; W( E; G1 ^) P. G8 j../Middlewares/ST/X-CUBE-AI_Application/Validation/Src/aiPbMgr.c: 0 warnings, 1 error! P1 P! A, i3 O7 J; [
compiling aiTestUtility.c...
+ j! F3 o, _0 P8 m; C../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory3 I, N' Z$ L8 b/ U, s* z
  #include "network.h"
7 v: K8 A5 K' W- ^3 P1 }../Middlewares/ST/X-CUBE-AI_Application/Validation/Src/aiTestUtility.c: 0 warnings, 1 error
8 Y* Q: |1 w+ J  }* O8 b8 k; ^compiling aiValidation.c...0 Z% x+ T8 ~6 _+ e4 e
../Inc/app_x-cube-ai.h(77): error:  #5: cannot open source input file "network.h": No such file or directory' R- r/ Y* i2 J* h% e2 T8 h7 P
  #include "network.h"1 u$ m( m- U+ y7 y0 {
../Middlewares/ST/X-CUBE-AI_Application/Validation/Src/aiValidation.c: 0 warnings, 1 error
2 D1 j; N3 ^6 bcompiling pb_common.c...0 Z* x- a( c5 y
compiling pb_decode.c...
! v* H" Q  a/ o8 Tcompiling pb_encode.c...
8 S0 m( d  f! v- ^) J3 g& ccompiling stm32msg.pb.c...: t: M. [8 n: [: D
"STM32F767_AI\STM32F767_AI.axf" - 5 Error(s), 0 Warning(s).2 T4 }& x! K, a2 h7 k6 N
Target not created.
じ太阳当空照 回答时间:2019-7-12 17:12:51
点点&木木 发表于 2019-1-23 15:23# f6 u8 V2 R, T
输出吗   这是去使用库的AI神经算法

4 M7 g" ?/ ~% j5 }( z  L你们用的是哪一版的CUBE呢,为什么我按照步骤来都做不出了
じ太阳当空照 回答时间:2019-7-12 17:13:15
hu-jian-li 发表于 2019-1-28 11:02
8 {; j/ Q/ o1 K我导入model.h5就没反应了,没有出现他教程中的STM32F767AI.H5,请问要怎么操作 ...
! a6 J8 F4 t4 F+ v
我也是这种情况,请问您解决了吗?
じ太阳当空照 回答时间:2019-7-12 17:14:03
点点&木木 发表于 2019-1-31 19:42
( V$ X) O8 y* l% a3 a导入到工程的时候,没出现STM32F767AI.h5吗
: v+ E3 U$ |/ W2 B6 A
我也是,只出现了model.5,然后就没反应了。我们是哪里出问题了啊。我都不知道
Beatle 回答时间:2019-7-12 22:03:33
じ太阳当空照 发表于 2019-7-12 17:147 T/ O. I: \6 {  w
我也是,只出现了model.5,然后就没反应了。我们是哪里出问题了啊。我都不知道 ...
* @$ Y" i5 d( s4 A) u
导入model.h5就行,我今天试了下没问题的。
じ太阳当空照 回答时间:2019-7-14 09:15:34
Beatle 发表于 2019-7-12 22:03
4 n& J# R: D& T2 p3 f: x1 ?4 o, O导入model.h5就行,我今天试了下没问题的。

* h7 m# R) x$ @( ^我真的不知道是哪出了问题,求大神指导,我导入以后,选好芯片,然后点击Additional Software进去,里面是空的,什么都没有。我该如何解决呢,求大神指导。
Beatle 回答时间:2019-7-14 14:55:07
じ太阳当空照 发表于 2019-7-14 09:15
. J' c3 Y* l( X" ^: P; ]6 ?我真的不知道是哪出了问题,求大神指导,我导入以后,选好芯片,然后点击Additional Software进去,里面 ...
( _9 |& R& s3 v2 g7 L2 @+ e& Z
首先确保已经安装了AI库
/ b$ V$ k1 W; {2 k9 ]# g. |5 N* @# t9 g+ g3 d& E" j
1.png
- R% E* k6 |5 Q使能Atificial intelligence后,配置好参数,确保自己使用的单片机是在列表中的。
; B- ?! l6 Z, w$ ?- ^( F' S3 L' G3 S' O

+ o3 _+ y. ^" b8 t/ b' K 2.png
' j3 T0 t& ?1 u$ f$ q! m7 }1 Y4 R/ S, W. m1 S: y

9 `5 ?$ [( o+ C$ d0 R7 z, w4 P3 |$ G' m; k' h/ I. O$ m5 G
如果确定上面操作无误,界面还是空的话那就看看这里的配置是否和你真实的路径是一致的。
, F" m- B4 |% p/ p! H( g7 U9 F" Q; d$ d9 K3 Z! d
3.png - e- @; e$ j  o+ `  t! B
じ太阳当空照 回答时间: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:55# I+ p  m! o  l% u' r' F% m8 ?  K8 g
首先确保已经安装了AI库

. j- Y! g- r4 \. w$ l- u, I所有都按照你的步骤来,但还是这个样子,包也安装了,怎么办啊,好崩溃啊?我真的不知道是什么问题
9 U$ J! ~, u8 o, K4 @9 ?
1563108284(1).png
じ太阳当空照 回答时间:2019-7-14 20:51:37
Beatle 发表于 2019-7-14 14:552 \: G, T0 _1 C& u+ Y
首先确保已经安装了AI库
+ ~( J+ t0 `% V
路径是一致的,我真的不知道哪里错了。包也装了,就是打开ADD software里面还是空。
Beatle 回答时间:2019-7-15 08:00:23
じ太阳当空照 发表于 2019-7-14 20:514 b& k% c* R& N1 B, M4 L
路径是一致的,我真的不知道哪里错了。包也装了,就是打开ADD software里面还是空。 ...
4 e, T* ~" ~( D
你试试我的工程看能正常打开嘛,如果不能正常打开那就是软件配置问题了。还有就是安装目录是不是有中文目录+ u3 p' s; M1 }* m2 d

) C  Y/ j  S- X) [) `' A, y6 w链接:https://pan.baidu.com/s/1uHkIDNZYPQFDQe8EBkuSZA 2 O  Z* d  O9 q7 \
提取码:i4ek
じ太阳当空照 回答时间:2019-7-15 08:26:18
Beatle 发表于 2019-7-15 08:00; M% q5 ~4 A( R  H4 ^  H$ @
你试试我的工程看能正常打开嘛,如果不能正常打开那就是软件配置问题了。还有就是安装目录是不是有中文目 ...

- Y: X& O# ?% G; c/ W你的工程我可以打开,但是在ADD software那里依然是空的,为什么我自己就没办法呢
1563150285(1).png
1563150296(1).png
关于意法半导体
我们是谁
投资者关系
意法半导体可持续发展举措
创新和工艺
招聘信息
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
关注我们
st-img 微信公众号
st-img 手机版