Paper:http://arxiv.org/abs/2304.06700
See ./eg3d/train_control3diff.py for details.
See ./eg3d/train_control3diff_clip.py for details.
EG3D: https://github.com/NVlabs/eg3d for its 3D GAN and checkpoints.
In progress.
cd eg3d
conda env create -f environment.yml
conda activate eg3d
pip install git+https://github.com/huggingface/diffusers@main # Essential for using lora
Install all other dependencies if required.
wget --content-disposition https://api.ngc.nvidia.com/v2/models/nvidia/research/eg3d/versions/1/zip -O eg3d_1.zip
Unzip it and place anywhere you like. Use ffhqrebalanced512-128.pkl as the network_pkl.
See ./eg3d/train_image_variation_finetune.py for details.
accelerate launch --mixed_precision=fp16 train_image_variation_finetune.py --train_batch_size=8 --log_step_interval=2500 --checkpointing_steps=5000 --resume_from_checkpoint=latest --output=image_variation_finetune --wandb_offline --prediction_type=epsilon --network_pkl=PATH_TO_EG3D_CHECKPOINT