-
Notifications
You must be signed in to change notification settings - Fork 135
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
Comments
How many images are you using in demo?
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: ***@***.***>
Sent: Tuesday, April 20, 2021 8:03 AM
To: ***@***.***>
Cc: ***@***.***>
Subject: [foamliu/Car-Recognition] model.prediect() is too slow when runing demo.py (#27)
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#27>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AO2V5MUNC6MP5XHSRRTFTOTTJTVG3ANCNFSM43HHZEIA>.
|
@Usman-Ghani123 |
Is it giving correct result?
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: ***@***.***>
Sent: Tuesday, April 20, 2021 10:21 AM
To: ***@***.***>
Cc: Syed Muhmmad Usman ***@***.***>; ***@***.***>
Subject: Re: [foamliu/Car-Recognition] model.prediect() is too slow when runing demo.py (#27)
@Usman-Ghani123<https://github.com/Usman-Ghani123>
just one image,and my windows has intel i7+rtx3090
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#27 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AO2V5MQHCWZUZNEVYCYE6PTTJUFN7ANCNFSM43HHZEIA>.
|
@Usman-Ghani123 |
I guess there is some problem in probability which is causing your demo to be slow.
Sent from Mail<https://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-Ghani123<https://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 unsubscribe<https://github.com/notifications/unsubscribe-auth/AO2V5MXOICXYIR3GAMJNSG3TJUIIHANCNFSM43HHZEIA>.
|
yes,what should I do can help solving this problem? |
Are you running the same code as in the GitHub file?
Sent from Mail<https://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-Ghani123<https://github.com/Usman-Ghani123>https://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 unsubscribe<https://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. |
Print the array of pred and print the class_id and print prob as well
It will give a clear idea that are we getting any value or not
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: ***@***.***>
Sent: Tuesday, April 20, 2021 11:20 AM
To: ***@***.***>
Cc: Syed Muhmmad Usman ***@***.***>; ***@***.***>
Subject: Re: [foamliu/Car-Recognition] model.prediect() is too slow when runing demo.py (#27)
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<#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><#27<https://github.com/foamliu/Car-Recognition/issues/27>>) @Usman-Ghani123<https://github.com/Usman-Ghani123>https://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<#27> (comment)<#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)<#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]<https://user-images.githubusercontent.com/30313218/115346859-4d368980-a1e3-11eb-945b-0f75f8695774.jpg>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#27 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AO2V5MTC4IXSCX3CENH55GTTJUMLVANCNFSM43HHZEIA>.
|
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.
The text was updated successfully, but these errors were encountered: