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

why my net time of demo.py is different from test.py ? #993

Open
yujiongzhang opened this issue Jun 12, 2022 · 0 comments
Open

why my net time of demo.py is different from test.py ? #993

yujiongzhang opened this issue Jun 12, 2022 · 0 comments

Comments

@yujiongzhang
Copy link

yujiongzhang commented Jun 12, 2022

I run dla_34 ctdet model on t4 and the inference time when I run test.py.

default |############################### | [1054/1056]|Tot: 0:02:09 |ETA: 0:00:01 |tot 0.122 |load 0.068 |pre 0.014 |net 0.038 |dec 0.001 |post 0.001 |merge 0.000
default |################################| [1055/1056]|Tot: 0:02:10 |ETA: 0:00:01 |tot 0.122 |load 0.068 |pre 0.014 |net 0.038 |dec 0.001 |post 0.001 |merge 0.000 

but the net time is different from that in demo.py .

tot 0.153s |load 0.080s |pre 0.018s |net 0.053s |dec 0.001s |post 0.001s |merge 0.000s |
tot 0.152s |load 0.080s |pre 0.018s |net 0.053s |dec 0.001s |post 0.001s |merge 0.000s |

Do you know the reason why thenetin test.py is 0.038, but in demo.py is 0.053?

If I want to test the fps of my model, should i use test.py or demo.py?

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

1 participant