Deep-Image-Analogy icon indicating copy to clipboard operation
Deep-Image-Analogy copied to clipboard

Cpu

Open CJHFUTURE opened this issue 7 years ago • 5 comments

Is it possibly o run in CPU model only?

CJHFUTURE avatar May 26 '17 04:05 CJHFUTURE

Unfortunately our project does not support for CPU, but it's possible to rewrite it for CPU use.

rozentill avatar May 26 '17 07:05 rozentill

Ah, are there any plans to implement CPU? How much slower would it be to process?

CJHFUTURE avatar May 28 '17 05:05 CJHFUTURE

We implemented a CPU version very early, but it was 8x slower than GPU version.

rozentill avatar May 30 '17 04:05 rozentill

It might be good to have a CPU version for testing purposes, 8x slower is fine.

pauldelmusica avatar Jun 10 '17 04:06 pauldelmusica

@rozentill @Sugarbank I had encountered the same problem in another project (A tensorflow gpu repo), by changing the 'CUDAtensor' to 'FloatTensor' do the trick for me, although the vgg model still need to be loaded into gpu, and therefore you still need a gpu working at least, I can use cpu to enlarge the scale(pic resolution) by system memory, It's much slower, but working

I just found this fascinating repo, guess I could try something magical at February but maybe cpu MAJOR, not cpu ONLY

lxj616 avatar Jan 06 '18 06:01 lxj616