Skip to content

kor01/IDEAL-NeRF

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IDEAL-NeRF

Environment

  • Create an environment by

    • conda env create -f environment.yml
      conda activate pytorch3d
      
  • Face Tracker Set Up

Data Process

Raw Data From: https://1drv.ms/u/s!ArdWM1-cwOGGjC62-OQwRD9Kuj1b?e=SdlpjF

python data_util/process_data.py --id=May

Run Command

Config

# 保存模型参数的位置
basedir=dataset/May/logs 
expname=deepspeech
# 数据源
datadir=dataset/May
gt_dirs=ori_imgs
aud_file=aud_may.npy
# tensorboard 可视化文件夹
vis_path=dataset/May/running/deepspeech
# 实验参数
N_sample=64
N_importance=128
num_work=1
batch_size=1
lrate=3e-4
N_iters=60
# Copy near and far from dataset/${id}/HeadNeRF_config.txt
near=0.5772005200386048
far=1.1772005200386046
testskip=104
N_rand=3072
lc_weight=0.005
mouth_rays=512
torso_rays=0
dim_expr=76
dim_aud=64

Train

CUDA_VISIBLE_DEVICES=7 nohup python -u NeRFs/HeadNeRF/train/audio_exp_nerf.py --config NeRFs/HeadNeRF/configs/audio_expr_nerf/may/ablation/deepspeech_audio > output/deepspeech.out &

Eval

The hyperparameters can also be written in a config file.

CUDA_VISIBLE_DEVICES=0 nohup python -u NeRFs/HeadNeRF/test/eval_aud_exp_nerf.py --basedir=dataset/Obama/logs --datadir=dataset/Obama --expname=blend_highlight_torso --evalExpr_path=dataset/May/transforms_exp_train.json --save_path=output/cross_subject_blend/Obama0_May_Expr --aud_file=dataset/audio/aud_may.npy --num_work=1 --batch_size=1 --testskip=1 --near=0.5674083709716797 --far=1.1674083709716796 > output/render_V_Obama0_A_May.out &

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.4%
  • Shell 0.6%