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

model.prediect() is too slow when runing demo.py #27

Open
Shame-fight opened this issue Apr 20, 2021 · 9 comments
Open

model.prediect() is too slow when runing demo.py #27

Shame-fight opened this issue Apr 20, 2021 · 9 comments

Comments

@Shame-fight
Copy link

It can be used 8 to 10 minutes just in this step(model.predict),I do not know the reason ,who can help me.
my environment is anaconda+tensorflow1.14+keras2.2.5+CUDN10+cuDNN7.4+windows10,no visual studio(is the reason?)
Hope to hear any reply.

@Usman-Ghani123
Copy link

Usman-Ghani123 commented Apr 20, 2021 via email

@Shame-fight
Copy link
Author

@Usman-Ghani123
just one image,and my windows has intel i7+rtx3090

@Usman-Ghani123
Copy link

Usman-Ghani123 commented Apr 20, 2021 via email

@Shame-fight
Copy link
Author

@Usman-Ghani123
yes ,but the probility is "nan".

@Usman-Ghani123
Copy link

Usman-Ghani123 commented Apr 20, 2021 via email

@Shame-fight
Copy link
Author

I guess there is some problem in probability which is causing your demo to be slow. Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10 From: @.> Sent: Tuesday, April 20, 2021 10:45 AM To: @.> Cc: Syed Muhmmad Usman @.>; @.> Subject: Re: [foamliu/Car-Recognition] model.prediect() is too slow when runing demo.py (#27) @Usman-Ghani123https://github.com/Usman-Ghani123 yes ,but the probility is "nan". — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<#27 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO2V5MXOICXYIR3GAMJNSG3TJUIIHANCNFSM43HHZEIA.

yes,what should I do can help solving this problem?

@Usman-Ghani123
Copy link

Usman-Ghani123 commented Apr 20, 2021 via email

@Shame-fight
Copy link
Author

Are you running the same code as in the GitHub file? Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10 From: @.> Sent: Tuesday, April 20, 2021 10:57 AM To: @.> Cc: Syed Muhmmad Usman @.>; @.> Subject: Re: [foamliu/Car-Recognition] model.prediect() is too slow when runing demo.py (#27) I guess there is some problem in probability which is causing your demo to be slow. Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10 From: @.> Sent: Tuesday, April 20, 2021 10:45 AM To: @.> Cc: Syed Muhmmad Usman @.>; @.> Subject: Re: [foamliu/Car-Recognition] model.prediect() is too slow when runing demo.py (#27<#27>) @Usman-Ghani123https://github.com/Usman-Ghani123https://github.com/Usman-Ghani123 yes ,but the probility is "nan". — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<#27 (comment)<#27 (comment)>>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO2V5MXOICXYIR3GAMJNSG3TJUIIHANCNFSM43HHZEIA. yes,what should I do can help solving this problem? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<#27 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO2V5MQT3GD2Q44POREUTVDTJUJTJANCNFSM43HHZEIA.

I only modified the code about loading images in demo.py, because I only need to test one image. At the same time, I did not download the data set. Sorry, I cannot provide the code for some reasons. I apologize for the inconvenience caused.
11

@Usman-Ghani123
Copy link

Usman-Ghani123 commented Apr 20, 2021 via email

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

2 participants