- Face transfer showed very limited success compared to the original paper. Please see our final report for a discussion of achievable results with this implementation.
- To generate the dataset of emoji images:
- Create a directory called
emoji_data
in the currentdatasets
directory - There are 2 emoji generation scripts:
create_emojis.py
is for creating small datasets (<1000 images) andcreate_emojis_parallel.py
for large datasets. - Run
python3 create_emojis.py
orpython3 create_emojis_parallel.py
to generate the dataset. Note you must use python3 to run these scripts because of the url request. - To change the number of emojis generated, change the
num_emojis
variable at the top of the generation script.
- Create a directory called
Based on this paper.
/datasets/
- all dataset download/creation/processing scripts/pretrained_model/
- all saved pretrained models for f blocks- Network for digit domain transfer:
digits_model.py
- Networks for face domain transfer:
- Training scripts:
base_test.py
- abstract training classclassifier_f_test.py
- f block training for digit transferdigit_model_test.py
- digit model transfer trainingdigit_model_test_septrain.py
- digit model transfer training with separated source and target trainingfaces_model_test_open.py
- face transfer training with OpenFacefaces_model_test_sphere.py
- face transfer training with SphereFace
- Training script drivers:
FaceMain.ipynb
- driver for training face transfer
data.py
- all data loaders and preprocessing code
- digit model architecture inspired by this implementation
- training strategies inspired by this implementation