yuanyuanli85 / FashionAI_KeyPoint_Detection_Challenge_Keras

Code for TianChi 2018 FashionAI Cloth KeyPoint Detection Challenge
MIT License
175 stars 55 forks source link

the speed of the demo #1

Closed yizi22 closed 6 years ago

yizi22 commented 6 years ago

hello, your project works really very well, but it takes 1 second to predict one image on GPU of 12G memory, I want to ask is it normal? thank you.

yuanyuanli85 commented 6 years ago

For computation, it is normal. The computation comes from several places.

For memory consumption, don't need 12G that much. It is tensorflow's behavior to occupy all the memory.

yizi22 commented 6 years ago

@yuanyuanli85 thank you for your reply. I set the predict batch_size to be 32 and it works much faster.