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

What is the inference speed? #2

Open
qijiezhao opened this issue Sep 21, 2018 · 2 comments
Open

What is the inference speed? #2

qijiezhao opened this issue Sep 21, 2018 · 2 comments

Comments

@qijiezhao
Copy link

qijiezhao commented Sep 21, 2018

Hi, I ran a script to test the inference speed:

net=shufflenetv2().cuda()
data=torch.autograd.Variable(torch.ones(8,3,224,224))
t1=time.time()
for i in range(100):
    _=net(data)
t2=time.time()
print((t2-t1)/float(100))

It gets ~4.4ms, slower than ~3ms, which is proposed in the original paper.
So, how is the difference?

@lxtGH
Copy link

lxtGH commented Mar 18, 2019

I got the same problem, have you solved this problem

@HITerStudy
Copy link

I got the same problem, have you solved this problem

Hello, why my test result was 20ms? Please give me some helps!Thanks.

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

No branches or pull requests

3 participants