Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hackathon 216]Update Clas example for Cortex-M55 #2

Closed
wants to merge 13 commits into from
Closed

[Hackathon 216]Update Clas example for Cortex-M55 #2

wants to merge 13 commits into from

Conversation

Zheng-Bicheng
Copy link
Contributor

@Zheng-Bicheng Zheng-Bicheng commented Mar 15, 2023

RFC

做出的修改

RFC中指定的模型为MobilenetV2和PPLCNet,其具有以下问题:

  • MobilenetV2模型比较老,比起MobilenetV3不具备优势
  • PPLCNet模型太大了,Ram吃不消

综上,我将模型修改为MobileNetV3_small_x0_35_ssld_infer

@Zheng-Bicheng
Copy link
Contributor Author

输入数据和Paddle已经对齐
image

输出结果类别一致,但置信度差距明显

image

@Zheng-Bicheng
Copy link
Contributor Author

Paddle推理后输出为 class id(s): [153], score(s): [0.49]

@Zheng-Bicheng
Copy link
Contributor Author

@Liliyaw @Boomerl

@Zheng-Bicheng Zheng-Bicheng changed the title Update Clas example for Cortex-M55 [Hackathon 215]Update Clas example for Cortex-M55 Mar 15, 2023
Copy link
Contributor

@Boomerl Boomerl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

readme文档需要修改

Classification-example/ResNet50_vd_FP32/README.md Outdated Show resolved Hide resolved
Classification-example/ResNet50_vd_FP32/README.md Outdated Show resolved Hide resolved
Classification-example/ResNet50_vd_FP32/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@Boomerl Boomerl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议再检查一遍

Classification-example/ResNet50_vd_FP32/README.md Outdated Show resolved Hide resolved
Classification-example/ResNet50_vd_FP32/README.md Outdated Show resolved Hide resolved
@Liliyaw
Copy link
Collaborator

Liliyaw commented Mar 16, 2023

所以其实你做的应该是216题吗? 215应该是上一个PR吧?

@Liliyaw
Copy link
Collaborator

Liliyaw commented Mar 16, 2023

输出结果中显示输出index为153, 能不能把index和具体类别对应的字典部分加进去。
目前结果不是特别具有可读性, index 153具体指向什么类别我们并不清楚还需要后续再去分析

@Zheng-Bicheng Zheng-Bicheng changed the title [Hackathon 215]Update Clas example for Cortex-M55 [Hackathon 216]Update Clas example for Cortex-M55 Mar 16, 2023
@Zheng-Bicheng
Copy link
Contributor Author

我试一下哈,不知道1000类的字典弄进去ram吃不吃得消😢

@Boomerl
Copy link
Contributor

Boomerl commented Mar 16, 2023

所以其实你做的应该是216题吗? 215应该是上一个PR吧?

是的,我做的216和217

@Zheng-Bicheng
Copy link
Contributor Author

Zheng-Bicheng commented Mar 16, 2023

根据要求做了对应的修改。由于label字典文件长度过长,MCU的静态存储区放不下。因此改为输出到uart0.txt文件,然后由conver_label.py来读取最后显示。

image

@Zheng-Bicheng Zheng-Bicheng deleted the clas branch March 17, 2023 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants