Open StrangeTcy opened 8 years ago
Try adding -print_iter 1
to make it print progress every iteration; it might just be very slow.
Also it's possible that you have filled up your RAM and are swapping to disk, which could be extremely slow; you should be able check that in your system monitor.
Ok, this is not an issue with neuralstyle
per se, it's an issue with Ubuntu and how it handles "normal" swaps versus encrypted swaps.
By my current estimation, each iteration takes about 15 seconds. Thanks for suggesting the -print_iter
.
Wow that's very slow - usually you start getting decent results only after a few hundred iterations.
To reduce memory usage you could try using the ADAM optimizer instead of LBFGS, but then you'll have to play a bit with the learning rate.
I'm getting decent results already, I just wish to go through all iterations. As for speed and memory usage, I'm saving up for some g2xlarge time :-)
On Ubuntu 14.04 x64 with 4 GB of RAM and a 16 GB swap I try running
I don't have a videocard, except a built-in Intel® G41, and the CPU is Pentium Dual-Core CPU E5700 @ 3.00GHz.
It gets as far as loading layer 2 out of 30, and then the whole system freezes. It should probably be noted that the same works for
-image_size 256
, although it takes several hours to calculate and doesn't look too impressive (that is, nice, but too small to see the details).