sefibk / KernelGAN

Other
337 stars 77 forks source link

The time consuming can not be tolerable #37

Open fuuuyuuu opened 4 years ago

fuuuyuuu commented 4 years ago

Hello~ I use the function imresize to generate LR image of 4K images, but it would cost at least 100 s for each image. I wonder if i made some mistake. Can you give some advice to me, thanks a lot !!!

sefibk commented 4 years ago

This function is not optimized for running fast and I don't remember it's performance for 4K images. Simplest way is to use Matlab's built-in Imresize. Should produce identical results but much faster than this Python implementation

fuuuyuuu commented 4 years ago

This function is not optimized for running fast and I don't remember it's performance for 4K images. Simplest way is to use Matlab's built-in Imresize. Should produce identical results but much faster than this Python implementation

ok, i'll try matlab. thank you very much