TachibanaYoshino / AnimeGAN

A Tensorflow implementation of AnimeGAN for fast photo animation ! This is the Open source of the paper 「AnimeGAN: a novel lightweight GAN for photo animation」, which uses the GAN framwork to transform real-world photos into anime images.
4.47k stars 659 forks source link

val group test_real_A ram very high #32

Closed tankfly2014 closed 4 years ago

tankfly2014 commented 4 years ago

I try move to iphone. I test it. ram very high.The system crashed.
I just used the verification part, but looking at the structure it seems to call the original training program. This may be the reason for his large memory requirements?

I tried trimming the model to make it smaller, but I failed. Do you have a plan to reduce memory(low)? example: self.test_generated = self.generator(self.test_real, reuse=False) Of course I failed, the system reported an error

In addition, I have run other gan projects, the memory requirements are not so large, why is this project so high memory requirements? Even outside of training, test part of application part

TachibanaYoshino commented 4 years ago

Only the weight of the generator is extracted. I don't know how you are doing it, maybe I can't provide more advice.