Facelet_Bank icon indicating copy to clipboard operation
Facelet_Bank copied to clipboard

slow test speed

Open shenshenzhanzhan opened this issue 6 years ago • 4 comments

Is it normal to test slowly? I have used GPUs,A picture feels like it takes five minutes。

shenshenzhanzhan avatar Jun 10 '18 11:06 shenshenzhanzhan

No, it is not normal. Usually with a GPU it should take less than 1 second. Is the tested photo very large?

yingcong avatar Jun 11 '18 02:06 yingcong

I just use your test photo, it needs serveral minutes to load encoder and decoder weights . The tested photo also needs serveral minutes.

shenshenzhanzhan avatar Jun 11 '18 02:06 shenshenzhanzhan

Seems strange... I wonder if the file I/O is slow? Loading weights is also usually fast except for the first run.

yingcong avatar Jun 11 '18 02:06 yingcong

Maybe, but when i uses the cpu(about 10s), it seems more quickly than gpu version. The GPU vesion spends a lot time after printing "loading pretrained weights of VGG decoder", so why?

shenshenzhanzhan avatar Jun 11 '18 04:06 shenshenzhanzhan