Coder Social home page Coder Social logo

Comments (7)

shaoanlu avatar shaoanlu commented on July 3, 2024

You can

  1. Reduce batch size.
  2. Reduce the dense layer dimension from 1024 to 512.
  3. Remove residual blocks in the decoder.

from faceswap-gan.

chikiuso avatar chikiuso commented on July 3, 2024

Hi Shaoanlu,
About (1), is it batchSize=8?
About (2), is it x = Dense(1024)(Flatten()(x)) and x = Dense(4 * 4 * 1024)(x)?

Thanks!

from faceswap-gan.

shaoanlu avatar shaoanlu commented on July 3, 2024

Yes. Also, you can decrease the number of filters in Conv2D() by factor of 2. i.e., 512 to 256, 256 to 128 and so on.

from faceswap-gan.

chikiuso avatar chikiuso commented on July 3, 2024

Thanks for your help Shaoanlu, but I am not lucky enough as it consume 5.9G ram out of 6G once I started the training.

from faceswap-gan.

chikiuso avatar chikiuso commented on July 3, 2024

May I ask how many Gb of graphic card ram do you have? thanks.

from faceswap-gan.

shaoanlu avatar shaoanlu commented on July 3, 2024

I used Tesla K80 for training, which provides 12GB vRAM.

from faceswap-gan.

chilian1996 avatar chilian1996 commented on July 3, 2024

You can

  1. Reduce batch size.
  2. Reduce the dense layer dimension from 1024 to 512.
  3. Remove residual blocks in the decoder.

Sorry, I'm just a new user of faceswap. How do we adjust the dense layer dimension? Can we do it in the GUI Interface? Thanks!

from faceswap-gan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.