Giter Club home page Giter Club logo

elcj's Introduction

config introduction

name function need to be reset recording to your environment note
Random parameter setting
seed Random seed for dataset shuffle
distributed training setting
gpus How many GPU you use in distributed training
world_size The number of processes in distributed training
backend The platform used for process communication
init_method Ip and port of your server $\surd$
syncbn Switch for synchronized batch normalization
transform setting
face Type of face corping
size Size of corpped face
training parameter setting
debug Switch of debug mode
logint Interval of logging
modelperiod Interval of saving model
valint Interval of validation
batch The size of training batch size $\surd$
epochs The maximum epoch $\surd$
net_s Net architecture for student model
net_t Net architecture for teacher model
traindb Decide quality and training set segmentation ["ff-c23-720-140-140"] raw/c23/c40:chosen quality
720:training set size
140:validation set size
140: testing set size
trainIndex Choose temper type 0:Deepfake
1:Face2Face
2:Face Swap
3:Neural Texture
tagnote Note part for tag
dataset setting
ffpp_faces_df_path The path of dataset dataframe $\surd$
ffpp_faces_dir The path of dataset $\surd$
workers The process number for dataset loading
optimizer setting
lr Training learning rate $\surd$
patience Adam parameter
model loading setting
models_dir The path of models repository $\surd$
mode Model loading type $\surd$ 0:choose the best trained model
1: choose the last one
2:choose the one of specific iteration
index The model of a specific iteration
log setting
log_dir The path of logs repository $\surd$


Preprocess instruction

  • use index_dataset.py generating the dataframe of corresponding dataset
  • use extract_faces.py transform video into frames and corresponding dataframe


Running instruction

  • setting the config.py in folder config
  • train your teacher using train_starter.py
  • train your expanded model using train_starter.py
  • trained model for domain adaptation using train_starter.py

elcj's People

Contributors

redamancyay avatar

Watchers

 avatar

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.