Error in Codegen process when deploying ResNet50 to Raspberry 4B
2 次查看(过去 30 天)
显示 更早的评论
In Matlab R2022b, I tried to deploy ResNet50 to my Raspberry 4B according to the tutorial below.
Everything goes well until I runned the deploy function. Some errors occured. The process info is listed below.
r=raspi;
board = targetHardware('Raspberry Pi');
board.CoderConfig.TargetLang = 'C++';
dlcfg = coder.DeepLearningConfig('arm-compute');
dlcfg.ArmArchitecture = 'armv7';
r.system('strings $ARM_COMPUTELIB/lib/libarm_compute.so | grep arm_compute_versio | cut -d\ -f 1')
ans = 'arm_compute_version=v20.02.1 '
dlcfg.ArmComputeVersion = '20.02.1';
board.CoderConfig.DeepLearningConfig = dlcfg
board =
targetHardware with properties:
Name: 'Raspberry Pi'
DeviceAddress: '169.254.215.121'
Username: 'pi'
Password: '*********'
BuildDir: '/home/pi'
EnableRunOnBoot: 0
BuildAction: 'Build, load, and run'
CoderConfig: [1×1 coder.CodeConfig]
deploy(board,'raspi_webcam_resnet') % something wrong here, and the report is listed below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1173898/image.png)
Sincerely hope that someone can help.
Thank you very much.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!