mimictalk / deep_3drecon /generate_reconstructor_opt_for_geneface.py
mrbear1024's picture
init project
8eb4303
raw
history blame contribute delete
348 Bytes
from options.test_options import TestOptions
import pickle as pkl
# run in the <geneface> root dir!
opt = TestOptions().parse() # get test options
opt.name='facerecon'
opt.epoch=20
opt.bfm_folder='deep_3drecon/BFM/'
opt.checkpoints_dir='deep_3drecon/checkpoints/'
with open("deep_3drecon/reconstructor_opt.pkl", 'wb') as f:
pkl.dump(opt, f)