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

[NNAdapter] Add 35 unit tests for model validation from PaddleClas, PaddleDetection, PaddleSeg, PaddleOCR etc. #8401

Merged
merged 11 commits into from
Feb 28, 2022

Conversation

shentanyue
Copy link
Collaborator

@shentanyue shentanyue commented Feb 8, 2022

PaddleClas

DarkNet53
DeiT_base_patch16_224
DPN68
GhostNet_x1_0
HRNet_W18_C
PPLCNet_x0_25
Res2Net50_26w_4s
SE_ResNet50_vd
ViT_base_patch16_224

PaddleDetection

picodet_m_416_coco
ppyolo_mbv3_large_coco
ppyolo_r50vd_dcn_1x_coco
ppyolo_tiny_650e_coco
ppyolov2_r50vd_dcn_365e_coco
ssdlite_mobilenet_v3_large
ssdlite_mobilenet_v3_small
tinypose_128x96

PaddleSeg

bisenet
deeplabv3p_resnet50_os8_humanseg_512x512_100k_with_softmax
pphumanseg_lite_generic_192x192_with_softmax
segformer
stdcseg
u-net
deeplabv3p_resnet50_os8_cityscape

PaddleOCR

e2e
rec_crnn_mv3_ctc
ch_ppocr_server_v2.0_rec_infer
ch_ppocr_server_v2.0_det_infer
ch_PP-OCRv2_rec_infer
ch_PP-OCRv2_det_infer

PaddleRec

deepfm
naml
ncf
wide_deep

PaddleVideo

ppTSN

@paddle-bot-old
Copy link

paddle-bot-old bot commented Feb 8, 2022

Thanks for your contribution!

@shentanyue shentanyue changed the title [NNAdapter] Add nine PaddleClas models to CI [NNAdapter] Add 35 PaddleModels to CI Feb 21, 2022
@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators Feb 21, 2022
@PaddlePaddle PaddlePaddle unlocked this conversation Feb 21, 2022
CHECK_EQ(static_cast<size_t>(file_size),
static_cast<size_t>(image_size) * sizeof(T) / sizeof(char));
fin.read(reinterpret_cast<char*>(data), file_size);
fin.read(reinterpret_cast<char*>(data), image_size * sizeof(T));
Copy link
Collaborator

Choose a reason for hiding this comment

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

为什么把这个check去掉?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

因为新加的检测模型的输入有各种shape大小,现在数据集的raw数据就608x608。后续准备改写成直接读取图片,每个模型单测用例自行做resize和预处理。
而当前检测模型主要是跑通,精度暂时不验证。所以就按上述原因去掉了check。

Copy link
Collaborator

@hong19860320 hong19860320 left a comment

Choose a reason for hiding this comment

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

LGTM

@hong19860320 hong19860320 changed the title [NNAdapter] Add 35 PaddleModels to CI [NNAdapter] Add 35 unit tests for model validation including PaddleClas, PaddleDetection, PaddleSeg, PaddleOCR etc. Feb 28, 2022
@hong19860320 hong19860320 changed the title [NNAdapter] Add 35 unit tests for model validation including PaddleClas, PaddleDetection, PaddleSeg, PaddleOCR etc. [NNAdapter] Add 35 unit tests for model validation from PaddleClas, PaddleDetection, PaddleSeg, PaddleOCR etc. Feb 28, 2022
@hong19860320 hong19860320 merged commit 82c5438 into PaddlePaddle:develop Feb 28, 2022
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.

2 participants