콘테스트 프로젝트 진행 상황
각 Quest를 단계적으로 완성하는 프로젝트입니다.
Quest 1: 퀘스트 1
2022.08.01
본분 내용에 그림으로 넣고 첨부파일에 압축 첨부 합니다.


Neural Network Tools for STM32AI v1.6.0 (STM.ai v7.1.0-RC3)
Created date : 2022-08-01 16:00:34
Parameters : analyze --name network -m C:/Users/DR211229001/STM32Cube/Repository/Packs/STMicroelectronics/STM32CubeFunctionPack_SENSING1_V4.0.3/Utilities/AI_Ressources/models/cnn_gmp.h5 --type keras --compression 1 --verbosity 1 --workspace C:\Users\DR2112~1\AppData\Local\Temp\mxAI_workspace52109035648420008140532139645537130 --output C:\Users\DR211229001\.stm32cubemx\network_output
Exec/report summary (analyze)
------------------------------------------------------------------------------------------------------------------------
model file : C:\Users\DR211229001\STM32Cube\Repository\Packs\STMicroelectronics\STM32CubeFunctionPack_SENSING1_V4.0.3\Utilities\AI_Ressources\models\cnn_gmp.h5
type : keras
c_name : network
compression : None
workspace dir : C:\Users\DR2112~1\AppData\Local\Temp\mxAI_workspace52109035648420008140532139645537130
output dir : C:\Users\DR211229001\.stm32cubemx\network_output
model_name : cnn_gmp
model_hash : 954164d0a35496bd293bb6b3429c6a79
input 1/1 : 'input_0'
72 items, 288 B, ai_float, float, (1,24,3,1), domain:user/
output 1/1 : 'softmax_1'
5 items, 20 B, ai_float, float, (1,1,1,5), domain:user/
params # : 1,477 items (5.77 KiB)
macc : 68,928
weights (ro) : 5,908 B (5.77 KiB) (1 segment)
activations (rw) : 6,976 B (6.81 KiB) (1 segment)
ram (total) : 7,284 B (7.11 KiB) = 6,976 + 288 + 20
Model name - cnn_gmp ['input_0'] ['softmax_1']
-------------------------------------------------------------------------------------------------------------------------------------------------
id layer (type) oshape param/size macc connected to | c_size c_macc c_type
-------------------------------------------------------------------------------------------------------------------------------------------------
0 input_0 (Input) (None,24,3,1) |
quantize_1_conv2d (Conv2D) (None,20,3,16) 96/384 4,816 input_0 | +960(+19.9%) conv2d()[0]
quantize_1 (Nonlinearity) (None,20,3,16) 960 quantize_1_conv2d | -960(-100.0%)
-------------------------------------------------------------------------------------------------------------------------------------------------
1 quantize_2_conv2d (Conv2D) (None,16,3,16) 1,296/5,184 61,456 quantize_1 | +1,536(+2.5%) optimized_conv2d()[1]
quantize_2 (Nonlinearity) (None,16,3,16) 768 quantize_2_conv2d | -768(-100.0%)
-------------------------------------------------------------------------------------------------------------------------------------------------
2 quantize_3 (Pool) (None,1,1,16) 768 quantize_2 | -768(-100.0%)
-------------------------------------------------------------------------------------------------------------------------------------------------
3 quantize_4_dense (Dense) (None,1,1,5) 85/340 85 quantize_3 | dense()[2]
-------------------------------------------------------------------------------------------------------------------------------------------------
4 softmax_1 (Nonlinearity) (None,1,1,5) 75 quantize_4_dense | nl()/o[3]
-------------------------------------------------------------------------------------------------------------------------------------------------
model/c-model: macc=68,928/68,928 weights=5,908/5,908 activations=--/6,976 io=--/308
Generated C-graph summary
------------------------------------------------------------------------------------------------------------------------
model name : cnn_gmp
c-name : network
c-node # : 4
c-array # : 12
activations size : 6976 (1 segments)
weights size : 5908 (1 segments)
macc : 68928
inputs : ['input_0_output']
outputs : ['softmax_1_output']
C-Arrays (12)
--------------------------------------------------------------------------------------------------------
c_id name (*_array) item/size domain/mem-pool c-type fmt comment
--------------------------------------------------------------------------------------------------------
0 input_0_output 72/288 user/ float float /input
1 quantize_1_conv2d_output 960/3840 activations/**default** float float
2 quantize_2_conv2d_output 16/64 activations/**default** float float
3 quantize_4_dense_output 5/20 activations/**default** float float
4 softmax_1_output 5/20 user/ float float /output
5 quantize_1_conv2d_weights 80/320 weights/ const float float
6 quantize_1_conv2d_bias 16/64 weights/ const float float
7 quantize_2_conv2d_weights 1280/5120 weights/ const float float
8 quantize_2_conv2d_bias 16/64 weights/ const float float
9 quantize_4_dense_weights 80/320 weights/ const float float
10 quantize_4_dense_bias 5/20 weights/ const float float
11 quantize_2_conv2d_scratch0 768/3072 activations/**default** float float
--------------------------------------------------------------------------------------------------------
C-Layers (4)
-------------------------------------------------------------------------------------------------------------------
c_id name (*_layer) id layer_type macc rom tensors shape (array id)
-------------------------------------------------------------------------------------------------------------------
0 quantize_1_conv2d 0 conv2d 5776 384 I: input_0_output (1,24,3,1) (0)
W: quantize_1_conv2d_weights (1,16,5,1) (5)
W: quantize_1_conv2d_bias (1,1,1,16) (6)
O: quantize_1_conv2d_output (1,20,3,16) (1)
-------------------------------------------------------------------------------------------------------------------
1 quantize_2_conv2d 2 optimized_conv2d 62992 5184 I: quantize_1_conv2d_output (1,20,3,16) (1)
S: quantize_2_conv2d_scratch0
W: quantize_2_conv2d_weights (16,16,5,1) (7)
W: quantize_2_conv2d_bias (1,1,1,16) (8)
O: quantize_2_conv2d_output (1,1,1,16) (2)
-------------------------------------------------------------------------------------------------------------------
2 quantize_4_dense 3 dense 85 340 I: quantize_2_conv2d_output (1,1,1,16) (2)
W: quantize_4_dense_weights (16,1,1,5) (9)
W: quantize_4_dense_bias (1,1,1,5) (10)
O: quantize_4_dense_output (1,1,1,5) (3)
-------------------------------------------------------------------------------------------------------------------
3 softmax_1 4 nl 75 0 I: quantize_4_dense_output (1,1,1,5) (3)
O: softmax_1_output (1,1,1,5) (4)
-------------------------------------------------------------------------------------------------------------------
Complexity report per layer - macc=68,928 weights=5,908 act=6,976 ram_io=308
----------------------------------------------------------------------------------
id name c_macc c_rom c_id
----------------------------------------------------------------------------------
0 quantize_1_conv2d || 8.4% || 6.5% [0]
1 quantize_2_conv2d |||||||||||||||| 91.4% |||||||||||||||| 87.7% [1]
3 quantize_4_dense | 0.1% | 5.8% [2]
4 softmax_1 | 0.1% | 0.0% [3]
Quest 2: Neural Network Model 생성 개발 환경 구축하기
2022.08.08
퀘
두번째 퀘스트 진행 내용 제출합니다.

.png)

Neural Network Tools for STM32AI v1.6.0 (STM.ai v7.1.0-RC3)
Created date : 2022-08-03 11:28:56
Parameters : analyze --name network -m D:/E4ds/Quest_2/STM32_Quest_AI_개굴씨_2022/HAR/results/2022_Aug_03_11_22_52/har_IGN.h5 --type keras --compression 1 --verbosity 1 --workspace C:\Users\DR2112~1\AppData\Local\Temp\mxAI_workspace536740616335800018295473574525173286 --output C:\Users\DR211229001\.stm32cubemx\network_output
Exec/report summary (analyze)
------------------------------------------------------------------------------------------------------------------------
model file : D:\E4ds\Quest_2\STM32_Quest_AI_개굴씨_2022\HAR\results\2022_Aug_03_11_22_52\har_IGN.h5
type : keras
c_name : network
compression : None
workspace dir : C:\Users\DR2112~1\AppData\Local\Temp\mxAI_workspace536740616335800018295473574525173286
output dir : C:\Users\DR211229001\.stm32cubemx\network_output
model_name : har_IGN
model_hash : 659976d016648d561483436d226e75f9
input 1/1 : 'input_0'
72 items, 288 B, ai_float, float, (1,24,3,1), domain:user/
output 1/1 : 'dense_1'
4 items, 16 B, ai_float, float, (1,1,1,4), domain:user/
params # : 3,064 items (11.97 KiB)
macc : 14,404
weights (ro) : 12,256 B (11.97 KiB) (1 segment)
activations (rw) : 1,728 B (1.69 KiB) (1 segment)
ram (total) : 2,032 B (1.98 KiB) = 1,728 + 288 + 16
Model name - har_IGN ['input_0'] ['dense_1']
-------------------------------------------------------------------------------------------------------------------------------------------
id layer (type) oshape param/size macc connected to | c_size c_macc c_type
-------------------------------------------------------------------------------------------------------------------------------------------
0 input_0 (Input) (None,24,3,1) |
conv2d_conv2d (Conv2D) (None,9,3,24) 408/1,632 10,392 input_0 | +1,296(+12.5%) optimized_conv2d()[0]
conv2d (Nonlinearity) (None,9,3,24) 648 conv2d_conv2d | -648(-100.0%)
-------------------------------------------------------------------------------------------------------------------------------------------
1 max_pooling2d (Pool) (None,3,3,24) 648 conv2d | -648(-100.0%)
-------------------------------------------------------------------------------------------------------------------------------------------
2 flatten (Reshape) (None,1,1,216) max_pooling2d |
-------------------------------------------------------------------------------------------------------------------------------------------
3 dense_dense (Dense) (None,1,1,12) 2,604/10,416 2,604 flatten | dense()[1]
-------------------------------------------------------------------------------------------------------------------------------------------
5 dense_1_dense (Dense) (None,1,1,4) 52/208 52 dense_dense | dense()[2]
dense_1 (Nonlinearity) (None,1,1,4) 60 dense_1_dense | nl()/o[3]
-------------------------------------------------------------------------------------------------------------------------------------------
model/c-model: macc=14,404/14,404 weights=12,256/12,256 activations=--/1,728 io=--/304
Generated C-graph summary
------------------------------------------------------------------------------------------------------------------------
model name : har_ign
c-name : network
c-node # : 4
c-array # : 12
activations size : 1728 (1 segments)
weights size : 12256 (1 segments)
macc : 14404
inputs : ['input_0_output']
outputs : ['dense_1_output']
C-Arrays (12)
-----------------------------------------------------------------------------------------------------
c_id name (*_array) item/size domain/mem-pool c-type fmt comment
-----------------------------------------------------------------------------------------------------
0 input_0_output 72/288 user/ float float /input
1 conv2d_conv2d_output 216/864 activations/**default** float float
2 dense_dense_output 12/48 activations/**default** float float
3 dense_1_dense_output 4/16 activations/**default** float float
4 dense_1_output 4/16 user/ float float /output
5 conv2d_conv2d_weights 384/1536 weights/ const float float
6 conv2d_conv2d_bias 24/96 weights/ const float float
7 dense_dense_weights 2592/10368 weights/ const float float
8 dense_dense_bias 12/48 weights/ const float float
9 dense_1_dense_weights 48/192 weights/ const float float
10 dense_1_dense_bias 4/16 weights/ const float float
11 conv2d_conv2d_scratch0 216/864 activations/**default** float float
-----------------------------------------------------------------------------------------------------
C-Layers (4)
-------------------------------------------------------------------------------------------------------------
c_id name (*_layer) id layer_type macc rom tensors shape (array id)
-------------------------------------------------------------------------------------------------------------
0 conv2d_conv2d 1 optimized_conv2d 11688 1632 I: input_0_output (1,24,3,1) (0)
S: conv2d_conv2d_scratch0
W: conv2d_conv2d_weights (1,24,16,1) (5)
W: conv2d_conv2d_bias (1,1,1,24) (6)
O: conv2d_conv2d_output (1,3,3,24) (1)
-------------------------------------------------------------------------------------------------------------
1 dense_dense 3 dense 2604 10416 I: conv2d_conv2d_output0 (1,1,1,216) (1)
W: dense_dense_weights (216,1,1,12) (7)
W: dense_dense_bias (1,1,1,12) (8)
O: dense_dense_output (1,1,1,12) (2)
-------------------------------------------------------------------------------------------------------------
2 dense_1_dense 5 dense 52 208 I: dense_dense_output (1,1,1,12) (2)
W: dense_1_dense_weights (12,1,1,4) (9)
W: dense_1_dense_bias (1,1,1,4) (10)
O: dense_1_dense_output (1,1,1,4) (3)
-------------------------------------------------------------------------------------------------------------
3 dense_1 5 nl 60 0 I: dense_1_dense_output (1,1,1,4) (3)
O: dense_1_output (1,1,1,4) (4)
-------------------------------------------------------------------------------------------------------------
Complexity report per layer - macc=14,404 weights=12,256 act=1,728 ram_io=304
------------------------------------------------------------------------------
id name c_macc c_rom c_id
------------------------------------------------------------------------------
0 conv2d_conv2d |||||||||||||||| 81.1% ||| 13.3% [0]
3 dense_dense |||| 18.1% |||||||||||||||| 85.0% [1]
5 dense_1_dense | 0.4% | 1.7% [2]
5 dense_1 | 0.4% | 0.0% [3]
Quest 3: Quest 3 제출합니다.
2022.09.09
Quest 3 제출합니다.
1.Device Name : Mr_Frog
2.Activity Recognition
# 자작공작소님 영상 올리는 팁 주셔서 감사합니다.
Quest 4: Quest 4 수행합니다.
2022.09.18
Quest 4 수행합니다.
4가지 항목에 대해 로깅 기록해서 첨부 완료 하였습니다

프로젝트 갤러리
프로젝트 제작 과정과 최종 결과물을 담은 이미지 갤러리입니다.





.png)





프로젝트 자료실
프로젝트를 재현하거나 학습하는데 필요한 모든 자료를 제공합니다.
등록된 자료가 없습니다.
프로젝트 소개
아직 등록된 프로젝트 소개가 없습니다.
코드 & 회로도
등록된 코드/회로 자료가 없습니다.
댓글 0개
아직 댓글이 없습니다. 첫 댓글을 남겨보세요!

.jpg)