Semantic 3D-aware portrait synthesis and manipulation using CNeRF
Semantic Manipulation
Generated input
Eyes
Background
Hair
Problem Statement and Motivation
Problem Statement:
Problem Statement and Motivation
"Semantic 3D-aware Portrait Synthesis and Manipulation Based on Compositional Neural Radiance Field (CNeRF)" by Tianxiang Ma, Bingchuan Li, Qian He, Jing Dong, Tieniu Tan
Link: https://arxiv.org/pdf/2302.01579v1.pdf
Implementation
Stage 1: Mapping Network
Stage 1: Local Generator
Stage 1: Fusion & Volume Aggregation
Stage 1: Global and Semantic Discriminators
Stage 1: Global and Semantic Discriminators
Experiments#1
Issues with training:
Note: The training is done for nearly 5000 iterations on a training set of 100 images. In this setup I did few experiments by around with weights of some r1 regularization loss. But it didn't affect that much.
Experiments#1 - Losses
This is the plot of global discriminator loss, local discriminator loss and generator loss. Note: Here we are using the total suggested in the paper.
Experiments#1 - Losses
This is the plot global discriminator's gan loss on fake images, global discriminator's gan loss on real images and generators gan loss (for overall image generation)
Experiments#1 – Intermediate results
After 1000 iterations
After 1500 iterations
After 2500 iterations
After 3500 iterations
After 4500 iterations
Image
Seg maps
Experiments#2 – Modified the Original Repo
5. Batch size 4 data samples
Experiments#2 – Results
Iteration 0
Iteration 10000
Experiments#2 – Results
Iteration 60000
Iteration 90000
Results - diversity
Results – view consistency
Results – semantic maps
Results – semantic manipulation
W_new = W_old + lambda * Direction
Results – semantic manipulation
Results – semantic manipulation