Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

[WIP]Use TF hub supported models to do model testing#231

Open
mingshan-wang wants to merge 3 commits intomasterfrom
mingshan/more_models
Open

[WIP]Use TF hub supported models to do model testing#231
mingshan-wang wants to merge 3 commits intomasterfrom
mingshan/more_models

Conversation

@mingshan-wang
Copy link
Contributor

Tested all the TF hub image classification models, the output resultd' difference between Ngraph and CPU are less than 0.001.

Models that pass the test are: MobileNet_V2, Inception_v3, MobileNet_v1, Inception_ResNet_V2, ResNet_v2, Inception_V1, pnaset, and nasnet.

if __name__ == "__main__":
classification_model = ["mobilenetv2", "inceptionv3", "mobilenetv1","inception_resentv2","resnetv2","inceptionv1","pnasnet","nasnet"]
for model in classification_model:
compare(model, 100)
Copy link
Contributor

Choose a reason for hiding this comment

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

interesting, nasnet works. I found it to fail when I used a nascent from tf_cnn_benchmarks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants