Comments (7)
You can
- Reduce batch size.
- Reduce the dense layer dimension from 1024 to 512.
- Remove residual blocks in the decoder.
from faceswap-gan.
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.
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.
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.
May I ask how many Gb of graphic card ram do you have? thanks.
from faceswap-gan.
I used Tesla K80 for training, which provides 12GB vRAM.
from faceswap-gan.
You can
- Reduce batch size.
- Reduce the dense layer dimension from 1024 to 512.
- 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)
- How to use the SPADE_res_block module?
- HELP --- creation of the video
- Running on GPU HOT 1
- error while Building new loss funcitons... HOT 1
- maybe tensorflow version is wrong HOT 1
- Edge loss
- Image size broadcast issue
- I find code error in MTCNN_video_face_detection_alignment.ipynb HOT 1
- which file is the main program
- module 'keras.backend' has no attribute 'get_session' HOT 3
- CITATION HOT 1
- faceswap_gan_model.py - training_updates HOT 7
- Pretrained Model
- 'FaceswapGANModel' object has no attribute 'netDA_train' HOT 1
- AsserstionError
- AttributeError: 'str' object has no attribute 'decode' HOT 3
- Asian-celeb dataset download link
- Exception: URL fetch failure on https://github.com/rcmalli/keras-vggface/releases/download/v2.0/rcmalli_vggface_tf_notop_resnet50.h5 : None -- retrieval incomplete: got only 43057152 out of 94694792 bytes
- Invalid Notebook HOT 1
- Request for Weight Files in faceswap-GAN Project HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faceswap-gan.