Skip to content

pauldubois98/Transfer-Learning_Competition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transfer-Learning_Competition

Code for the Transfer-Learning competition.

Re-Labelling

We explore metrics in the re-labelling folder. We then relabel the FFHQ dataset (in the data subfolder). We finally perform a metrics analysis.

Here are statistics on the first 1000 images of the FFHQ dataset:

nose area analysis nose width analysis lips area analysis eyes ration analysis

Transformations

Continous Transformations

We calculate continuous deformations of the images to make the desired transformations:

  • first, for each keypoint, we define the desired translation
  • then, we interpolate between the keypoints
  • finally, we smooth out the translation map

(Inverting this map gives the opposite transformation)

continuous deformation explanation

For the nose, we have 4 possible transformations:

nose transformations


We use a similar technique to make large and small lips:

lips transformations

we found that when the mouth is open, this usually do not work that well.


And again to make round or narrow eyes: eyes transformations

Skin tone transforms

To change the skin tone, we create a mask of the skin (using RGB conditions):

skin mask

note that we used RGB conditions, but HVS conditions might work better...

using this mask, we get what skin tone is the person; we then apply the correspondong transform in the HVS colorspace:

skin tones changes

note that we only transform the V and S values, this gives better results, and can be interpreted as "the H value is a chracteristic of the person, while the V&S values correspond to their skin tone"

Bag under eyes

To create bags under eyes, we just darken the region under the eyes:

bag under eyes transformations

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages